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:
- Open Chameleon Flash.
- Click New to create a new project file. Select the 'Create a new
empty project file' option in the wizard and skip it.
- Open the Project editor.
- Enter the name “My first application” and set the EXE
application option.
- Now open the Source tab.
- 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.
- Open the Output tab.
- Specify the path where the application file will be created.
- Now switch to the Application tab.
- 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.
- Enable the “SWF file Width / Height” option to make the
size of the window equal to the size of the SWF file.
- Click Ok.
- Click Save to save the project.
- Click Preview to view the application.
- Close the Preview window and click Compile to
compile the application.
- You can use the Run button to run the application after
the compilation.