Not to detract in any way from Jason's excellent solution.  I very much
appreciate his sharing.  And I love the fotoko.com UI.  Very nicely done :-)

Just as an fyi ... a solution is also provided in a January 2005 Devnet
article by Lisa Larson under the heading "Generating Dynamic Thumbnails":
Creating a Dynamic Playlist for Streaming Flash Video
http://www.adobe.com/devnet/flash/articles/video_player_05.html

In Lisa's source code the key logic follows the comments:
//get first frame of video
and:
//begin at the specified start point, and play one frame
ns.play( stream, start, 0 );

Rather than using close() Lisa's code specifies a len argument of 0 on
play().
LiveDocs for play() method on NetStream here:
http://livedocs.macromedia.com/flash/8/main/00002565.html

hth,

g

On 11/27/06, Jason Ross <[EMAIL PROTECTED]> wrote:

Hi - I had this same question a while back and never really found an
answer via the list. What I ended up doing works very well, if what you
want to do is get the first frame of the video to be the image.

...



_______________________________________________
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

Reply via email to