How To

How to Write Flash 9 For Free

Member
By NeilO
eHow Community Member
(6 Ratings)

Adobe/Macromedia Flash is everywhere on the web as a platform for animations, movies, games, and even commercial web sites. As of writing this the latest version is Flash 9 which uses ActionScript 3 underneath. Developers can build applications for this platform for free IF you're willing to forsake the Flash IDE.

Difficulty: Moderate
Instructions

Things You'll Need:

  • Programming Experience
  1. Step 1

    Download the free Flex SDK 2 (http://www.adobe.com/products/flex/downloads/) from Adobe's website. This is approximately 40 megabytes. Flex is basically a standard library and compiler (MXML) that can build and output SWF's (Flash Files).

  2. Step 2

    Download and install the free Java Runtime Environment (JRE) from http://www.java.com/getjava/. The MXML (Flex) compiler is written in Java and will require this in order to run.

  3. Step 3

    Install the free Flex SDK from the ZIP file (flex_sdk_2.zip) you downloaded. For this, first create a local folder on your computer and unzip it there. Then add the bin\ folder to the PATH environment variable so you can run MXMLC.exe (the Flex/MXML compiler) from any directory.

  4. Step 4
    simple paint app
    simple paint app

    Write a stand-alone ActionScript 3 (*.as) file. If you're unfamiliar with ActionScript you will need to find a tutorial or book, but basically just know that it is a form of JavaScript/ECMAScript and if you're comfortable with that (or C/Java/C#) then you should understand it okay.

  5. Step 5
    compile paint app
    compile paint app

    Build your ActionScript file using MXMLC.exe. Some parameters you'll want to use will probably be -default-frame-rate, -default-size, and -default-background-color. This will compile your *.AS file into a *.SWF or output any errors that happened.

  6. Step 6
    web page for paint app
    web page for paint app

    Run the *.SWF either with the free Flash 9 Debug Player (install under player\debug in your Flex 2 SDK directory) or within your web browser (FireFox / Internet Explorer).

Post a Comment

Post a Comment

Have you done this? Click here to let us know.

I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow’s Internet Expert.

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

Demand Media
eHow_eHow Technology and Electronics