1 // gotoAndPlay() testcase
2 // Source file provided for reference
4 // This code is in frame #2 of a 2-frame file!
8 var temp
= _currentframe
;
10 check_equals
(temp
, 2);
11 check_equals
(counter
, 1);
13 // this would emit a function call
14 //this.gotoAndPlay(temp);
16 // this would emit a GOTOFRAME tag
19 // this emits a GOTOFRAME2 (GOTOEXPRESSION) tag
20 // (only if Ming version is 00040004 or higher)
23 check_equals
(_currentframe
, temp
);
24 check_equals
(counter
, 1); // gotoFrame(_currentframe) is a no-op