Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GotoAndPlayFrameName
Syntax
C++
int GotoAndPlayFrameName(IFunctionHandler * pH, const char * elementName, int instanceID, const char * mcName, const char * frameName);
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. 
const char * frameName 
frame name. 

Syntax: UIAction.GotoAndPlayFrameName( elementName, instanceID, mcName, frameName ) 

Call GotoAndPlay on a MovieClip by frame name. 

 

Copyright (c) 2012. All rights reserved.