I was trying to create a simple rollover animation that would start when the mouse would be over a set of individual movie clips. It works, but only slightly - the animation is only activated when the mouse touches the white outline of the MC. This white outline is on the topmost layer of each of those MCs.
This is the file if you want to check it out:
http://www.csupomona.edu/~berigazzi/RECentertest.swf
This is the actionscript I am using to execute this thing:
rone.addEventListener(MouseEvent.MOUSE_OVER, rollOver);
e.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
c.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
c2.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
e2.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
n.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
t.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
e3.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
r2.addEventListener(MouseEvent.MOUSE_MOVE, rollOver);
function rollOver(evt:MouseEvent):void {
evt.target.gotoAndPlay(2);
}
I'm on a Mac if that matters at all.