actionscript 3 - How to take snap shot of a video using action script 3.0? -
i have swf player button , flvplayback component. have save current key frame of video when click button. how can achieve in action script 3.0
you have use draw method of bitmapdata class. sample code this:
var bd:bitmapdata = new bitmapdata(vidwidth, vidheight); bd.draw(yourflvplaybackinstance); //or may use instance of video flvplayer //now can assign bitmapdata bitmap var bitmap:bitmap = new bitmap(bd);
Comments
Post a Comment