|
|
|
|
The 'if' Conditional in ActionScript
Home » Flash » Actionscripting
Conditionals are special tools in ActionScript that allow us to execute a specified selection of code upon the satisfaction of a certain condition. The 'if' conditional is one of the several conditionals available in ActionScript and is one of the easiest ones to use. This tutorial will teach you everything you need to know to start using it in your projects. You are required to have some basic ActionScript knowledge to follow this tutorial.
As stated earlier, a conditional is a tool that lets us execute a certain code only if a condition that we specify is satisfied. For example, in a flash game you can let the player move to the next level if he reaches a score of a 100 or higher,
|
More Tutorials by this user
|
|
|
|
|
|
|
|
|