[OSM-dev] crossdomain.xml
Tom Hughes
tom at compton.nu
Mon Apr 26 18:12:01 BST 2010
On 26/04/10 17:53, Simon Lopez wrote:
> For example, if you try to load
> http://www.openstreetmap.org/openlayers/img/404.png in a flash
> application you'll geat a "SecurityError: Error #2123" because Flash
> can't find "http://www.openstreetmap.org/crossdomain.xml".
If your flash player can't find that file then it's broken.
What may be confusing you is that if you want to be able to access the
api you need to explicitly tell flash to load:
http://www.openstreetmap.org/api/crossdomain.xml
likewise if you want to use oauth you need to tell it to load:
http://www.openstreetmap.org/oauth/crossdomain.xml
the root crossdomain file simply tells flash to trust any other
crossdomain files served with the correct content type.
I don't believe we currently support cross domain access to tiles
however, but that is something you would need to take up with Jon as he
runs the tile server.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the dev
mailing list