Jump to content

stopping a tween on the motion guide


cc00l
 Share

Recommended Posts

ok,the situation is like this.i have a few buttons arranged in a wheel-like position where it will then rotate following the motion guide which i have already created earlier on.now what i wanna do is-when i move my mouse over one of the button,i want the wheel to stop rotating.and when my mouse is out of the button,the wheel will start rotating again.will there be any actionscript involved in this case?help will be much appreciated :) thx

Link to comment
Share on other sites

Well look though the function and there will be on() or somethingthen in there add a rollOver thing...then in the { } do something like _root.clip.stop; (that _root.clip being the location to the motion guide clip.so it's likeon(rollOver){_root.clip.stop;}I tried creating a sample file but it didn't work with stop, it worked with gotoandstop(1) but that sent it to the begining..

Link to comment
Share on other sites

Okie,but if let's say we use gotoandstop(1) which means sending it to the beginning,then it will not comply to how the buttons should move on the motion guide.What I'm trying to say here is-if we rollover the mouse on button A at 3o'clock,we want the wheel to stop right there.We wouldn't want the button to move back to its default position,don't you think so?Well,I will give it a try though, and I hope you understand what I'm trying to say here.. :) cheers!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...