PDA

View Full Version : how do you make a slide pause on rollover!!!


adrian333
12-28-2009, 01:31 AM
hey all, im a new member and have only been using cs3 for about 3weeks, im catching on pretty well but im stuck at this one point! and it i killing me.....

what i whant is to pause my slide on rollover, and play it ahain on rollout, dosnt sound to hard but i could not do it if my life depended on it. could some one please help. thanks guys and gals

flashGeneral
12-28-2009, 03:24 AM
Try this

mc1_mc.stop();
mc1_mc.addEventListener(MouseEvent.ROLL_OVER, over);
mc1_mc.addEventListener(MouseEvent.ROLL_OUT, out);

function over(event:MouseEvent):void {
mc1_mc.play();
}
function out(event:MouseEvent):void {
mc1_mc.stop();
}