all groups > macromedia flash sitedesign > august 2005 >
You're in the

macromedia flash sitedesign

group:

onRollOver question


onRollOver question RedHatFan
8/28/2005 8:13:15 PM
macromedia flash sitedesign: 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!
Re: onRollOver question bencallahan
8/29/2005 12:00:00 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
AddThis Social Bookmark Button