Tag Archive for 'mx:component'

03
Aug

Creating FLV cuepoint thumbnails using the Bitmap and BitmapData classes

This is semi-related to the previous post, but this is something I’ve wanted to do for a while now. In fact, I first started thinking about it when I did the Image color picker sample. Basically, how can you take a bitmap image of something on the Stage and then create an item renderer out of it. The answer turned out to be fairly easy (much to my surprise).

In this mini-application we look at how to take a snapshot of the video at each cue point. We then take that bitmap, and bind it to a TileList control’s data provider so our TileList shows handy video cue points, along with an HTML-formatted label of the cue point name/time/type.

Full code after the jump.

Continue reading ‘Creating FLV cuepoint thumbnails using the Bitmap and BitmapData classes’