Capture an Image of the Current Flash Movie Frame
With F-IN-BOX, you can capture a bitmap from the current frame of a Flash movie.
This feature allows you to create applications that convert Flash movies into sequences of bitmaps, JPEGs, or other formats.
You can also compile the captured frames into an AVI video or similar output.
The f_in_box__lib.f_in_box__form.GetBitmap() method returns a bitmap that includes an alpha channel for transparency.
C# Example
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 Example
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()
This feature makes it easy to integrate Flash content into image-processing workflows, build previews, or export Flash animations into other video formats.