HomeCommunityControl GalleryGraphics & MultimediaFlashAspose.Flash for .NET

Aspose.Flash for .NET



Submit a Review

766 Downloads

5,504 Views


Description

Overview
Developers using Flash® content in conjunction with the powerful .NET framework have the ability to produce some of the highest quality, feature rich sites today. Aspose.Flash helps to extend the potential of that powerful combination even further. Aspose.Flash is a non-graphical, .NET Flash® management component. With Aspose.Flash developers can dynamically manipulate and generate Flash® content directly from their .NET applications. Aspose.Flash is written in native C# and is lightening fast.
Flash Files Processing
Aspose.Flash for .NET supports all kinds of .NET applications. It allows you to Open, Parse and Create Shockwave Flash (SWF) files. Using Aspose.Flash for .NET you can easily create SWF files from scratch and parse existing SWF files. It also allows for combining several Flash files into a single one. In addition to this, you can conveniently create banners with animation, menus or whole site, GIS maps or simple games etc.
Extended Multimedia Support
With Aspose.Flash for .NET you can easily add audio as well as video artifacts to your flash files. You can also insert images, simple morphing and gradients etc. Fill types like solid, linear, radial gradients and clipped bitmap are supported as well. Aspose.Flash for .NET gives you the freedom to work with text and variety of fonts as well as shapes, lines and curves etc. In addition to this, it also supports adding controls like buttons to the Flash files.
SWF to AVI and SWF to FLV Conversion
With Aspose.Flash for .NET you can easily convert SWF to AVI and SWF to FLV formats. Aspose.Flash for .NET provides an API RenderToFlv which can be used to export your SWF files to FLV. You can also find the SWF to AVI conversion demo in the Downloads section.
PPT to SWF Conversion
Aspose.Flash for .NET can be used with Aspose.Slides for .NET to convert PPT files to SWF.

Syntax Example

Converting an SWF file to FLV In this example, we’ll show our users how easy it is to convert a Flash movie into an FLV file. We have an input SWF file (SimpleMovie.swf) and we’re going to convert it to FLV (SimpleMovie.FLV). Aspose.Flash provides a single method named RenderToFlv which does the magic. This method is provided by FlashContainer class. In this example, we’ll learn how FlashContainer class is used to load a Flash movie and then call RenderToFlv method to convert the loaded SWF file into an FLV file. This output FLV file can be played using any FLV Player. You can download some free FLV Player from the internet. [C#] //create a flash container to load flash movie FlashContainer container = new FlashContainer("SimpleMovie.swf"); //create a file stream to hold and create an FLV file Stream outStream = new FileStream("SimpleMovie.flv", FileMode.Create); //call RenderToFLV method to conver SWF to FLV container.RenderToFlv(outStream); //clear buffer for this stream outStream.Flush(); //close the output stream outStream.Close(); [VB.NET] 'create a flash container to load flash movie Dim container As New FlashContainer("SimpleMovie.swf") 'create a file stream to hold and create an FLV file Dim outStream As Stream = New FileStream("SimpleMovie.flv", FileMode.Create) 'call RenderToFLV method to conver SWF to FLV container.RenderToFlv(outStream) 'clear buffer for this stream outStream.Flush() 'close the output stream outStream.Close()

Screenshots

Reviews

Submit a review