I have now also did this within dreamweaver AIR development and I am getting the same issue
is there anyone out there who can help me with this? I have been suggling with it for days now :'(
Thank you all in advance
I also need bing maps.
var farinefive = new VELatLong(45.5, -73.54);
var pinLocation = new VELatLong(45.49, -73.56);
map = new VEMap('myMapDOMid');
This gives me back a similar errors informing me "ReferenceError: Can't find variable: VELatLong"&"ReferenceError: Can't find variable: VEMap" instead of "ReferenceError: Can't find variable: YMap" (error for yahoo maps).
but i don't know, maybe that is not it? If it is, does anyone have any ideas why? has anyone come across something like this before?
does anyone have any suggestions? Pls anything at all would help at this stage :'( :'( :'(
Thank you all again in advance
1 person found this helpful
I remember seeing a bakeoff application which showed how to load GMaps and Yahoo Maps into an AIR application. Here's the link for it: http://labs.adobe.com/technologies/air/samples/ ... its called RoadFinder. I'm thinking of using some of the logic in it myself as I've been cracking my head against the Flash APIs for Google Maps for a while now and its starting to seem impossible to do what I want. See here for where I'm struggling: http://forums.adobe.com/message/2182439.
However, in an iframe or frame, you can load a file in the application directory into a non-application sandbox, such as a remote sandbox "http://api.maps.yahoo.com". For example, the following example maps content installed in the sandbox subdirectory of the application to run in the remote sandbox for the http://api.maps.yahoo.com domain:
That local file (in the iframe) can now load a script file from http://api.maps.yahoo.com. And the parent page (of the iframe) can communicate with the child iframe using the AIR script bridge mechanism.
This is all described here:
And here's a "quick start" application that shows you how to use the sandbox mapping and script bridging features: