I have a Flash application that loads images. It loads them from an external source. These external images are .swf files. The application is located at root (www.mydomain.com) while the .swf images are located in a subdirectory ([URL=“http://www.mydomain.com/images/”]www.mydomain.com/images/).
I get a security sandbox violation when my application attempts to load the external images. It says in the error message that I can get around this by using Security.allowDomain. I tried this but it didn’t work. I put the line “Security.allowDomain(‘www.mydomain.com’)” in each external image .swf file. It still wouldn’t load the external images.
What can I do to allow my application to load external .swf files that are located in a subdirectory? Do I need to work with crossdomain.xml or is this irrelevant?
Any help would be appreciated.