Jump to content
Search Community

Nested SWFLoader

niggeulimann test
Moderator Tag

Recommended Posts

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...