code is below which i am using please help me...it always goes to fault
even i added the crossdomain.xml in the root file.
public class MapDelegate
{
protected var googleUrl:String = "www.google.com";
private var responder:IResponder;
public function MapDelegate(responder:IResponder)
{
this.responder = responder;
}
public function getWeather(zipCode:String):void
{
var googleWeatherAPI:HTTPService = new HTTPService();
googleWeatherAPI.url="http://www.google.com/ig/api?weather=zipCode" ;
googleWeatherAPI.resultFormat ="e4x";
var token:AsyncToken = googleWeatherAPI.send();
token.addResponder(responder);
}
}
On Wed, May 23, 2012 at 9:04 AM, Priti Gupta <[email protected]>wrote:
> Hi all,
>
> I am using google weather service call but i m getting--
>
> Channel.Security.Error
>
> Security error accessing url
>
> Error #2048: Security sandbox violation:
> http://localhost:8080/SMSWeb/nmsview/NMSMain.swf cannot load data from
> http://www.google.com/ig/api?.
>
>
> and also i added the crossdomain.xml .this is successfully loaded. but
> still i am getting the same problem.
> Please help me out.
>
> _
> Thanks
> Priti
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" 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/flex_india?hl=en.