tests: Add test for avm2 self-goto execution order

This commit is contained in:
Mike Welsh 2021-10-10 14:52:50 -07:00
parent 0786350a6f
commit f008fc4474
4 changed files with 17 additions and 0 deletions

View File

@ -509,6 +509,7 @@ swf_tests! {
(stage_property_representation, "avm1/stage_property_representation", 1),
(as3_timeline_scripts, "avm2/timeline_scripts", 3),
(as3_movieclip_properties, "avm2/movieclip_properties", 4),
(as3_movieclip_goto_during_frame_script, "avm2/movieclip_goto_during_frame_script", 1),
(as3_movieclip_gotoandplay, "avm2/movieclip_gotoandplay", 5),
(as3_movieclip_gotoandstop, "avm2/movieclip_gotoandstop", 5),
(as3_movieclip_stop, "avm2/movieclip_stop", 5),

View File

@ -0,0 +1,16 @@
root frame 1
gotoAndStop(2)
clip: null
currentFrame: 1
gotoAndStop(3)
clip: null
currentFrame: 1
root frame 3
child frame 1
parent.currentFrame: 3
parent.gotoAndStop(2)
root frame 2
parent.currentFrame: 2
parent.clip: [object Symbol2_1]