Create and Build Apache Royale® Projects

  1. To create a new Apache Royale® project do either one the following things:
    • In Moonshine choose File -> New -> Royale Browser Project
    • Choose Royale Browser Project in Moonshine splash screen.
  2. Choosing any above option will open new project creation dialogue:

    New Apache Royale project

    Editable fields are:

    • Project Name
    • Parent Directory
  3. Click Create to generate a new Apache Royale® project.

  4. Create option immediately creates a new Apache Royale® project, opens the project in the Moonshine workspace (left-hand tree menu) and its application file in Moonshine editor.

    Created Apache Royale project

  5. To run the project choose Project -> Build & Run. You can see the command line’s output in Moonshine’s console window (at the bottom).

    Apache Royale build SWF

  6. If everything goes fine, a browser window running the current project will open.

  7. To create HTML/JS choose Project->Build & Run as JavaScript. You can see command line’s output in Moonshine’s console window (at the bottom).

    Apache Royale build JS

  8. JavaScript files has been created in Project/bin/js-debug directory.

    Apache Royale after build