Roll Out in Flash

Out of context: Reply #4

  • Started
  • Last post
  • 7 Responses
  • unfittoprint0

    imagine your rollmovie inside a movieclip acting as a button. Call it rollMC.

    //inside the movieclip button
    rewind= function(){
    if(rollMc._currentframe != 1){
    rollMC.gotoAndStop(rollMC._curre...
    } else {
    clearInterval(rewindLoop)
    }

    //rollOut function

    this.onRollOut = function(){
    clearinterval(this.rewindLoop);
    this.rewindLoop = setInterval(this, "rewind", 30)
    }

    //the other way is to make a zoom in/ zoom out function, changing dinamically the _xscale/_yscale; there's a lot scripts available.

View thread