Macromedia flash 8-flash samples Manuale Utente

Pagina di 48
The Tween class, the TransitionManager class, and progress bars
25
Animation with ActionScript
This sample provides an example of programmatic animation using 
ActionScript. It shows a simple game where instances are animated across 
the Stage at runtime. You create a custom mouse pointer, and you can tally 
scores by manipulating strings and using operators to write equations.
You can find the sample source file, animation.fla, in the Samples folder on 
your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 
8\Samples and Tutorials\Samples\ActionScript\Animation.
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
Animation. 
The Tween class, the 
TransitionManager class, and 
progress bars
This sample shows how to script animation using the Tween and 
TransitionManager classes, which provide an easy way to animate instances 
using code. It also shows how to create a progress bar using code.
You can find the sample source file, tweenProgress.fla, in the Samples 
folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 
8\Samples and Tutorials\Samples\ActionScript\Tween ProgressBar.
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
Tween ProgressBar.