Loading Youtube videos Please help

Hello

I am trying to load youtube videos inside a flash. I am passing the emebed swfUrl that points towards the video swf file on you tube.

For testing purposes I am loading just two videos. I have attached an fla file that has the code and other assets.

There are two buttons on the stage when you click a button it loads the swf file for the passsed http:// swf url and add it to a holder sprite. Now its working fine when you run it and click one button it loads the video for that but when you try to load another video by clicking the second button it doesn’t do anything.

It really annoying and I have really given up on this problem so any help is greatly appreciated.

The code on the main time line is given under


 
var _loader:Loader;
var _loader1:Loader;

btn.addEventListener(MouseEvent.CLICK, onClick);
btn1.addEventListener(MouseEvent.CLICK, onClick1);
var holder:Sprite = new Sprite;
addChild(holder);

function onClick(event:MouseEvent):void
{
 removeHolder();
 _loader = new Loader();
 var urlRequest = new URLRequest("[[COLOR=#003366]http://www.youtube.com/v/wr0uQrpkwZ4&f=gdata_videos[/COLOR]](http://www.youtube.com/v/wr0uQrpkwZ4&f=gdata_videos)");
 _loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaded);
 _loader.load(urlRequest);
}
function onLoaded(event:Event):void
{
 holder.addChild(_loader.contentLoaderInfo.content);
}
function onClick1(event:MouseEvent):void
{
 removeHolder();
 _loader1 = new Loader();
 var urlRequest = new URLRequest("[[COLOR=#003366]http://www.youtube.com/v/0qQSW2p1IvE&f=gdata_videos[/COLOR]](http://www.youtube.com/v/0qQSW2p1IvE&f=gdata_videos)");
 _loader1.contentLoaderInfo.addEventListener(Event.INIT, onLoaded1);
 _loader1.load(urlRequest);
}
function onLoaded1(event:Event):void
{
 holder.addChild(_loader1.contentLoaderInfo.content);
}

function removeHolder():void
{
 if (holder.numChildren > 0)
 {
  holder.removeChildAt(0);
 }
}

I am also attaching the fla file so please help