EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 7

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Contents 7
Chapter 18: Debugging Applications . . . . . . . . . . . . . . . . . . . . . . 711
Debugging your scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
Using the Output panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
Chapter 19: Best Practices and Coding Conventions for
ActionScript 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
Naming conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
Using comments in your code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
ActionScript coding conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
ActionScript and Flash Player optimization . . . . . . . . . . . . . . . . . . . . . 762
Formatting ActionScript syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
Appendix A: Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .773
Appendix B: Deprecated Flash 4 operators . . . . . . . . . . . . . . . 779
Appendix C: Keyboard Keys and Key Code Values . . . . . . . . . . 781
Appendix D: Writing Scripts for
Earlier Versions of Flash Player . . . . . . . . . . . . . . . . . . . . . . . . . . .787
About targeting earlier versions of Flash Player . . . . . . . . . . . . . . . . . 787
Using Flash 8 to create content for Flash Player 4 . . . . . . . . . . . . . . 788
Appendix E: Object-Oriented Programming with
ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
About ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
Creating a custom object in ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . 794
Assigning methods to a custom object in ActionScript 1.0. . . . . . . . 795
Defining event handler methods in ActionScript 1.0 . . . . . . . . . . . . . 796
Creating inheritance in ActionScript 1.0 . . . . . . . . . . . . . . . . . . . . . . . . 798
Adding getter/setter properties to objects in ActionScript 1.0 . . . . . 800
Using Function object properties in ActionScript 1.0 . . . . . . . . . . . . . .801
Appendix F: Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811

Table of Contents

Related product manuals