How to move movie clip symbol using actionscript 2.0?

  • beepa1
  • Born
  • Born
  • beepa1
  • Posts: 1

Post 3+ Months Ago

I am making a navbar that has a cover over it and I want the cover to raise up when someone mouses over it revealing the navigation buttons. I made a cover and put it on stage and then created a movie clip where in a tween moves the cover from one location to the another but I'm am not sure how to tie that tween action to the mouseover event? :?:
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1825
  • Loc: In the Great White North

Post 3+ Months Ago

put a stop in the first frame and last frame of your cover. Give your movie an instance name.

then use this code
Code: [ Select ]
coverInstanceName.onRollOver= function(){

coverInstanceName.onRollOut= function(){
  1. coverInstanceName.onRollOver= function(){
  2. this.gotoAndPlay(2);
  3. }
  4. coverInstanceName.onRollOut= function(){
  5. this.gotoAndStop(1);
  6. }

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.