         
         if (playPauseButton)
             playPauseButton.selected = playing;
+        
+        //trace("mediaPlayerStateChangeHandler " + event + " state = " + event.state + " playing = " + playing);
         
         dispatchEvent(event);
     }

     */
    public function play():void
    {
        videoDisplay.play();
    }
    

        
        // if streaming, then we pretend to have everything in view
        // if progressive, then look at the bytesLoaded and bytesTotal
        if (!videoDisplay.videoPlayer.canLoad)
            scrubBar.loadedRangeEnd = videoDisplay.duration;
        else if (videoDisplay.bytesTotal == 0)
            scrubBar.loadedRangeEnd = 0;
