tests: Add tests for `gotoAndStop` and rename the `gotoAndPlay` one

This commit is contained in:
David Wendt 2020-09-21 21:26:13 -04:00 committed by Mike Welsh
parent 1f29497b8c
commit 035c841eb5
9 changed files with 11 additions and 1 deletions

View File

@ -387,7 +387,8 @@ swf_tests! {
(stage_property_representation, "avm1/stage_property_representation", 1), (stage_property_representation, "avm1/stage_property_representation", 1),
(as3_timeline_scripts, "avm2/timeline_scripts", 3), (as3_timeline_scripts, "avm2/timeline_scripts", 3),
(as3_movieclip_properties, "avm2/movieclip_properties", 4), (as3_movieclip_properties, "avm2/movieclip_properties", 4),
(as3_movieclip_goto, "avm2/movieclip_goto", 5), (as3_movieclip_gotoandplay, "avm2/movieclip_gotoandplay", 5),
(as3_movieclip_gotoandstop, "avm2/movieclip_gotoandstop", 5),
(as3_movieclip_stop, "avm2/movieclip_stop", 5), (as3_movieclip_stop, "avm2/movieclip_stop", 5),
(as3_movieclip_prev_frame, "avm2/movieclip_prev_frame", 5), (as3_movieclip_prev_frame, "avm2/movieclip_prev_frame", 5),
(as3_movieclip_next_frame, "avm2/movieclip_next_frame", 5), (as3_movieclip_next_frame, "avm2/movieclip_next_frame", 5),

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
//Scene 1, Frame 1
//gotoAndStop(4, "Scene 1");
//Scene 1, Frame 4
//gotoAndStop(6);
//Scene 2, Frame 1
//gotoAndStop("frame3");
//Scene 2, Frame 3
//gotoAndStop("frame2", "Scene 3");
//Scene 3, Frame 2

Binary file not shown.

Binary file not shown.