11.1 The Basic Directory Structure

 <  Day Day Up  >  

Before we start creating content, let's lay out the basic directory structure for our application.

Follow these steps:

  1. Create a directory named AppName on your hard drive. The AppName directory will contain everything in our project, including source code and final output. In a real project, you'd use your application's actual name instead of AppName .

  2. In the AppName directory, create a subdirectory named deploy . The deploy directory will contain the final, compiled application, ready for posting to a web site or other distribution medium.

  3. In the AppName directory, create a subdirectory named source . The source directory will contain all source code for the application, including classes ( .as files) and Flash documents ( .fla files).

Your application directory structure should look like this:

 AppName/    deploy/    source/ 

In our example application, we have no external assets such as sounds, text copy (Word documents, etc.), or artwork (e.g., scans , Photoshop files, or Illustrator files). In a more complex scenario, we'd create an AppName/assets folder to contain those external files.

 <  Day Day Up  >  


Essential ActionScript 2.0
Essential ActionScript 2.0
ISBN: 0596006527
EAN: 2147483647
Year: 2004
Pages: 177
Authors: Colin Moock

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net