Jump to content
cc00l

stopping a tween on the motion guide

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

Share this post


Link to post
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..

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...