Hi, I stumbled on this thread and kind of need to do the same thing. I have an area where a number of persons should be walking around randomly.
I was thinking about something like this: * each person gets 4 flv's: (or 2 if i mirror them): turn right, walk right, turn left, walk left * all the flv's get preloaded * a player class plays 'walk right' for x times, then 'turn left', 'walk left' for y times (x & y are random), 'turn right' and repeat Is this feasible? Can I put 6 video objects on stage without any problems? And concerning the preloading, I was thinking about simply setting bufferTime to a very high value or is that naive? Is preloading all the flv's in the cache and keeping the bufferTime as normal a better option? What happens if the user has disabled his/her browser cache? Another option would be to load the walk cycles as still images, not sure what the better option, your opinion is appreciated:) regards JC On Wed, Apr 4, 2007 at 6:49 PM, Jack Doyle <j...@greensock.com> wrote: > The PreloadAssetManager class simply preloads your assets into your > browser's cache; it is not meant to be used for playback or managing your > FLVs once they're preloaded. There's nothing special that you need to do > in > order to access the preloaded FLVs - just call them as you normally would > either using a NetStream object of your own or an FLVPlayback component or > whatever. The user's browser will be smart enough to used the cached FLVs > instead of going out to the web and downloading them again. > > You might want to search the Flash Help files for NetStream or > FLVPlayback. > > Jack > > -----Original Message----- > Date: Wed, 04 Apr 2007 10:59:02 -0400 > From: leolea <pou...@videotron.ca> > Subject: Re: [Flashcoders] Preloading FLV with NetStream > To: flashcoders@chattyfig.figleaf.com > Message-ID: > <c2393576.e280%pou...@videotron.ca<c2393576.e280%25pou...@videotron.ca> > > > Content-Type: text/plain; charset=US-ASCII > > > Preloading works super fine! Thank you very much for this class. > > I am preloading a bunch of FLVs. Once they get at 100%, how do I access > them > using a NetStream object (or other) ? > > (I need to implement something that initates the playback of the first > one, > when it reaches the end I must start the second one, so on...) > > > On 4/3/07 6:42 PM, "Jack Doyle" <j...@greensock.com> wrote: > > > Yep, you can preload FLVs with the NetStream. Check out the > > PreloadAssetManager class which will handle it all for you: > > http://www.greensock.com/ActionScript/PreloadAssetManager > > > > Jack > > > > -----Original Message----- > > Date: Tue, 03 Apr 2007 16:04:35 -0400 > > From: leolea <pou...@videotron.ca> > > Subject: [Flashcoders] Preloading FLV with NetStream > > To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com> > > Message-ID: > > <c2382b93.e226%pou...@videotron.ca<c2382b93.e226%25pou...@videotron.ca> > > > > Content-Type: text/plain; charset=US-ASCII > > > > Hi, > > > > Is it possible, using the NetStream object, to "preload" a FLV. > > > > I have multiple FLV videos that I need to play back-to-back smoothly. I > want > > all of them to be preloaded so that when I start playback it doesn't > buffer > > or lag in any way. > > > > I can't seem to find a way so my next alternative would be to use SWF > with > > MovieClipLoader. I'd like to avoid that. > > > > Thanks > > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders