Importing sample Flex library projects
Included with the LiveCycle ES2.5 SDK is a pre-configured
Flex project, guide_extension, that contains sample Guide MXML and
ActionScript extensions. Import this project to help you start creating
Guide extensions more quickly.
Important:
Try not to edit the sample files directly
or modify those files that are included with LiveCycle ES2.5. It
is a best practice to make uniquely named copies of the content
to help you get started creating Guide extensions.
Import the sample Guide extensions Flex project
-
Start
Flash Builder.
-
Click
File
>
Import
>
Flex Project
.
-
Select
Project Folder
and then click
Browse
.
Select the LiveCycle_ES_SDK\misc\Guides\samples\projects\extensions
folder located where you installed LiveCycle ES2.5 (by default,
C:\Program Files\Adobe\Adobe LiveCycle Workbench ES2\LiveCycle_ES_SDK\misc\Guides\samples\projects\extensions),
and then click
OK
.
-
(Optional) Choose the workspace where you want to import
the new project.
-
Click
Finish
.
After you import the
project, build it to generate the custom extension SWC file. By
default, the name of the compiled SWC file is the same as the project
(for example, extensions.swc). It is located in your Flex project's
bin directory. The file is located relative to the project's Adobe®
LiveCycle® Workspace 9 directory, not in the original sample project
directory. Copy the extensions.swc file into a Workbench application.
Add the compiled extension library to your Guide using the Guide
Design perspective in Workbench.