tests: Add tests for button hittests, update hitTestPoint with onStage tests
This commit is contained in:
parent
80cf98f501
commit
acfb149316
|
@ -208,6 +208,7 @@ swf_tests! {
|
|||
(as3_boolean_constr, "avm2/boolean_constr", 1),
|
||||
(as3_boolean_negation, "avm2/boolean_negation", 1),
|
||||
(as3_boolean_tostring, "avm2/boolean_tostring", 1),
|
||||
(as3_button_hittest, "avm2/button_hittest", 1),
|
||||
(as3_bytearray_readobject_amf0, "avm2/bytearray_readobject_amf0", 1),
|
||||
(as3_bytearray_readobject_amf3, "avm2/bytearray_readobject_amf3", 1),
|
||||
(as3_bytearray_writeobject, "avm2/bytearray_writeobject", 1),
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
// MP.hitTestObject(Btn1)
|
||||
true
|
Binary file not shown.
Binary file not shown.
|
@ -43,3 +43,7 @@ false
|
|||
false
|
||||
//this.symbol1_1.hitTestPoint(50.0, 50.0, true);
|
||||
false
|
||||
//this.symbol1.hitTestPoint(50.0, 50.0, true); (after removing from stage)
|
||||
false
|
||||
//this.symbol1.hitTestPoint(50.0, 50.0, false); (after removing from stage)
|
||||
true
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue