ActionScript your visual blueprint for creating interactive projects in Flash CS4 Professional
Visual learners can get up and running quickly on ActionScript programming skills for Flash CS4 If you're a programmer who learns best when you see how something is done, this book will have you up and running with ActionScipt in no time. Step-by-step, two-page lessons show you the core progr...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Indianapolis, IN :
Wiley
c2009.
|
Edición: | 1st edition |
Colección: | Visual read less, learn more.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627641906719 |
Tabla de Contenidos:
- ActionScript: Your visual blueprint for creating interactive projects in Flash® CS4 Professional; Table of Contents; How to Use This Visual Blueprint Book; Chapter 1: Introducing ActionScript; Introducing Flash; Understanding Flash Player 10; Introducing ActionScript 3.0; Create a New Flash Movie; Using the Actions Panel; Chapter 2: Introducing the Basic Syntax of ActionScript; Understanding Object-Oriented Programming; Understanding ActionScript Syntax Rules; Create a Variable; Understanding Data Types; Test Your Flash Movie; Concatenate Strings; Trace Variables; Create an Array
- Add and Remove Elements from an ArrayCreate an Array in an Array; Create a Generic Object; Add Constants; Add Comments to Your Code; Understanding Coding Best Practices; Chapter 3: Controlling Objects on the Stage; Draw Shapes in Flash; Introducing Symbols; Create a Symbol; Insert and Name an Instance; Set Instance Properties Using the Properties Panel; Set Instance Properties in Code; Chapter 4: Working with Nonvisual Classes; Perform Simple Mathematical Operations; Perform Complex Mathematical Operations with the Math Class; Generate Random Numbers; Create Instances of the Date Class
- Perform Math on DatesChapter 5: Writing Functions; Write a Function; Call a Function; Pass Data to Functions; Return a Value from a Function; Chapter 6: Creating Custom Classes; Create a Package; Create a New ActionScript File; Create a Custom Class Skeleton; Define Properties of the Class; Create a Constructor; Define a Method; Extend a Class; Using a Custom Class; Define a Document Class; Get and Set Class Properties; Add a Static Property to a Class; Chapter 7: Using Events; Create an Event Handler; Call an Event from a Button; Define Events in a Custom Class; Remove Event Listeners
- Using the Target PropertyChapter 8: Controlling the Timeline in Code; Stop a Movie; Go to a Specific Frame in a Movie; Add Code to a MovieClip's Timeline; Control a MovieClip from the Main Timeline; Work with the Stage in Code; Add MovieClips to the Stage through Code; Add MovieClips to the Stage through Code; Remove Elements from the Stage; Chapter 9: Working with Text; Create a Dynamic Text Field Visually; Create a Dynamic Text Field in Code; Create an Input Text Field Visually; Create an Input Text Field in Code; Work with TextField Events; Find Characters within Strings
- Manipulate StringsGet Pieces of Strings; Convert Data Types; Chapter 10: Formatting Text; Understanding the TextFormat Class; Apply Formatting to a Text Field; Using HTML Text; Chapter 11: Making Decisions in Code; Write an If Statement; Using Else and Else If Clauses; Test Multiple Conditions; Replace If/Else Clauses with a Switch Statement; Chapter 12: Looping over Code; Write a For Loop; Write a While Loop; Loop over an Array; Chapter 13: Animating in Code; Using the EnterFrame Event; Animate MovieClips That Scale and Fade; Change the Speed of Animation; Using the Timer Class
- Create Tweens in Script