1 Reply Latest reply on Feb 10, 2010 6:58 AM by kglad

    NEED AUDIO OFF/ON SCRIPT (WITHOUT USING BUTTONS)

    captivate_qustions Level 1

      I need code that

       

      1. Turn ALL sounds in the movie off

      2. Turn ALL sounds in the movie back on

       

      all with out the user having the press a button. Something like an "onLoad" in javascript so it's automatic.

       

      what I have so far for the OFF:

       

      globalSound = new Sound();

      globalSound.setVolume(0);

       

       

      need code to turn it back on when the user hits the next embedded flash movie on the next scene.

       

       

      THANK YOU!!!