A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how to make movie with sound start and stop on rollover

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    2

    how to make movie with sound start and stop on rollover

    im making a flash animation with a background two sets of text an invisible button and a song. im trying to make the the animation start when the mouse rolls over and have it stop and reset to the beginning when it rolls out. on my invisible button (first layer) i have

    on (rollOver) {
    play();
    }
    on (rollOut) {
    stop();
    }
    on (rollOut) {
    stopAllSounds;
    }

    on all of the other layers the first command is stop()

    when i roll over it both of my texts go but then stop after they go once. when i roll out the sound that is playing never stops. if i roll out before the both of the texts are done then it just pauses and when i go back over, resumes again (the sound still never stops)

    thanx

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    2
    how do i make it so that the sound and the animation stop and reset to the beginning once you roll off so that when you roll on it is back to the way it started and so the text loops if the mouse is still over.

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