MCTE V3 Methods
Overview | Properties | Methods | Events | Built in Patterns | XML | Data Model Diagram
You can instantiate the MCTE from ActionScript, dynamically or statically using the following syntax:
Method | Description |
hide | Performs a hide transition based on the setup that the MCTE already has. Usage: mcteInstance.hide(); |
removeEffect | It instantly removes the effect and the MCTE from a specific target. Usage: mcteInstance.removeEffect(); |
show | Performs a show transition based on the setup that the MCTE already has. Usage: mcteInstance.show(); |
transitionEffect | The method used to perform the transition effect, this is only for advanced use, you don’t need to use this method in order to perfom transitions on a frame animation basis. All parameters are optional, however, the transitionType (the first parameter) should be entered. Sytax: mcteInstance.transitionEffect([transitionType:String, [patternName:String, preset:NotSet, gain:Number, tweenType:String, easeType:String, tweenDuration:Number, customParam1:String, customParam2:String, customParam3:String, customParam4:String, customParam5:String] ] ); Usage: mcteInstance.transitionEffect("show"); |
transitionFrom | Performs a state-to-state transition on a single MovieClip (from second state to first) or a mc-to-mc transition on two MovieClips (from second clip to first) based on the setup that the MCTE already has. Usage: mcteInstance.transitionFrom(); |
transitionTo | Performs a state-to-state transition on a single MovieClip (from first state to second) or a mc-to-mc transition on two MovieClips (from first clip to second) based on the setup that the MCTE already has. Usage: mcteInstance.transitionTo(); |
Overview | Properties | Methods | Events | Built in Patterns | XML | Data Model Diagram