Does anyone know how to load a module from a website? I am trying to create a AIR application that loads a module from my website. I found this on google http://livedocs.adobe.com/flex/3/html/help.html?content=modular_5.html and i still couldn’t do it. As far as i understood i have to create a crossdomain.xml that “resides at the root directory of the server that is serving the data” :eyeup:. This is my website: http://1.pe-web.ro that is actually a sub-domain. And here i have a folder in which i have that module that i am supposed to load in my AIR app. Where should i put that crossdomain.xml? in that folder? or at the root of http://1.pe-web.ro or at the root of http://pe-web.ro/ ??. Then, how do i give access to my AIR app to load the module from my website? if i use
Security.allowDomain(SERVER_ADDRESS);
i get this error SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
I could use an example … the code for the AIR app, the module, and where to put that crossdomain.xml file (and what to contain).
Maybe i’m asking for too much … i’ll keep searching but i could really use some help. I mean … this is a cool thing.
[RIGHT]Thank you !
[/RIGHT]