...
Create a new directory for your FlexJS project and in that directory the directory make a sub-directory called src
. Change to the src
directory and create a file called, Demo.mxml
. Open the file and add the following Application
tag and content:
...
Save the file and compile it:
${FLEXJS_INSTALLDIR}/js/bin/mxmlc Demo.mxml
Once the compilation is complete, you will find a bin
directory parallel to the src directory. Open ../ (follow the instructions for "Creating js-debug Output Only"). Open bin/js-debug/index.html
in a browser. You should see a blue circle.
...
Save the file and compile it:
${FLEXJS_INSTALLDIR}/js/bin/mxmlc Demo.mxml
Open the ../bin
(follow the instructions for "Creating js-debug Output Only"). Open the bin/js-debug/index.html
file in a browser. You will see the circle move and fade across the screen. The loop
option on the Sequence
will make it run continuously.
...