O'Reilly logo

Fundamentals of ActionScript 3.0: Develop and Design by Doug Winnie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. ActionScript and Math

ActionScript has tons of mathematical operators built in to the language to help you evaluate mathematical equations. Now, I wouldn’t throw away your handheld calculator just yet. ActionScript has a lot of power, but it’s designed to help with your applications, not for general use. In addition to these mathematical operators, there are some functions that can help with common mathematical tasks like rounding numbers.

In this section, you’ll learn all the basic arithmetic operators that you’ll use in ActionScript. Also, there are some convenient shortcuts to make working with math easier that you’ll cover as well.

Mathematical Operators

In ActionScript, you can use simple math operators to perform arithmetic functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required