11 Replies Latest reply on Aug 10, 2010 6:31 PM by konshesgirl

    What the? A Forum of Professional Flash Gurus Can't Help ME????

    konshesgirl

      Hi,

       

      ADDENDUM: This Message Used To Be Entitled:

      "Can't make music on/off button work for my movie built in CS5..."

       

      But after literally WEEKS of being on this forum (& desperately seeking the answer in numerous ways) do you mean to tell me there is ABSOLUTELY NO ONE ON THIS FORUM that knows how to make a music/sound button work correctly?

       

      Here's the code...

      ---------------------------

      stop();

      trace(page);

      abut.onRelease = function() {

      lift.sounds.enabled = true;

      lift.sounds.gotoAndStop(1);

      _root.beDisable("enbl");

      removeMovieClip(activeSub);

      };

      if(_root.snd1){

      son.enabled = false;

      sof.enabled = true;

      sof.gotoAndStop(1);

      son.gotoAndStop(1);

      }else{

      son.enabled = true;

      sof.enabled = false;

      sof.gotoAndStop(2);

      son.gotoAndStop(2);

      }

      //son.enabled = false;

      //sounds();

      function sounds() {

      //delete _root.snd1;

      if (!_root.snd1) {

      _root.snd1 = new Sound();

      _root.snd1.attachSound("pf2");

      son.enabled = true;

      sof.enabled = true;

      sof.gotoAndStop(2);

      son.gotoAndStop(2);

      } else {

      son.enabled = false;

      sof.enabled = true;

      sof.gotoAndStop(1);

      son.gotoAndStop(1);

      delete _root.snd1;

      }

      }

      //son.gotoAndStop(2);

      son.onPress = function() {

      //sounds();

      _root.snd1 = new Sound();

      _root.snd1.attachSound("pf2");

      sof.enabled = true;

      this.enabled = false;

      this.gotoAndStop(1);

      this._parent.sof.gotoAndStop(1);

       

      };

      sof.onPress = function() {

      //sounds();

      delete _root.snd1;

      son.enabled = true;

      this.enabled = false;

      this.gotoAndStop(2);

      this._parent.son.gotoAndStop(2);

      };

       

      ------------------------------

       

      Perhaps it's a simple adjustment, I just don't know....and would really, truly, oh, so genuinely and graciously thank the person and kiss the *cyber* ground he/she walked on.....

       

      With kind regards,

       

      KonshesGirl