divinedesigns1 Posted May 2, 2012 Posted May 2, 2012 hey sup guys, i am trying to make this movie to follow the mouse wherever it goes but i only get it to play when the movie is in the frame and stop when it isnt in the frame and i would like it to go back and fore according to the mouse import flash.events.MouseEvent;mymovie_mc.stop();mymovie_mc.addEventListener(MouseEvent.ROLL_OVER, moviespin);function moviespin(event:MouseEvent):void{mymovie_mc.play();}mymovie_mc.addEventListener(MouseEvent.ROLL_OUT, moviestop);function moviestop(event:MouseEvent):void{mymovie_mc.stop();}var direct:String = "backward"mymovie_mc.addEventListener(MouseEvent.MOUSE_MOVE, moviedirect);function moviedirect(event:MouseEvent):void{if(mymovie_mc.MouseEvent){ moviedirect.gotoAndStop("");}} where it says var direct:string = "backward" thats where i messed up any tips on how to make this go back and fore according to the mouse?
divinedesigns1 Posted May 2, 2012 Author Posted May 2, 2012 i didnt need it btw its working good, just need to add the pages for the demo and if approve then i have to create the real work "the thing im making, the pictures are all pixelated" but its working
asetku88 Posted May 10, 2012 Posted May 10, 2012 maybe you can ask in an HTML Forum, there are many more people who understand.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.