perc._width=1; onEnterFrame=function() { comp.addEventListener("progress", loadListener); } loadListener.progress = function(eventObj) { perc._width=comp.percentLoaded*10; perc._x=50; };