A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: buttons that don't stop

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    12
    i'm using invisible buttons and the
    on (rollOver){
    _root.attachMovie("MCname","MCname",1);
    }
    command to initiate movie clips in my .fla document. it works fine, but the clip stops playing as soon as you roll over another button or roll over that button again. i want to initiate the playing of a movie clip that finishes and doesn't stop or start again UNTIL that button is rolled over again.

    i can't find tutorials on this; can someone please please help me?

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Posts
    20

    resolved Interesting??

    So you have a button that is using the attachMovie function and when you roll over the button the movie plays but when you re-roll over it again it stops the movie?? Does this sound correct??

    I am not sure why you are using an attachMovie command but this may be an easier way to accomplish what you want and less headaches.

    Say you have four buttons on the stage and each button calls in a movie to the stage. Each movie plays a looping series of moving words lets say.

    Button one would look something like this

    on (rollOver) {
    loadMovieNum ("yourmovie.swf", 1, "GET");
    tellTarget ("target") {
    play ();
    }
    }
    on (press, release) {
    tellTarget ("yourmovie.swf") {
    stop ();
    unloadMovieNum (1);
    }
    }

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