9 Replies Latest reply on Nov 1, 2010 6:45 PM by QuantaTec

    background music

    ellebelle98 Level 1

      I have a 4 frame file that is a dvd menu. Buttons controlling navigation between all frames. There is a main page, and 3 child pages that link back to main.  I have an mp3 file that I need to add as background music.  I have created a new layer and added the following to the action of frame 1.


      soundInstance = new Sound();
      soundInstance.attachSound("Music name from library");


      My problem is that every time I navigate back to main from one of the child pages a new instance of the song begins so  I end up with a round of music. I need the initial instance to persist throughout and not loop til the end of the song.


      actionscript newbie here. plz help!