flash AS question
flash AS question
Out of context: Reply #7
- Started
- Last post
- 40 Responses
- fyoucher10
You can even turn all of that into a function or prototype for reusing across movieclips
MovieClip.prototype.scaleAndfade = function():Void {
this._xscale = this._yscale = 150;
this.scaleTo(0, 5, "linear");
this._alpha = 0;
this.alphaTo(100, 1, "linear");
this.alphaTo(0, 1, "linear", 4);
}myClip1.scaleAndFade();
myClip2.scaleAndFade();
myClip3.scaleAndFade();
etc, etc, etc.