onUpdateParams

Availability

AS2 and AS3.

Usage

... onUpdateParams:value, ...

Parameters

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

Examples

// Moves a movieclip, telling you he's doing it in the process
outputMessage = function(message:String) {
	trace (message);
};
Tweener.addTween(myMovieClip, {_x:0, time:1, onUpdate:outputMessage, onUpdateParams:["I'm moving!"]});
// Traces a message when animating a MovieClip in a more simple way
Tweener.addTween(myMovieClip, {_x:200, time:1, onUpdate:trace, onUpdateParams:["I'm moving!"]});

See also

onUpdate