7 Replies Latest reply on Apr 19, 2007 8:37 AM by in v3rt

    button inside a movie clip

    in v3rt

      Ok, i'm new at action script so i have a problem
      I have a sound inside a movie clip (sound_MC) in the main timeline, and i have another movie clip with a button inside, and I need that button to control that sound movie clip

      on (release) {
      gotoAndStop("off_radio"); // this goes to another frame in the movieclip with the button (works fine)
      }
      on (release) {
      _root.gotoAndPlay("stop_loop"); // this goes to another frame of the sound MC (doesn't work)
      }

      // i have this in the stop button

      on (release) {
      gotoAndStop("on_radio");
      }
      on (release) {
      _root.gotoAndPlay("start_loop");
      }

      // and this for the play button

      whats the code for that ?
      what should i do?