Sunday, November 23, 2008    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Sep 2006 >>
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
             

Search

Categories
 • Acrobat (2) [RSS]
 • Adobe (71) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (46) [RSS]
 • AIR (144) [RSS]
 • Appearances (133) [RSS]
 • Books (69) [RSS]
 • CFEclipse (14) [RSS]
 • ColdFusion (1173) [RSS]
 • Data Services (16) [RSS]
 • Fish Tank (2) [RSS]
 • Flash (108) [RSS]
 • Flex (382) [RSS]
 • Home Automation (3) [RSS]
 • Jobs (100) [RSS]
 • JRun (13) [RSS]
 • Labs (29) [RSS]
 • LiveCycle (23) [RSS]
 • MAX (181) [RSS]
 • Regular Expressions (15) [RSS]
 • RIA (12) [RSS]
 • SQL (38) [RSS]
 • Stuff (505) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (140) [RSS]
 • Wireless (100) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
September 22, 2006

Viewing Flex Generated ActionScript

When Flex compiles MXML it generates ActionScript which is then compiled to generate the final SWF. At the seminar in Boston yesterday, one attendee asked if he could see the MXML generated ActionScript. The answer is yes, there is a compiler flag that does this, and I promised that I'd post it here for him. The flag in question is -keep-generated-actionscript, just add that (one long word with the three hyphens). To use it open your Flex Builder project, right click to open the project Properties, select Flex Compiler, and add -keep-generated-actionscript to the Additional compiler arguments. You'll then see a new project folder named "generated" which will contain the generated .as files.

TrackBacks
There are no trackbacks for this entry.

No trackback URL. Trackbacks are only allowed via interactive form.

Comments
Ok, I did what you said and didn't see anything new. Checked in all the subfolders and such, but no luck.

Then I RIGHT-CLICKED on the project I had updated the compiler and REFRESHED the projects. Ta Da...the GENERATED folder appeared.

:) All are happy in Atlanta.

Precia
# Posted By Precia | 9/22/06 3:14 PM
You need -keep-generated-actionscript=true ;)
# Posted By Bing | 9/29/06 5:59 PM
...actually, you don't.

-keep-generated-actionscript is all you actually need(like Ben said).
# Posted By Steve | 1/17/08 1:05 PM

  © Copyright 1997-2008 Ben Forta, All Rights Reserved