Flash Q

Out of context: Reply #13

  • Started
  • Last post
  • 15 Responses
  • ganon0

    you could take the code out of your mc/button and put this in the a _root frame...:

    this.bttn_mc.onRollOver = function() {
    this.gotoAndPlay("over");
    }

    this.bttn_mc.onRollOut = function() {
    this.gotoAndPlay("out");
    }

    this.bttn_mc.onPress = function() {
    this.gotoAndStop("10");
    this.onEnterFrame = function() {
    this._parent.img_mc._alpha--;
    if (this._parent.img_mc._alpha (insert less than sign)= 0) {
    delete (this.onEnterFrame);
    }
    }
    }

View thread