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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -