TwelvestoneFlash

AS2: FLVplayer chaining video


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
scudsucker
 
2008-11-07

Ok.

I have a job where a user can choose 1 each from 4 categories of videos. The video has been shot so that any video from group 1 will segue seamlessly into any video from group 2, group 2 into group 3 etc.

Now, the major problem is that I need to preload all of the .flv files so that playback is also seamless. (South African ADSL speeds would make anyone cry)

My current plan is to have 4 FLVplayer components onstage, one above another. When all are completely loaded, I'll set #1 to play, when it completes it triggers play on #2 and is made invisible.

However, I have seen that apparently the FLVplayer has the ability to chain flv files in a single player (using activeVideoPlayerIndex ) - though I am struggling to make sense of the examples given in the Flash 8 help, and on the net.

Does anyone have a simple example of this chaining effect, and, is it possible to load 100% of every .flv before play starts?

scudsucker
 
2008-11-07

Great news: the getBytesLoaded and getBytesTotal are the sum of all flv files in all player instances within a single FLVplayback component.

So it looks like child's play to preload.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

AS2: FLVplayer chaining video