• 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 complex navigation within your Flash movie, Web graphics 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 ActionScripts to create effective Flash interaction. Think of it 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 teach you the basics of ActionScripting and the skills to increase your vocabulary of Flash actions.

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. While JavaScript is intended to control the Web browser, ActionScript controls the interactivity within Flash content, so there are slight differences between the two scripting languages. However, the basic syntax of scripts and the handling of objects—reusable pieces of code—remain the same.

Even if you've never used JavaScript, you'll see in this chapter that Flash makes basic scripting easy. You'll learn about the logic of objects and how the Actions panel can automate much of the scripting process while giving you the flexibility to build more sophisticated interaction as your skills improve.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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