 	 */
 	protected function setDownloadProgress(completed:Number, total:Number):void
 	{
+        if (!_barFrameSprite)
+            return;
+
 		const outerHighlightColors:Array = [0xFFFFFF, 0xFFFFFF];
 		const outerHighlightAlphas:Array = [0.12, 0.80];
 		const fillColors:Array = [0xA9A9A9, 0xBDBDBD];

		g.lineTo(2, 2);
		g.lineTo(w - 2, 2);
		g.lineTo(w - 2, h - 1);
	}
	
	


		if (_showingDisplay)
		{
            // if show() did not actually show because of SWFObject bug
            // then we may need to draw the download bar background here
            if (!_downloadComplete)
    			setDownloadProgress(100, 100);

			setInitProgress(_initProgressCount, initProgressTotal);
		}
	}
