Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Working with ActionScript > ActionScript tidbits

3.6. ActionScript tidbits

Every language supports certain characteristics, shortcuts, and nuances. In this section we’ll briefly go over a collection of tidbits you’ll want to know about when working with ActionScript, starting with curly braces.

3.6.1. Braces

When writing code blocks for scripts, such as functions, loops, switches, and if statements, you use curly braces to indicate to Flex all the code that falls under the switch control of those statements—unless the instruction after the statement comprises only one line.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint