divinedesigns1 Posted May 2, 2012 Share 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? Link to comment Share on other sites More sharing options...
divinedesigns1 Posted May 2, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
asetku88 Posted May 10, 2012 Share Posted May 10, 2012 maybe you can ask in an HTML Forum, there are many more people who understand. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now