Thanks jord -- that was indeed the issue. If anyone else does Flash+Yahoo maps, the url to use instead (the one that has a cross-domain file in place) is

http://local.yahooapis.com/MapsService/V1/geocode

Helen
new tute: http://flash-creations.com/notes/sample_yahoomap.php


Jordan L. Chilcott - Interactivity Unlimited wrote:

Is it possible that it could be a cross-domain policy situation here?
What would happen if you called it from a back-end (I'd best guess
that it would probably work)?

jord

On 3/8/07, Helen Triolo <[EMAIL PROTECTED]> wrote:

1 (works): From a browser, this returns valid XML with geocode information:

http://api.local.yahoo.com/MapsService/V1/geocode?state=MD&city=Derwood&street=16101%20Frederick%20Road&appid=anyid

(doesn't seem to care what appid is used)

2 (works): Testing within the Flash 8 IDE, I can use loadVars to call
that script (with those parameters set) and an XML onload routine to
retrieve them -- works fine.

3 (doesn't work): When I publish and run it from a swf in an html page
in the browser, I get an XML read error (the parameter passed to my xml
onload routine is false).

What could be causing the XML read/parse error in 3?  (doesn't work with
a valid appid either)


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to