Knowledge Base |
MCTE V3 (MovieClip Transition Effect V3)
(views: 22369)
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 Flip transition using code
(2008-02-12 - views: 4832)
Q: How do I instantiate the MCTE component to make a Flip transition, using ActionScript 3 code ?
A: In the next file you have a fully functional example of how to use the MCTE component and the Flip transition by writing ActionScript 3.0 code.
Files: MCTE_Flip_AS3.zip
Files: MCTE_Flip_AS3.zip
User Comments
Change the Mouse pointer to a hand cursor
clip1.addEventListener(MouseEvent.ROLL_OVER, clip1RollOver);
clip2.addEventListener(MouseEvent.ROLL_OVER, clip2RollOver);
//set to true the button mode property of the clip1 when the mouse rollOver is detected
function clip1RollOver(evtObj:MouseEvent):void {
clip1.buttonMode=true;
}
//set to true the button mode property of the clip2 when the mouse rollOver is detected
function clip2RollOver(evtObj:MouseEvent):void {
clip2.buttonMode=true;
}
posted by florodebat on 2009-03-23
To enable the hand cursor you will have to add the code below to the example file:clip1.addEventListener(MouseEvent.ROLL_OVER, clip1RollOver);
clip2.addEventListener(MouseEvent.ROLL_OVER, clip2RollOver);
//set to true the button mode property of the clip1 when the mouse rollOver is detected
function clip1RollOver(evtObj:MouseEvent):void {
clip1.buttonMode=true;
}
//set to true the button mode property of the clip2 when the mouse rollOver is detected
function clip2RollOver(evtObj:MouseEvent):void {
clip2.buttonMode=true;
}
Login to post your comment




This is also something that I need for the Accordion panel ( ActionScript 3 version).