PDA

View Full Version : Help regarding flash player security warning



sandin
August 18th, 2008, 01:17 PM
Hi friends,
I am using truveo XML api and i get the thumbnails url of the videos from it and display it in my flash, when i compile the flash and preview the movie it works fine, it displays the images correctly.. but when i export the movie and open the swf it says a flash security domain error that the flash swf file is trying to access the xml.truveo.com...

what should i do............ if i make a projector, it works fine.. but i want the swf to work... i am publishing it and if i open the html page also i get the same error.. plssss tell me what should i do..

currently i tried adding
Security.allowDomain("xml.truveo.com");
but it doesnt work..

plsss tell me what to do.. when i compile the flash it works fine, but when i export it,its not working..

i know it ll work when i add the location of the swf in the flash security settings in adobe website, but this file is a widget, it can be added at anyone's location.. so tell me what i should do.. i have to make it work as such.. without adding anything in adobe site.. pls friends help me

creatify
August 18th, 2008, 01:29 PM
Think you need to add a crossdomain.xml policy file at xml.truveo.com - this will allow that server to accept requests from your app. can search the forums here for crossdomain.xml or google it.

sandin
August 19th, 2008, 01:17 AM
thankyou.. i will search for it now.