F-IN-BOX .NET Help >> How to

Get a Snap image of the current Flash movie frame

You can get a bitmap image from the current frame of a flash movie. It means you are able create applications that can coverts Flash movies to a series of bitmaps, JPEGs and others. Also you can build generated images to make an AVI video for example. f_in_box__lib.f_in_box__form.GetBitmap() returns a bitmap with alpha channel.

[ C# ]
Bitmap bmpWithoutAlpha = f_in_box__control1.GetBitmap();
Bitmap bmpWithAlpha = f_in_box__form1.GetBitmap();
...
f_in_box__control2.TransparentMode = true;
f_in_box__control2.FlashProperty_Movie = "...";
Bitmap bmpWithAlphaToo = f_in_box__control2.GetBitmap();

[ VB.Net ]
Dim bmpWithoutAlpha As Bitmap = f_in_box__control1.GetBitmap()
Dim bmpWithAlpha As Bitmap = f_in_box__form1.GetBitmap()
...
...
f_in_box__control2.TransparentMode = True
f_in_box__control2.FlashProperty_Movie = "..."
Dim bmpWithAlphaToo As Bitmap = f_in_box__control2.GetBitmap()


Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe