     }
 
     protected const log :Log = Log.getLog(this);
+
+    protected var _autoPlay :Boolean;
     
     protected var _vid :Video = new Video();
 

public class FlvVideoPlayer extends EventDispatcher
    implements VideoPlayer
{
    public function FlvVideoPlayer ()
    {
        _sizeChecker = new Timer(100);
        _sizeChecker.addEventListener(TimerEvent.TIMER, handleSizeCheck);


        _sizeChecker.start();

        _netStream.play(url);
        if (_autoPlay) {
            updateState(VideoPlayerCodes.STATE_PLAYING);

        } else {
            _netStream.pause();
            updateState(VideoPlayerCodes.STATE_READY);
        }
    }

    // from VideoPlayer
