Revision: 11196
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 27, 2009 23:02 by mauroego
Initial Code
MovieClip.prototype.rewind = function(from, to) {
this.from = from
this.to = to
if (!from)
this.from = this._currentframe
if (!to)
this.to = 1
if (this.from <= this.to)
return
this.gotoAndStop(this.from)
this.onEnterFrame = function() {
if (this._currentframe == this.to) {
this.onEnterFrame = null
return
}
this.prevFrame()
}
}
Initial URL
Initial Description
Initial Title
AS2 Rewind Prototype
Initial Tags
Initial Language
ActionScript