Hi Yishayw, That looks very much like the code I have in my Flex code that I compile as an Air Application. The Application I am building at the moment is a <j:Application> using the Jewel components and I couldnt get FileReference to work as it would not compile so I went with FileProxy.
Maybe I am doing something wrong in my asconfig file? I have it set as JSRoyale in my target. { "compilerOptions": { "targets": [ "SWF","JSRoyale" ], "source-path": [ "src" ], "library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], "js-library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], "source-map": true, "use-network": true, "show-unused-type-selector-warnings": true, "use-resource-bundle-metadata": true, "benchmark": false, "warnings": true, "verbose-stacktraces": false, "optimize": false, "static-link-runtime-shared-libraries": false }, "files": [ "src/royaleJSVS.mxml" ], "additionalOptions": "-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css -html-template=src/resources/jewel-index-template.html -js-dynamic-access-unknown-members=true" } -- Sent from: http://apache-flex-development.2333347.n4.nabble.com/