Skip to main content
New Participant
November 27, 2013
Question

AS2 isLive for progressive download issues

  • November 27, 2013
  • 1 reply
  • 790 views

Hey having some trouble with my FLV playback video player.  I am working with Flash Professional CS5.5 Actionscript 2 and have a video player that uses progressive download.  My issue started when it would not consistently recognise the "complete" event listener.

After looking into many solutions I've found some strange issues.  Firstly when isLive is false the video won't play until it has finished downloading.  However when isLive is true it will play the video while it is downloading, but the seekPercent() won't work unless the video is fully cached.  Also while isLive is true the complete event listener doesn't seem to work consistently.  What I don't understand is why isLive is affecting progressive download when it should not be applicable to HTTP download.

What also seems to be strange is this only happens in a web browser (Firefox, Chrome, and IE), when viewing from inside Flash's test view (CTRL Enter) or publishing to an exe it plays fine.  Another weird issue is my older backup video files work fine in a browser.  When I re-export the swf it no longer works the same way.  Has anybody encountered this before or know a good workaround?

Thanks Ryan

This topic has been closed for replies.

1 reply

kglad
Adobe Expert
November 27, 2013

if you're using a flash media server why are you using progressive download and how are you specifying that?

if you're not using fms, isLive isn't valid.

rynoAuthor
New Participant
November 27, 2013

I am not using a flash media server, it is purely progressive download.

kglad
Adobe Expert
November 27, 2013

then isLive is not valid.  from the adobe help docs:

FLVPlayback.isLive

Availability

Flash Player 8.

Edition

Flash Professional 8.

Usage

my_FLVPlybk.isLive 

Description

Property; a Boolean value that is true if the video stream is live. This property is effective only when streaming from a FMS or FVSS. The value of this property is ignored for an HTTP download.

If you set this property between loading new FLV files, it has no effect until the contentPath parameter is set for the new FLV file.