                 }
                 flushBuffer();
             }
+            _playbackCompleted = false;
             _timer.start();
         }
 

            var pos : Number = position;
            var bufLen : Number = _hls.stream.bufferLength;
            var duration : Number = _playlistDuration;
            // dispatch media time event only if position/buffer or playlist duration has changed
            if(pos != _lastPos || bufLen != _lastBufLen || duration != _lastDuration) {
                _hls.dispatchEvent(new HLSEvent(HLSEvent.MEDIA_TIME, new HLSMediatime(pos, duration, bufLen, backBufferLength, _liveSlidingMain, _liveSlidingAltAudio)));
                _lastPos = pos;
                _lastDuration = duration;

            _hls.addEventListener(HLSEvent.PLAYLIST_DURATION_UPDATED, _playlistDurationUpdated);
            _hls.addEventListener(HLSEvent.LAST_VOD_FRAGMENT_LOADED, _lastVODFragmentLoadedHandler);
            _hls.addEventListener(HLSEvent.AUDIO_TRACK_SWITCH, _audioTrackChange);
            _hls.addEventListener(HLSEvent.PLAYBACK_COMPLETE, _playbackComplete);
        }

        public function dispose() : void {
