Adobe 29500007 - Creative Suite 3 Design Premium Manual page 101

Workflow guide
Table of Contents

Advertisement

Copy Motion as ActionScript 3.0
For unmatched designer-programmer collaboration,
you can now select a tween created in the timeline
and copy the ActionScript 3.0 code required to
recreate it. The relevant attributes of the animation
are automatically translated into a combination
of ActionScript and XML, and can be replayed by
ActionScript. This allows you to use ActionScript
to easily modify attributes of the tweens.
New ActionScript 3.0 Components
To leverage the power of ActionScript 3.0, a set
of fast, lightweight components has been created.
Components are pre-created collections of
graphics and code that can dramatically reduce
the amount of design and scripting you have
to develop.
See Adobe Video Workshop topics:
• Creating a simple application with components
• Using components
• Writing ActionScript for components
See Adobe Video Workshop
topic, Copying and pasting
ActionScript from an animation
1
3
Select the frames of an
existing motion tween.
for the symbol instance you
2
Choose Edit > Timeline >
are using.
Copy Motion as ActionScript 3.0.
1
Open the Components panel
2
(Window > Components), select
Inspector and set the path
the ScrollPane component
to the external graphic or SWF
from the User Interface category,
file you wish to display using
and drag it to the Stage.
the Source text box.
4
Enter an instance name
Select a frame on the
Timeline, and then paste
the code from the clipboard
into the Actions panel.
3
Use the Control > Test
Movie menu command to
publish your movie. The
image loads into a pane
that can be set to scroll
horizontally or vertically,
allowing you to show full-
size images where space
on your page is limited.
Open Window > Component
Flash + Design Edition
99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 design standard

Table of Contents