Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GotoAndPlay
Syntax
C++
int GotoAndPlay(IFunctionHandler * pH, const char * elementName, int instanceID, const char * mcName, int frameNum);
Parameters 
Description 
const char * elementName 
UI Element name as defined in the xml. 
int instanceID 
ID of the instance (if instance with id does not exist, it will be created). '-1' for all instances 
const char * mcName 
MovieClip name as defined in the xml. 
int frameNum 
frame number. 

Syntax: UIAction.GotoAndPlay( elementName, instanceID, mcName, frameNum ) 

Call GotoAndPlay on a MovieClip. 

 

Copyright (c) 2012. All rights reserved.