stop(); this.onEnterFrame = function():Void { if (this.getBytesLoaded() == this.getBytesTotal()) { play(); delete this.onEnterFrame; } };