Re: [Flashcoders] Preloading FLV with NetStream
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.cac2393576.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.cac2382b93.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
Re: [Flashcoders] Preloading FLV with NetStream
Hmm Jack is there an as3 version of that cool PreloadManager as well:)? greetz JC On Fri, Aug 7, 2009 at 10:13 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: 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.cac2393576.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.cac2382b93.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
Re: [Flashcoders] Preloading FLV with NetStream
Hi Paul, ok thanks cool. Meanwhile I've whipped up a sample using flv's but I might have to switch to images like you said! If anyone would care to see if this works okay on their browsers it'd be appreciated: http://www.wichman-media.com/misc/bin/ The awesome floor texture:) will become a 3d background, the arrows will become persons walking to and fro, the line will become a microphone allowing you to interview people. And yes its a prototype and looks like crap ;) player 10 required btw tia! Hans On Fri, Aug 7, 2009 at 11:42 AM, Paul Andrews p...@ipauland.com wrote: Hans Wichman wrote: 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:) I have done this for people silhouettes using walk cycles generated with poser! Basically it was used to build a pseudo crowd-scene (lots of instances of the movieclips) with the movement of the people controlled with actionscript. No video, just frame by frame walk cycles playing in a movieclip controlled by actionscript. Given your application I would use that exact same technique again, or at least experiment with it. Paul regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Preloading FLV with NetStream
Hans Wichman wrote: Hi Paul, ok thanks cool. Meanwhile I've whipped up a sample using flv's but I might have to switch to images like you said! If anyone would care to see if this works okay on their browsers it'd be appreciated: http://www.wichman-media.com/misc/bin/ The awesome floor texture:) will become a 3d background, the arrows will become persons walking to and fro, the line will become a microphone allowing you to interview people. And yes its a prototype and looks like crap ;) Seems to work OK. The sound man is already ready - I can see his mike at the top of the movie! ;-) Just one thing to be careful about when doing this kind of thing where the feet are visible (this is an old walk cycle problem). If the feet are visible and the character is moving, the speed at which the character can be moved without looking as though they are doing some variant of a MJ moonwalk will be determined by the walkcycle animation. Move too fast and they look like they are being dragged along the ground. Too slow and the moonwalk springs to mind. Paul player 10 required btw tia! Hans On Fri, Aug 7, 2009 at 11:42 AM, Paul Andrews p...@ipauland.com wrote: Hans Wichman wrote: 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:) I have done this for people silhouettes using walk cycles generated with poser! Basically it was used to build a pseudo crowd-scene (lots of instances of the movieclips) with the movement of the people controlled with actionscript. No video, just frame by frame walk cycles playing in a movieclip controlled by actionscript. Given your application I would use that exact same technique again, or at least experiment with it. Paul regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Preloading FLV with NetStream
lol it's the vanishing point actually:) but thanks for checking and the tip about the feet! On Fri, Aug 7, 2009 at 1:22 PM, Paul Andrews p...@ipauland.com wrote: Hans Wichman wrote: Hi Paul, ok thanks cool. Meanwhile I've whipped up a sample using flv's but I might have to switch to images like you said! If anyone would care to see if this works okay on their browsers it'd be appreciated: http://www.wichman-media.com/misc/bin/ The awesome floor texture:) will become a 3d background, the arrows will become persons walking to and fro, the line will become a microphone allowing you to interview people. And yes its a prototype and looks like crap ;) Seems to work OK. The sound man is already ready - I can see his mike at the top of the movie! ;-) Just one thing to be careful about when doing this kind of thing where the feet are visible (this is an old walk cycle problem). If the feet are visible and the character is moving, the speed at which the character can be moved without looking as though they are doing some variant of a MJ moonwalk will be determined by the walkcycle animation. Move too fast and they look like they are being dragged along the ground. Too slow and the moonwalk springs to mind. Paul player 10 required btw tia! Hans On Fri, Aug 7, 2009 at 11:42 AM, Paul Andrews p...@ipauland.com wrote: Hans Wichman wrote: 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:) I have done this for people silhouettes using walk cycles generated with poser! Basically it was used to build a pseudo crowd-scene (lots of instances of the movieclips) with the movement of the people controlled with actionscript. No video, just frame by frame walk cycles playing in a movieclip controlled by actionscript. Given your application I would use that exact same technique again, or at least experiment with it. Paul regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Preloading FLV with NetStream
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] 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@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
RE: [Flashcoders] Preloading FLV with NetStream
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 [EMAIL PROTECTED] Subject: Re: [Flashcoders] Preloading FLV with NetStream To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] 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] Preloading FLV with NetStream
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
RE: [Flashcoders] Preloading FLV with NetStream
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 [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] 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
Re: [Flashcoders] Preloading FLV with NetStream
Sweet! Looks exactly like the thing I need. Gonna give it a try. Thank you very much. On 4/3/07 6:42 PM, Jack Doyle [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Subject: [Flashcoders] Preloading FLV with NetStream To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] 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@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