My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

MCTE V3 (MovieClip Transition Effect V3)

(views: 36174)

A transition effect component with lots lots of flash animation effects already included and lots of patterns sold separately. Here are all known common issues for MCTE V3, the custom patterns are treated here too. If you have any questions that you think we should discuss here please let us know. Write to support.



how to instantiate the MCTE component through Actionscript

(2007-07-05 - views: 12675)
Q: I recently purchased the MCTE component. It works great, I just can't figure out how to instantiate the component through Actionscript, i.e. WITHOUT having to drag it on stage (it is of course, already in my Library).
A: You can instantiate the MCTE from ActionScript, dynamically or statically using the following syntax:
var myMCTEInstance = new MCTE(targetInstance, [autoPlay:Boolean, transitionType:String, [patternName:String, preset:String, gain:Number, tweenType:String, easeType:String, tweenDuration:Number, customParam1:String, customParam2:String, customParam3:String, customParam4:String, customParam5:String] ])

eg.
new MCTE(myMovieInstance);

or

var myMcte = new MCTE(myMovieInstance, true, "show", "Stripes", 6, 16, "Strong", "easeInOut", 25);


Note. You can code on a MCTE instance even after you drag&drop it manually over the MovieClip. The MCTE should perform very intuitively, you should try to use it as you feel it to, and if you have questions don’t hesitate to contact our support team.



Back