Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using Adobe Flash Builder

Each of the SWCs has a set of Flash Builder project files.  Actually two sets.  In the frameworks/projects/Core folder are the Flash Builder project files for compiling with the compiler settings required for the version of the framework that runs in Flash, and in frameworks/js/FlexJS/projects/

...

CoreJS are another set of Flash Builder project files for compiling with the compiler settings required for cross-compiling the same source in frameworks/projects/Core, and for building the "JS" version of the SWC.  For more information on what a "JS" SWC is, click here.

It is recommended to use a new empty Workspace.  You will have to specify two "Linked Resources" in Flash Builder's Preferences (under Workspace).  Create a FLEX_ASJS linked resource that points to the working copy for flex-asjs.  Create a FLEX_FALCON linked resource that points to an installed FlexJS SDK.  Setup that same FlexJS SDK as a Flex SDK in Flash Builder's Preferences.  Then, import the projects.

...

 You may find that Flash Builder hangs building the Core SWC.  If that happens, quit Flash Builder and re-open it.  The other projects should then build.
 

The Demo

MXML->SWF
The latest demo is http://home.apache.org/~aharui/FlexJS/FlexJSStore. Run the bin-release/FlexJSStore.html and right-click and choose "View Source" to see the source. You should be able to compile FlexJSStore.mxml into a working SWF by using the Apache Flex SDK Installer to install a FlexJS release and using the bin/mxmlc on Mac or bin/mxmlc.bat on Windows to compile the source.  This is a port of the old FlexStore demo to FlexJS.  You can click on the Products button, hover over the people and see toolTips, drag them to the compare window and see drag-and-drop work and effects play.

...