Aspose Demos
Aspose Demos Banner

Here you will find a collection of live ASP.NET and Java demo applications created with Aspose products. The source code of the demos is available on website for download, feel free to check it out at Aspose Downloads Page.


Most Clicked:

 Add Shapes Demo - Aspose.Flash

The sample demonstrates how to add shapes in a flash movie.

  1. Create FlashContainer object and set FrameRate and FrameSize properties
  2. Create ShapeManager and DefineSprite objects
  3. Add SolidLine as line style and select index using SelectLineStyle method
  4. Use DrawCircle and DrawPolygon methods to draw shapes on the flash movie
  5. Create DefineShape2 and add it to PlaceObject2 object
  6. Add DefineSprite object to the PlaceObject2
  7. Add PlaceObject2 object in the FlashContainer
  8. Add ShowFrame object and save the movie
  9. Displaying the output flash file in client browser.

Click Process to see how demo generates a flash (SWF) file that demonstrates how to add shapes in a flash movie.