Hi,
I am some kind of confused. In our current project I am loading the youtube-player with a swf-Loder like this:
_swfLoader = new SWFLoader( "http://www.youtube.com/v/zMjmxF58wFc?version=3&fs=1&nologo=1&modestbranding=1&autoplay=0&autohide=0&showinfo=0",
{ noCache:false, allowMalformedURL:true });
_swfLoader.addEventListener( Event.INIT, onLoaderInit );
...
private function onLoaderInit( event:LoaderEvent ):void
{
addChild( _swfLoader.getContent( "http://www.youtube.com/v/zMjmxF58wFc?version=3&fs=1&nologo=1&modestbranding=1&autoplay=0&autohide=0&showinfo=0" ));
}
and everthing works fine...
But now I have to add this loader to a existing queue:
loader.insert( _swfLoader );
Afterwards the loader (on localhost) throws a Security-Sandbox-Error...
I have tried different LoaderContexts, loading crossdomains... but nothing works!
Does anyone has a hint for me?
Thanks a lot,
Uli