2 Replies Latest reply on Jan 7, 2009 10:26 AM by designut

    How to have button in down state as page opens

    designut
      On opening a new "blank" subsidiary page using "getURL", there are 2 buttons on the new page. Each button plays a moveclip. (The first movieclip is already playing as the new page opens). I'd like to have the corresponding button already in the down state as the page opens. Is there a conditional statement I could use for this? I'm using AS 2.

      The code on each button is as follows:

      on (release){
      _root.resetButtons();
      this.gotoAndStop("down");
      }

      on (rollOver){
      if (this._currentframe <> 3)
      this.gotoAndStop("over");
      }

      on (rollOut, releaseOutside){
      if (this._currentframe <> 3)
      this.gotoAndStop("up");
      }

      Many thanks for any advice.