The new html wrapper for AS 3 projects in FDT 4.2 is a really nice feature!

Here is a “Quick Tip” that will let you full this web page inside of FDT.

Lets create a simple ball project and view it in the browser.

package {
   import flash.display.Shape;
   import flash.display.Sprite;

   public class Main extends Sprite {

   // Global variables
   private var circle:Shape = new Shape();
   public function Main() {

   public function init():void {;, 150, 50);;


Now when you run the project your html page is created for you. To view this inside of FDT open in web browser

this will produce this view in FDT

By |2011-03-19T20:14:34+00:00March 19th, 2011|