PDA

View Full Version : rollOver triggers (mtv2europe.com effect)


aqdesign
06-26-2001, 09:33 PM
I have a small problem... how does one trigger a movie object with just the mouse rolling over it?
Do you have to put it as one of the button states inside a button...? if so, how do you then define the hit area?
Also, if it's not much harder i would like to make the movie object start playing on mouse rollover, then when the mouse is moved away from the object, the movie object should halt playback... from wherever it last got to, then resume next rollOver from that point etc.
The effect is used lots on http://www.mt2europe.com i figured out how to do the 3d shapes, so i'm working with movie objects made from 3d vectors... (shouldn't matter though surely, in the end it's just a movie object)

Thanks for your time, and tell me if i'm wasting it

defrex
06-29-2001, 07:37 PM
hey, i'm new here but i think i can help you out. i'm a bit of a newbie myself so let me know if i'm wrong.

on (rollOver) {
tellTarget ("you clip") {
play ();
}
}
on (rollOut) {
tellTarget ("your clip") {
stop ();
}
}


put that on the button.

Jesse
07-01-2001, 04:01 AM
(but don't use spaces in instance names :) )