Action frame on button select AS3 In need of help

In need of help!! I have been all over the net doing tutorials and trying different codes, but nothing has help. I have a page (web) that has 5 buttons to open and close external swf files.


I would like it if anyone could tell me what I'm dong wrong (I changed things so may times it really doesn't resemble what I started with). Im get frustrated...Can anyone help ? this is suppose to b AS3


<?xml:namespace prefix = o /> 


********************


 


/*Button function, with a page removal/* 


 


function onClick_b(mich_btn:MouseEvent):void {


 


}


mich_btn.addEventListener(MouseEvent.CLICK, onClick_b);


gotoAndStop(21);


 


function clickHandler_b(event:MouseEvent):void {


      var uil:UILoader = event.currentTarget as UILoader;


      uil.unload();


      removeChild(mLoader_b);


}


 


********************


 


 


 


 


*/Action frame on button select/*


 


import flash.display.DisplayObject;


import flash.display.Sprite;


import flash.events.MouseEvent;


  


 


var mLoader:Loader = new mLoader();


var mLoader:URLRequest = new URLRequest(tribute.swf);


mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);


mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);


mLoader.load(mLoader);


 


 


function onCompleteHandler(loadEvent_m:Event) {


      addChild(loadEvent_m.currentTarget.content);


}


function onProgressHandler(mProgress:ProgressEvent) {


      var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;


      trace(percent);


}


startLoad();


 


 


_btn.mouseEnabled = false;