O'Reilly logo

Foundation ActionScript 3, Second Edition by Paul Milbourne, Darren Richardson

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

CHAPTER 2

image

ActionScript 3.0 Fundamentals

This chapter covers how to do the following:

  • Store information in your projects using variables
  • Choose the right data type for the information you need to store
  • Create constants to store information that never changes
  • Perform arithmetic and make decisions
  • Perform a set of actions repeatedly by using loops
  • Separate common parts of code into functions
  • Comment your code so that you and others know what it does

In this chapter, you will learn about the basic fundamental building blocks of the ActionScript 3.0 language.

I’ll warn you in advance that this chapter is probably the most challenging chapter in the ...

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