This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > August 2005 > onRollOver question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author onRollOver question
RedHatFan

2005-08-28, 7:27 pm

Ok people.....here is my question.....i have two movie clips in the same
layer.One of them crosses over the other.They both have onRollOver function but
when the cursot is over the first one(witch is above the other) and this is the
place where they cross only the first activates the trigger(to make it clear
the place the first takes is zone Y the second takes X an the zone Y and X
cross is Z.....there the mose is) so haw do i make them both work in this case?
My secon question is if i have a movie clip with onRollOver event an the
movieclip i small i have to pass very slow over it to activate(24fps movie) if
i pass fast even if i "roll over it" id does nothing.....sow how do i make this
work(whitout the need to make transparent object in the movieclip to expand its
rollOver area)?

Thanks to everybody!

bencallahan

2005-08-29, 4:14 am

you can use the hitTest() function to determine if the mouse is over both clips.

as to your second question - this is just a limitation. make it bigger, or
your idea about a transparent clip that is larger to capture the event would
work.

good luck

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews