Example: Windowed application

In this example, we will create a standard windowed application out of an SWF file.

Do the following to create a windowed application:

  1. Open Chameleon Flash.
  2. Click New to create a new project file. Select the 'Create a new empty project file' option in the wizard and skip it.
  3. Open the Project editor.
  4. Enter the name “My first application” and set the EXE application option.
  5. Now open the Source tab.
  6. You create an application out of only one SWF file so select “Compile one SWF File”, click Browse and specify the path to the file “demo.swf” in the “Tutorials\demo” directory.
  7. Open the Output tab.
  8. Specify the path where the application file will be created.
  9. Now switch to the Application tab.
  10. Make sure that the Transparent Window option is disabled and the Border / Caption / Window Menu / Minimize / Maximize / Sizing options are enabled. With this configuration, Chameleon Flash will create a standard windowed application.
  11. Enable the “SWF file Width / Height” option to make the size of the window equal to the size of the SWF file.
  12. Click Ok.
  13. Click Save to save the project.
  14. Click Preview to view the application.
  15. Close the Preview window and click Compile to compile the application.
  16. You can use the Run button to run the application after the compilation.