Hi friends,
i am using asylum rss feeds and have developed a flash widget, i get the url of the images from the rss feeds succesfully… when i compile my flash file, the images are getting loaded succesfully, but if i export it as a swf or publish it as html, am not getting any images displayed… so i put a try and catch block around the code and caught this error
SecurityError: Error #2123
i dont know what it means, i searched and found about crossdomain files…
i saw there is a crossdomain.xml file in
www.asylum.com/crossdomain.xml
in my app i added
Security.allowDomain("");
Security.allowInsecureDomain("");
Security.loadPolicyFile(“http://www.asylum.com/crossdomain.xml”);
then while loading i put
lvar context:LoaderContext = new LoaderContext(true);
context.checkPolicyFile = true;
loader.load(imageurl,context);
but am not getting any images when published or exported as swf…
plss tell me what i should do… i am struck wit this for a long time and am frustrated… pls friends, help me out