Value::GotoAndPlay

Value::GotoAndPlay
SF_INLINE bool GotoAndPlay(const char* frame);
SF_INLINE bool GotoAndPlay(unsigned frame);
Description

GotoAndPlay request the MovieClip referenced by the Value to go to and play a specific frame either by frame name or frame number. The playhead will continue playing from that frame.

Parameters
Parameters 
Description 
const char* frame 
The frame name or number (1-based) to play. 
Return Value

Returns true if the call succeeded, otherwise false. If false is returned, then the display object may not exist on the stage, or is not a MovieClip display object.