Creating a Flex library project

The first step in creating Guide extensions is to create a Flex library project in Flash Builder. When completed, the Flex library projects you create must be compiled into an SWC file for importing into the Guide Design perspective in Workbench. An SWC file is an archive file for Flex components and other assets.

Each Flex library project you create must include the following elements:

In addition, you can optionally include additional SWC files that contain MXML components or ActionScript classes that you want to leverage. You can also include other assets such as image files or videos.

Create a Flex library project for custom Guides

  1. Start Flash Builder.

  2. Select File > New > Flex Library Project .

  3. Type a project name, assign a workspace, set the Flex SDK version to the default Flex 3.4.1 version of the SDK, and then click Next .

  4. Click Library Path .

  5. Click Add SWC .

  6. Go to the LiveCycle_ES_SDK\misc\Guides\code\libs folder where Workbench is installed. By default, the path is C:\Program Files\Adobe\Adobe LiveCycle Workbench ES2\LiveCycle_ES_SDK\misc\Guides\code\libs. Add the following SWC file to the project:

    • dcruntime_library.swc

  7. Select the Link Type option for the SWC file, and click Edit .

  8. (Optional) Set the value of the Link Type option to External . By keeping the dcruntime_library.swc file as an external reference, you reduce the size of the compiled Guide extension (SWF file).

  9. Click Finish .

After you create the Flex library project, create a folder structure to store your Guide extensions. Each type of Guide extension must be in an appropriately named project folder.

// Ethnio survey code removed