Programming in Adobe (Macromedia) Flash 8 ActionScriptExamples for learners who might never have programmed before. Zip Format - Download this tutorial
including the .fla and .swf files. (1.5 MBytes Approx) |
||
| Lesson |
Summary |
Homework |
| The classic beginner's program. This demonstrates text output. |
Write your own program that displays a message of your choice. Do it without notes! |
|
| Text input and output. This program uses the plus (+) operator to join text together. |
Add to this example to ask "where do you live?". Assuming your name is Fred and you live in Norwich, the program should produce output like this ... "Hello Fred from Norwich." |
|
| Adding two numbers together. Arithmetic operators. |
Add buttons for + - * / %. Find out what happens if you divide by zero. |
|
| Using IF to validate input data. |
Test the second number in the same way as the first. Adjust the program to divide numbers and validate the input. Ensure the input is numeric and prevent division by zero. |
|
Plotting Graphics |
Write your own program and draw your own shapes. |
|
Repetition using the For Loop. Graph plotting. |
Draw the X axis grid lines. |
|
Repetition using the While Loop. Line scribbling. |
Add another button. |
|
A program that displays the position of the mouse cursor. |
Learn the techniques of working with more than one movie frame and be able to re-create this movie without notes. (not easy). |
|
Under Construction |
||
Under Construction |
||
A program to submit entered data to another web page. |
This allows validated data to be submitted and the validation takes place as the user enters the data. |
|
© C N Bauers (2004) - You may use these materials for your self education. Educational institutions may use these materials too.