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

Part II: Understanding ActionScript > Getting a Handle on ActionScript

Chapter 3. Getting a Handle on ActionScript

ActionScript is Flash’s scripting language for adding interactivity to your graphics and movies. You can use ActionScript to create anything from simple navigation within your Flash movie to complex interfaces that react to the location of the viewer’s pointer, arcade-style games, and even full-blown e-commerce sites with dynamically updating data. In this chapter, you’ll learn how to construct ActionScript to create effective Flash interaction. Think of the process as learning the grammar of a foreign language: First, you must learn how to put nouns and verbs together and integrate adjectives and prepositions; then you can expand your communication skills and have meaningful conversations by building your vocabulary. This chapter will give you a sound ActionScripting foundation upon which you can build your Flash literacy.

If you are familiar with JavaScript, you’ll notice some similarities between it and ActionScript. In fact, ActionScript is based on JavaScript, which is a popular object-oriented programming language for adding interactivity to a Web page. Whereas JavaScript is intended to control the Web browser, ActionScript controls the interactivity within Flash content, so the two scripting languages have slight differences. But the basic syntax of scripts and the handling of objects—reusable pieces of code—remain the same.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint