I come from the remoting background in flash, and so i’m wondering what kind of code flex generates in the background…

here is how you look at it.

With your project open, click on the following in the Menu

Project > Properties >

in the left hand tree, select “Flex Compiler” >

in the “Additional Compiler arguments” textbox, enter the following at the end of whatever string is there

“-keep-generated-actionscript=true” (without quotes)

Click “apply” and then click “ok” to get out of the window.

now if you look in your project tree, you will see a folder named “generated”, this is where all of the action script is, and gets put into. Take a look at these at your own leisure.

For more properties on compiler options see the flex documentation HERE