Advanced Flash 5 ActionScript in Action

Advanced Flash 5 ActionScript in Action

By (author) 

List price: US$37.50

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

For Flash designers and programmers, this is the Web pro's reference/tutorial to the advanced features of Flash's ActionScript, the language that provides all the interactivity of Flash. The CD-ROM features all the interactive movies built into the book along with additional tools and utilities.
show more

Product details

  • Mixed media product | 432 pages
  • 152.4 x 223.52 x 33.02mm | 725.74g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • 0130931276
  • 9780130931276

Table of contents

Foreword.


Acknowledgments.


1. INTRODUCTION TO ACTIONSCRIPT.


What Is ActionScript? What Is ActionScript Good For? What ActionScript Can't Do. Variables. Objects and Object-Oriented Scripting. Creating a Class. Object and Frame Actions. Object Actions-Movie Clips. Object Actions-Buttons. Frame Actions. Dot Syntax. Properties. Methods. Functions. Conclusion.



2. Your First ActionScripts.


Using the Actions Panels. The Panels. Normal Mode Versus Expert Mode. Moving from Scene to Scene. Comments. on(event). Messing with Movie Clips. if and hitTest. Changing Movie Clip Properties. onClipEvent(keyDown). if (Key.getCode() = = Key.LEFT). _x. alphaBounds = alphaBar.getBounds(_root); Global Variables. Positioning the Slider. Making the Slider Slide. A Note About _xscale and _yscale. A Challenge. Another Property-Changing Example. Text Fields, Arrays, and Loops. Text Fields. Arrays. Looping. Creating the Movie. Associative Arrays. What You've Learned.



3. Adding Power to ActionScripts.


Honing Your Skills. Troubleshooting. Space Game. Power Handling Movie Clips. Background: Levels. Duplicating Movie Clips. Removing Movie Clips. Duplicating with Purpose. Loading Movies. Attaching Movie Clips. Movie Explorer. Conclusion.



4. Serious Interactivity.


Linking to the Outside World. Transparent Buttons. Calling JavaScript Using getURL. Receiving Data. Sending Variables with loadVariables. Formatting the Variables so Flash Can Read Them. FSCommand. Smart Clips. What Good Are Smart Clips? An Example: Dexter Dean Clothes. Creating a Custom Interface for Clip Parameters. Conclusion.



5. Flash and XML.


What Is XML? The XML Object. The Screenplay Example. Creating XML. Creating the Object. Creating the Authors. Creating the Characters. The Whole Thing. The XMLSocket Object. Conclusion.



6. Troubleshooting ActionScript.


General Troubleshooting. Debugger. The Pudgy Bird Movie. Opening the Debugging Window. Watching Variables. Changing Properties. Changing Variables. Trace. Comments. Listing Object and Variables. Conclusion.



7. Complex Scripting.


Pudgy. Controls and Events. The Jump. All the Code. Elasticity. Action-only Movie Clips. Inertia. The Box Clip. The Inertia Movie Clip. Conclusion.



Appendix A: Flash and Usability.


What Most Users Want. What to Do.



Appendix B: ActionScript Reference.


Bitwise Operators. Deprecated Functions. ActionScript Reference.



Index.
show more

About Dan Livingston

DAN LIVINGSTON, founder of Wire Man Productions, has over five years experience as a leading-edge Web designer, serving leading clients such as Apple, Novell, Pacific Bell, and Landor. Dan's sites have garnered awards from Yahoo! and USA Today, been featured on CNN, and earned kudos from the Los Angeles Times and human interface guru Donald Norman. Dan is the co-author of Essential CSS and DHTML for Web Programmers, Essential Photoshop for Web Designers, and Essential JavaScript for Web Programmers.
show more