flash-edit-in-flash-builder

Flash edit in Flash Builder integration

Whether using controls and libraries from Flash Professional or editing ActionScript code in Flash Builder there are multiple approaches to an integrated environment.

Export Library from Flash Professional

One approach is to create a library of components in Flash Professional, then export a SWC library for use in your Flash Builder project.

Flash Components:

Adding by SWC:
  • Right-click on your project in Flash Builder, and go to Properties.
  • Select “ActionScript Build Path” from the left.
  • Go to the “Libary path” tab now available on the rht.
  • Click “Add SWC…”
  • Add libs from Flash such as flash.swc or IK, dependong on what version of the Flash IDE you have and where you installed it.
Windows:
C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0\libs\flash.swc
Mac OS X:
/Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/libs/flash.swc

 

Adding by source folder:
  • Right-click on your project in Flash Builder, and go to Properties.
  • Select “ActionScript Build Path” from the left.
  • Go to the “Source path” tab now available on the right.
  • Click “Add Folder…”
  • The Flash components should be in a location with a path similar to the following, depending on what version of the Flash IDE you have and where you installed it.
Windows:
C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface
Mac OS X:
/Applications/Adobe Flash CS5.5/Common/Configuration/Component Source/ActionScript 3.0/User Interface

Default playerglobal namespace

Default package / playerglobal.swc reference often is incorrect when editing from Flash in Flash Builder.

In .actionScriptProperties, add:

<libraryPathEntry kind="3" linkType="1" path="${FLASHPRO_APPCONFIG}/ActionScript 3.0/FP10.2/playerglobal.swc" useDefaultLinkType="false"/>

Leave a Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>