Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1: Programming Foundations: How ... > Running your program and compiling t...

Running your program and compiling the SWF file

So far you've only been working on one file, the HelloWorld.as file. This is your ActionScript program, and it's known as an AS file. It's the file that you do all your work in, but it's not your finished product.

Your finished product will be an SWF file. This is a file with a .swf extension. It's the file that will run in the Flash Player in a web browser and it's the file that you can upload to the Internet or share with others. The act of creating a SWF file is known as compiling it. (It's also known as building it, which is where Flash Builder gets its name from.)

There are two ways you can compile an SWF file in Flash Builder.

  • You can select Run Image Run from Flash Builder's main menu, or click the green play icon in toolbar. When you do this, Flash Builder builds the SWF file for you in the bin-debug folder in your project directory. It then launches it in the Flash Player.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint