From the course: Learning ActionScript

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Conditionals

Conditionals - ActionScript Tutorial

From the course: Learning ActionScript

Start my 1-month free trial

Conditionals

Conditional statements and operators are the core logic processors in any language. This lesson will examine some common conditionals, and how they can be implemented with an ActionScript. So, before we get into any code, I just want to reference the ActionScript 3.0, reference for the Adobe Flash platform. And this can be found off of help.adobe.com, and you just do a search for the Flash Platform. And you can actually specify runtimes that you want to target through here, and various products. So, this page that I have open here is the page on Operators. So, we have arithmetic operators, such as Addition and Subtraction, Multiplication and Division. We also have Increment and Decrement, and more advanced operators like Modulo, and some of these compound assignment operators. And you can scroll down here and see that there quite a number of operators here. So here, we have these comparison operators and here is equality, so two equal signs test equality. So, if you want to see if…

Contents