stop();
stage.addEventL istener(Event.E NTER_FRAME, update);
function update(e:Event) :void{
var loadedBytes:Num ber=stage.loade rInfo.bytesLoad ed;
var totalBytes:Numb er=stage.loader Info.bytesTotal ;

progress_mc.sca leX=loadedBytes/totalBytes;
percent_txt.tex t= Math.floor((loa dedBytes/totalBytes)*100 )+"%";

if(loadedBytes == totalBytes){
gotoAndStop(2);
stage.removeEve ntListener(Even t.ENTER_FRAME,...