Skip to main content

1) Setting up the project

CREATE THE PROJECT
IMPORT CAIRNGORM
CREATE MAIN.MXML
CREATE VIEW CONTAINER
CREATE PROJECT SOURCE FOLDERS
COPY TEMPLATE FILES
CHECK ALL FILE NAMES, CLASS NAMES, REFERENCES

1.1) Create an MXML project, import the Cairngorm source code as com.adobe.cairngorm (or put the binary on the build path).

1.2) Create the view container Main.mxml containing a ViewSet using this template file (you can also use other navigator components such as TabNavigator).

1.3) Create the project source directory (e.g. uk.ac.warwick.yourprojectname).

1.4) Create the following project source folders:

  • business
  • command
  • control
  • model
  • view
  • vo

1.5) Copy the following template files:

Here is an example project in the Navigator window:

navigator

1.6) Change the package names for the three imported files so that it contains the name of your project rather than "cairngormapptemplate".