### goToFrame

Syntax: | `goToFrame(sprite` `whichFlashSprite, frameNumber``)`
Type: | Command
Description: | This command plays a Flash movie sprite beginning at the frame identified by the `frameNumber` parameter. Using the `goToFrame` command has the same effect as setting a Flash movie sprite's `frame` property.
Example: | This handler branches to different points within a Flash movie in channel 5. It accepts a parameter that indicates which frame to go to.

    on Navigate whereTo
    	goToFrame(sprite 5, whereTo)
    end

Previous | Next