Its work in the air application same as the flex application.
You can verify it very easly.
Use this sample applicaion which is a flex based.
After this simply create the AIR project with the same code by simply replacing Application by
WindowedApplication, it is working fine.Pls let me know if you have any issue.
Shardul Singh Bartwal
Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant: *. test.mxml PrintLabels/src Unknown Flex Problem
But regardless that error I see that if I use an URL from the sample, it work with my code. So, it's something with my Web server? But, I have a few Flex applications working with the same web server with no problem at all. So, WTH?