count

Availability

AS2 and AS3.

Usage

... count:value, ...

Parameters

value:Number — How many times you want the onUpdate function of an addCaller tweening to be called.

Examples

// 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"});

See also

waitFrames, addCaller