Value::GotoAndStop

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

GotoAndStop request the MovieClip referenced by the Value to go to and stop at a specific frame either by frame name or frame number. The playhead will stop at that frame.

Parameters
Parameters 
Description 
const char* frame 
The frame name or the number (1-based) to go to. 
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.