onCompleteParams

Availability

AS2 and AS3.

Usage

... onCompleteParams:value, ...

Parameters

value:Array — A list of parameters (of any type) to be passed to the onComplete function.

Examples

// Fades a movieclip out, then set its visibility to false
setVisibility = function(visibility:Boolean) {
	this._visible = visibility;
};
Tweener.addTween(myMovieClip, {_alpha:0, time:1, onComplete:setVisibility, onCompleteParams:[false]});
// Traces a message after animating a MovieClip
Tweener.addTween(myMovieClip, {_x:200, time:1, onComplete:trace, onCompleteParams:["I have moved!"]});

See also

onComplete