A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [CS3] [AS2] Sound Stop and Play

  1. #1
    1337Phantom-I
    Join Date
    Jun 2008
    Location
    My World!
    Posts
    25

    Question [CS3] [AS2] Sound Stop and Play

    I'm making a game; frame 1 is the main menu and also contains music... Now on the main menu has buttons like "options," "controls," etc.. Now once I click on one of them it goes to another keyframe; and on that keyframe is also a back button to the menu; once you go back to the menu the music is played twice... I want to make sure that dosen't happen. I tried some codes such as stopAllSounds but everything I tried didn't seem to work for this simple problem; so I'm looking for a workaround for this...




    Thank you for taking your time to read this...

  2. #2
    Member
    Join Date
    Jun 2004
    Location
    U.S.-California
    Posts
    30
    On the properties window, change "Sync" to "Start," this will ensure that it only starts if no other instance of the sound is playing.

  3. #3
    1337Phantom-I
    Join Date
    Jun 2008
    Location
    My World!
    Posts
    25

    resolved Ty

    Quote Originally Posted by armingoten
    On the properties window, change "Sync" to "Start," this will ensure that it only starts if no other instance of the sound is playing.
    TY for the answer; that really helped...

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