Categories
Articles

Flex 2 Publishing with Source

You can publish the source code for a Flex application. Users can use the context menu and see a “View Source” menu choice if you include the viewSourceURL attribute for the Application class.

Ex:

When the context menu is selected the document with source is loaded into the primary web browser.

If you test this locally with the mxmlc compiler, you will encounter a security error so you
might want to compile with the -use-network=false switch temporarily so you can play.

More information can be found at: Publishing application source code sdfs