A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: pausing a movie clip thats inside a button

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    13
    I have a button with a tweened movie clip inside which gets big then back to small.

    ok. when i scroll over the button. I want the tweened clip 'start' to pause. not stop. So when i roll back off it will continue its sizing process rather than starting again from frame 1.

  2. #2
    As far as I know you can not do this. Evertime you mouseOver on any of the button states they reset. Here is how you get around this. Use an invisible button that controls a MovieClip. In you movie clip you can do the pause and play stuff. You can do this:
    Code:
    on (rollOver) {
      //"start" is the name of the MC you wish to control
      start.stop();
    }
    on (rollOut) {
      //"start" is the name of the MC you wish to control
      start.play();
    }

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