Aspose Examples
Aspose Examples Banner

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


 Add HTML Demo - Aspose.Flash

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

  1. Create FlashContainer object and set FrameRate and FrameSize properties
  2. Define background color using SetBackgroundColor class
  3. Create a new font using DefineFont2 class
  4. Create a text object using DefineEditText class
  5. Set HTML property to true
  6. Assign HTML contents to InitialText property
  7. Place the text object on FlashContainer using PlaceObject2 class
  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 HTML in a flash movie.