_root.onEnterFrame = function() { l = _root.getBytesLoaded(); t = _root.getBytesTotal(); if (l>=t) { play(); } else { stop(); _parent.txt = Math.round(l/t*100)+"%"; } };