Sand Box Error on HttpRequest


hi,

i trying access getsearchresults method of fotolia's rest api using httprequest follows,

 

var httpservice:httpservice = new httpservice();

httpservice.url=

"http://"+key+"@api.fotolia.com/rest/1/search/getsearchresults?search_parameters[words]=smile&sear ch_parameters[limit]=100";

 

  httpservice.method = "get";

  httpservice.resultformat = "text";

  httpservice.addeventlistener(resultevent.result, onhttpresult, false, 0, true);

  httpservice.addeventlistener(faultevent.fault, onhttpfault, false, 0, true);

  httpservice.send();

 

 

it runs fine locally when deploy server error

 

error #2048: security sandbox violation: http://www.crickopedia.com/ashar/testfotoliasecurity1/test.swf cannot load data http://nxmpat7dpf9x3sy9qvwqsll8ixgn9nxm@api.fotolia.com/rest/1/search/getsearchresults?sea rch_parameters//nxmpat7dpf9x3sy9qvwqsll8ixgn9nxm@api.fotolia.com/rest/1/search/getsearchresults?search_parameters[words]=smile&search_parameters[limit]=10 0.


moreover works fine on firefox on other browser ie, safari throws above error.

do have suggestion?am missing here?


ashar



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support