|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2009
Posts: 5
|
Hi again,
Where can i find the code for the mouseOver and mouseOut Event (in fact when the carousel Item is used) ? Thx in advance Nicolas Last edited by taztag; 07-29-2009 at 04:14 PM. |
|
|
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Jul 2009
Posts: 858
|
hello:
just look for engine3d.as, open it and search for mc.isRoll this is code for rollOver just insert that piece of code that i write here under the mc.isRoll if you want to avoid repeatting all the time as long mouse over is on same picture if (mc.isRoll) { if (!mc.rolledOut) { trace("only once rollOver per picture"); mc.rolledOut=true; //you code here for rollOver } .... //if you want to use that code only for one time executing code for //on mouseout else { if (mc.rolledOut) { mc.rolledOut=false; trace("only one rollOut per picure"); //you code here for rollOut } if you want to use the code in loop all the time mouse is over a picture or out of any picture just remove condition from rollOver: " if (!mc.rolledOut) " and from rollout: " if (mc.rolledOut)" cheers |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 06:57 PM.







Linear Mode
