GotoFrame2
[] → []

Adobe documentation

ActionGotoFrame2

ActionGotoFrame2 goes to a frame and is stack based.

Field Type Comment
ActionGotoFrame2 ACTIONRECORDHEADER ActionCode = 0x9F
Reserved UB[6] Always 0
SceneBiasFlag UB[1] Scene bias flag
Play flag UB[1] 0 = Go to frame and stop
1 = Go to frame and play
SceneBias If SceneBiasFlag = 1, UI16 Number to be added to frame determined by stack argument

ActionGotoFrame2 does the following:

  1. Pops a frame off the stack.
    • If the frame is a number, n, the next frame of the movie to be displayed is the nth frame in the current movie clip.
    • If the frame is a string, frame is treated as a frame label. If the specified label exists in the current movie clip, the labeled frame will become the current frame. Otherwise, the action is ignored.
  2. Either a frame or a number can be prefixed by a target path, for example, /MovieClip:3 or /MovieClip:FrameLabel.
  3. If the Play flag is set, the action goes to the specified frame and begins playing the enclosing movie clip. Otherwise, the action goes to the specified frame and stops.