Google Maps API for Flash This API lets flash/Flex developers embed Google Maps in Flash applications.
While generating the API key you have to specify the exact URL of the website in which the application will be hosted otherwise it will throw an error "Initialization failed: please check the API key, swf location, version and network availability"
If you created the API key with your IP or doamin adress and after hosting if you browse it with the actual URL the application wont work for the same key.
Cheers and Have fun with Flash
Harish
What about an AIR app? There isn't a URL or IP per se
ReplyDeletehttp://code.google.com/apis/maps/documentation/flash/tutorial-flexbuilder.html#AIRDevelopment
ReplyDeletecheck this for AIR application dude there is some changes for AIR...
So, what is the solution?
ReplyDeleteInitialization failed: please specify an application URL
ReplyDeletegetting this error was refering this page for http://layersmagazine.com/integrate-google-maps-into-flash-cs4.html
NOT ABLE TO TEST THE MAP IN STEP 7.. USING CS5
Any help appreciable . Thank you
So anyone had this problem solve i have the same issue!
ReplyDeleteprivate var _url:String = "http://www.yoursite.com";
ReplyDelete/////////////////////////////////
private var mapaTF:Map = new Map();
mapaTF.url= _url;