ptg
Working with Projects and
Other Programs
Introduction
Adobe programs are designed to work together so you can
focus on what you need to do, rather than on how to do it. In
fact, the Adobe programs share tools and features for your
most common tasks so you can work uninterrupted and
move seamlessly from one program to another.
If you need more advanced scripting features, you can
use Adobe Flash Builder to work with ActionScript 3.0, yet
still quickly switch back to Flash Professional as needed. As a
designer, you can use the Adobe FXG file format to exchange
graphic content between programs with high fidelity, which
includes Fireworks, Photoshop CS5, Illustrator, Flash Catalyst,
and Flash Builder. If you want to create a stand-alone applica-
tion from a Flash document, you can publish it as an Adobe
AIR application, which you can install or remove like any
other program. In addition to developing content for comput-
ers, you can also use Flash to develop content for mobile
devices using Adobe Device Central CS5 to test it.
In Flash, you can manage multiple document files within
a Flash Project. A Flash Projects lets you group multiple, and
related files together to help you keep track of complex appli-
cations. Flash lets you apply version-control to ensure that
the correct file versions are used during editing and to pre-
vent accidental overwriting.
If you want to access additional resources from Adobe,
you can use the Adobe CS Live menu. Adobe CS Live is an
online service that allows you to set up or manage (sign in
and out) an Adobe account, access the Acrobat.com subscrip-
ActionScript 3.0 in Flash Builder (
New!
) and test, debug, or publish in
Flash Professional. You can also create or open ActionScript 3.0 AS files
(either class or interface) (
New!
) from Flash Professional for edit in
Flash Builder.
Working with Adobe
Flash Builder
Create an ActionScript File and
Open in Flash Builder
Click the File menu, and then
click New.
TIMESAVER
Click Action-
Script 3.0 Class or ActionScript 3.0
Interface on the Welcome screen
to create a new AS document.
Click the General tab.
Click ActionScript 3.0 Class or
ActionScript 3.0 Interface.
Click OK.
Click the Flash Professional or
Flash Builder option.
Enter a class or interface name.
Click OK.
If you selected Flash Builder, the
program opens, asking you to
create a new Flash project.
ptg
Chapter 21 Working with Projects and Other Programs
507
Open Flash or ActionScript Files
in Flash Builder
In Flash, open the Flash FLA or
ActionScript AS document.
Do the following to open a Flash or
ActionScript file:
◆
Flash FLA. Open the Property
Inspector, enter a document
class name in the Property
Inspector if blank, and then
click the Edit Class Definition
button.
◆
ActionScript AS. Control+click
(Mac) or right-click (Win) a
symbol associated with the
class interface, click
Properties, or click the Edit
Class Definition button in the
Symbols Properties dialog box.
If prompted, click the Flash
Professional or Flash Builder
option, if prompted, and then click
OK.
If prompted, click Browse to select
the target FLA or XFL file (as
Import Content From an Adobe
FXG File
Open a document.
Click the File menu, point to
Import, and then click Import to
Stage or Import to Library.
To open a specific type of Flash
file, click the File as type list arrow
(Win), or the File type popup
(Mac), and then click Adobe FXG
(*.fxg).
Navigate to the drive or folder
where the file is located.
Click the Adobe FXG graphic file
you want to open.
Click Open.
6
5
4
3
2
1
Adobe FXG (Flash XML Graphics) is a file format based on a subset of
MXML, the XML-based programming language used by the Flex frame-
work, which you can use to build rich Internet applications. The FXG file
format allows designers to exchange graphic content between pro-
grams with full fidelity. Flash allows you to import and export your indi-
vidual objects or the entire Stage in the Adobe FXG file format (version
2.0) (
New!
technologies/flashcatalyst
.
For Your Information
Export Content as an Adobe
FXG File
Open a Flash document.
To export objects on the Stage,
select them on the Stage.
Click the File menu, point to
Export, and then click Export
Image (for entire Stage) or Export
Selection (for selected objects on
the Stage).
Navigate to the location where
you want to export the file.
Enter a name in the Save As (Mac)
or File Name (Win) box.
Click the Format popup (Mac) or
Save as Type list arrow (Win), and
then click Adobe FXG (*.FXG).
Click Save.
The following constrains apply to
exporting to the FXG file format:
◆
Scale-9 Grids. Exported,
however only readable by
Adobe Illustrator.
◆
Sound and Video. Not exported.
◆
From the Library of Wow! eBook