Hello Joao,

Sorry for getting late to replying it, but I´m not a flash expert, will ask
a friend to give an opinion about it. When I developed my project (using as3
though), tested it deploying under 2 different domains, making sure nothing
would happen about crossdomain.

It´s not related to opensocial or orkut itself, it´s something misconfigured
on your flash.

Please, hold until tomorrow, or if you want, get in touch directly on our
opensocial-br list. http://groups.google.com/group/opensocial-br

Regards,

Robson Dantas

Em 29 de março de 2010 14:57, João <[email protected]> escreveu:

> Hi the all!
> I'm getting an error when trying to access crossdomin JS by my swf, I
> have not found nemhum discussion on how to gain access to the
> crossdomain opensocial Orkut someone can help me solve this problem?
>
> SecurityError: Error #2060: Violação da área de segurança: o
> responsável pela chamada http://joaocarlos.com.br/reliase/aplicativo_1.swf
> de ExternalInterface não pode acessar
>
> http://hcuiirb8vtaeorom9aq1vtem1akfs520.a.sandbox.orkut.gmodules.com/gadgets/ifr?url=http%3A%2F%2Fwww.joaocarlos.com.br%2Freliase%2Fap_1.xml&parent=http://www.sandbox.orkut.com.br&lang=pt&country=BR&synd=orkut-sandbox&view=canvas&mid=0&libs=core%3Aflash%3Aopensocial-0.8&h=600&st=e%3DAMf94nkhTyOCz01Mh8m1FM5DQHtgW%252B07YuvXuE0o2G%252FOkFIonP8DhhKW%252FJy3h2bYqZMrYGBad7IT3D03aLEMbKdU5%252Fa1XzMg9lHvp%252BO249OmPNnC7ExBvVQhQpFKsa7ap625soSMsh3Q%26c%3Dorkut-sandbox#gadgetId=151378297016&gadgetOwner=03338729443206945604&gadgetViewer=03338729443206945604&view-params=&rpctoken=aToken
> .
>        at flash.external::ExternalInterface$/_initJS()
>        at flash.external::ExternalInterface$/addCallback()
>        at Main/onFrame2()
>
> O my ActionScript
> ExternalInterface.marshallExceptions = true;
>
> //Método registra um ActionScript que pode ser chamado a partir do
> contentor
>                      ExternalInterface.addCallback("foo", foo);
>                        try {
>                        var text:String = "Meu primeiro javascript";
>        ExternalInterface.call("sendToJavaScript", text);
>        } catch(e:Error) {
>        trace(e)
>                }
>                }
>                public function foo(value) {
>                        avai.wordWrap = true;
>                                avai.width = 300;
>                                avai.height = 500;
>                                avai.htmlText += '<br/> '+value;
>                                 addChild(avai);
>                                }
>
> and my XML =>http://www.joaocarlos.com.br/reliase/ap_1.xml
>
> I thank you for your attention
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orkut Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<opensocial-orkut%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-orkut?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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/opensocial-orkut?hl=en.

Reply via email to