Knowledge Base |
Important! All new questions are usually answered within the next business day.
MCTE V3 (MovieClip Transition Effect V3)
(views: 20116)
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: 4144)
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
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;
}
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



I have used the ActionScript 3 code and the flip works great. However, I need to change the mouse pointer from the standard arrow to the link (hand) cursor using ActionScript 3.
This is also something that I need for the Accordion panel ( ActionScript 3 version).