5 Replies Latest reply on Sep 4, 2010 10:27 PM by kglad

    Any problem with these codes?

    0slimjimmy0

      I have a variable named playerColor, and a button called black. I need to get the button to change the player's color to black(change the frame number to 2). The second frame of the movieclip player is the same as frame 1, but it's the color black instead of red(red is the default color which is frame 1). I can't get any results with these codes.

      Player:
      this.gotoAndStop(_root.playerColor);

      Button:
      on (release) {
      _root.playerColor = 2;
      }

      File: [url]http://www.mediafire.com/?p8wpnp8p86n58fm[/url]