Tweener Documentation
AS2 and AS3.
... onUpdateParams:value, ...
value:Array — A list of parameters (of any type) to be passed to the onUpdate function.
// 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!"]});