I have a AS3 swf that scrapes google images for a search query and displays some of the results. It works locally, but when the swf is on a server it can't access google. I've tried Security.allowDomain, but it doesn't work. Any suggestions?
A:
Google's crossdomain.xml might be preventing you from accessing it. Try their Ajax Search API together with ExternalInterface instead. Even then, you can't access the images in search results if third party sites doesn't have a crossdomain policy file that allows your domain to access files from there.
Amarghosh
2009-11-29 17:24:02
A:
One suggestion would be to use a server script to retrieve the requests (i.e. loadImage.php?url=http://....) but its very demanding for the server (as it has to download the files and then send them to the client)... depending on your needs some cache system could help...
Cay
2009-11-29 20:12:30