A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: tweening movie clip for a button

  1. #1
    Junior Member
    Join Date
    Aug 2002

    making a movie clip to animate a button

    I want to make a movie clip on a button when you mouse over it. i made a simple tween where the oval button stretches out and goes back to it's original shape, but the tween does not work. It appears as though it would work in the timeline, but the motion doesn't appear, it only flashes the one frame where the button is stretched. i haven't found a good tutorial for mouseover movie clips in flash MX... HELP!
    [Edited by clabber_ on 08-14-2002 at 10:17 PM]

  2. #2
    Join Date
    Aug 2002

    Re: making a movie clip to animate a button

    Put a movie clip in over state.

  3. #3
    Junior Member
    Join Date
    Aug 2002

    thanks, but....

    thanks for the tip, but i'm at the point where i create a movie clip in the over frame of the button. it's just that the animation itself is not working. i created the same motion tween that is in another part of the flash file, but it doesn't work on the button, it only flashes the changes that occur during the keyframes.

    any further advice would be apreciated...

  4. #4
    Rusty Flasher
    Join Date
    Jul 2002
    In your movie clip animation set and action on the first frame to stop it


    then place it in the main time line over the button and give it the instance name of mc_animation. place the following code in the button


    This will play the animation when the mouse rolls over the button.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center