Knowledge Base |
MCTE V3 (MovieClip Transition Effect V3)
(views: 26779)
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.
Apply the MCTE by pressing a button
(2007-07-26 - views: 5617)
Q: How can I apply MCTE on a movieclip when I press a button.
A: Attached is an example file which will help you figuring out how to trigger the MCTE on a movieclip when a button is pressed.
This is the actionscript you need:
var myMcte = new MCTE(patrat, false, "show", "Stripes", "random", 16, "Strong", "easeInOut", 25);
//b is the instance name of your button on stage
b.onRelease=function(){
patrat.MCTE.transitionEffect("show");
}
This file was created with the trial version of the MCTE so it will run only inside your Flash IDE.
Files: triggerMCTEonButtonPress.zip
This is the actionscript you need:
var myMcte = new MCTE(patrat, false, "show", "Stripes", "random", 16, "Strong", "easeInOut", 25);
//b is the instance name of your button on stage
b.onRelease=function(){
patrat.MCTE.transitionEffect("show");
}
This file was created with the trial version of the MCTE so it will run only inside your Flash IDE.
Files: triggerMCTEonButtonPress.zip
Login to post your comment









