1 Reply Latest reply on Mar 22, 2007 5:45 PM by redsox05

    button change color on select, then change back

    redsox05 Level 1
      I have 3 buttons, named but,but2,but3. What I want is if you click a button it changes color to show what page your on. But when you click a different button now that one is highlighted and the original one goes back to the original color. Here's the code.
      but3.onPress = function () {
      _root.createEmptyMovieClip("container", 1);
      loadMovie("banner3.swf", "container");
      container._x = 0;
      container._y = 0 ;

      I figure I have to add some kind of if statement?