The first thing we need to do is open Flash CS3 and create a new Flash File (ActionScript 3.0) as I did in Figure 1-1.


Figure 1-1: Create a new Flash AS3 file.

Next we have to save the file. When you save place the file in a directory called c:\Projects\GettingStartedWithAS3\Dev_Develop and call our file Main like I have done in Figure 1-2.


Figure 1-2: Save our new file in a directory called c:\Projects\Dev_Develop\Main.fla

Next go into c:\Projects\ and create a directory called Dev_Deploy. Once you have done that go into the publish settings of you new Main.fla and change the publish path for the swf and the html to Dev_Deploy. See Figure 1-3.




Figure 1-3: Set the publish settings in Main.fla to have the swf and html export to the Dev_Deploy directory.

This is not really essential and not specific to AS3 but I find that it is much easier when uploading the finished project to your server because all of you development files are seperate from you deployable files.

Lets now move onto the next step and create our DocumentClass.