Tweener Documentation
AS2 and AS3.
... count:value, ...
value
:Number — How many times you want the onUpdate
function of an addCaller
tweening to be called.
// Calls myFunction 10 times in 1 second Tweener.addCaller(myMovieClip, {onUpdate:myFunction, count:10, time:1});
// Calls myFunction 2 times in 20 seconds, going faster and faster Tweener.addCaller(myMovieClip, {onUpdate:myFunction, count:2, time:20, transition:"easeInExpo"});