Go Back   OXYLUS Flash Board > Support > Flash Carousels > Amazing 3D Spiral Carousel AS2

Reply
 
LinkBack Thread Tools Display Modes
Old 07-29-2009, 04:11 PM   #1 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 5
Default Can't find the code for the mouseOver and mouseOut Event ?

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.
taztag is offline   Reply With Quote
Old 07-30-2009, 07:10 AM   #2 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 5
Default

no one for this small information ?
taztag is offline   Reply With Quote
Old 07-30-2009, 10:07 AM   #3 (permalink)
Senior Member
 
Laurentiu's Avatar
 
Join Date: Jul 2009
Posts: 858
Default Can't find the code for the mouseOver and mouseOut Event ?

what exact you want to do ?beacuse the carousel was designed with built in roll over and rollout ..
Laurentiu is offline   Reply With Quote
Old 07-30-2009, 10:10 AM   #4 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 5
Default

Hi laurentiu,

I want to send command to encapsulated swf (i used instead of Jpg / png) to adapt there behaviour (for example, if i start a video when the mouse is over, i want to stop it when the mouse is out).

Nicolas
taztag is offline   Reply With Quote
Old 07-31-2009, 09:16 PM   #5 (permalink)
Senior Member
 
Laurentiu's Avatar
 
Join Date: Jul 2009
Posts: 858
Default Can't find the code for the mouseOver and mouseOut Event ?

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
Laurentiu is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:57 PM.