I am getting a sandbox violation when run this code.
We have a valid key for our domain, but I am doing development
on my local machine does this matter?
public class GoogleGeocoder extends HTTPService implements IResponder
{
public function GoogleGeocoder(rootURL:String=null,
destination:String=null)
{
super(rootURL, destination);
this.url = "http://maps.google.com/maps/geo";
}
public function geocode( query:String ) : void {
var parms:Object = new Object();
parms.q = query;
parms.key = "MY_KEY";
parms.output = "xml";
var token:AsyncToken = this.send( parms );
token.addResponder( this );
}
public function result(obj:Object):void{
}
public function fault(obj:Object):void{
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---