      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public var pauseButton:Button;
+    public var pauseButton:ButtonBase;
     
     [SkinPart(required="false")]
     

        videoElement.stop();
    }
    
    //--------------------------------------------------------------------------
    //
    //  Event handlers
    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    private function videoElement_completeHandler(event:spark.events.VideoEvent):void
    {
        if (totalTimeLabel)
            totalTimeLabel.text = videoElement.totalTime.toString();
        
        dispatchEvent(event);
    }
    
    /**
     *  @private
     */
    private function videoElement_metaDataReceivedHandler(event:spark.events.VideoEvent):void
    {
        if (scrubBar)
        {
            scrubBar.minimum = 0;
            scrubBar.maximum = videoElement.totalTime;
            scrubBar.value = videoElement.playheadTime;
        }
        
        if (totalTimeLabel)
            totalTimeLabel.text = videoElement.totalTime.toString();
        
        dispatchEvent(event);
    }

    /**
     *  @private
     */
    private function videoElement_metaDataReceivedHandler(event:spark.events.VideoEvent):void
    {
        if (scrubBar)
            updateScrubBar();
        
        if (totalTimeLabel)
            updateTotalTime();
        
        dispatchEvent(event);
    }
    
    /**
     *  @private
     */
    private function videoElement_playHeadUpdateHandler(event:spark.events.VideoEvent):void
    {
        updateScrubBar();
        
        if (playheadTimeLabel)
            updatePlayheadTime();
        
        dispatchEvent(event);
    }
    
    /**
     *  @private
     */
    private function videoElement_progressHandler(event:ProgressEvent):void
    {
        if (scrubBar)
            updateScrubBar();
        
        dispatchEvent(event);
    }
