Macromedia flash 8-flash samples Manual Do Utilizador
39
9
CHAPTER 9
Extending Flash
As a Macromedia Flash user, you may be familiar with ActionScript, which
lets you create scripts that execute at runtime in Macromedia Flash Player.
The Flash JavaScript application programming interface (JavaScript API) is
a complementary programming tool that lets you create scripts that run in
the authoring environment (that is, while a user has the Flash program
open). These scripts can be used to help streamline the authoring process.
For example, you can write scripts to automate repetitive tasks, add custom
tools to the Tools panel, or add timeline effects.
lets you create scripts that execute at runtime in Macromedia Flash Player.
The Flash JavaScript application programming interface (JavaScript API) is
a complementary programming tool that lets you create scripts that run in
the authoring environment (that is, while a user has the Flash program
open). These scripts can be used to help streamline the authoring process.
For example, you can write scripts to automate repetitive tasks, add custom
tools to the Tools panel, or add timeline effects.
Several JavaScript API samples are available when you install Flash 8. This
chapter contains a brief overview of each sample.
chapter contains a brief overview of each sample.
This chapter contains the following sections:
Shape command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Get and set filters command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
PolyStar tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Trace Bitmap panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Sample DLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Get and set filters command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
PolyStar tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Trace Bitmap panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Sample DLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42