Introduction |
|
xii | |
|
Breathing Life into Flash |
|
|
2 | (16) |
|
Creating an Interactive Spider |
|
|
3 | (6) |
|
Setting Up the Spider Source File |
|
|
4 | (1) |
|
Creating the Spider Parts |
|
|
4 | (1) |
|
|
5 | (3) |
|
Making the Spider Interactive |
|
|
8 | (1) |
|
Creating a Walking Insect |
|
|
9 | (8) |
|
Creating the Insect Parts |
|
|
9 | (3) |
|
|
12 | (5) |
|
|
17 | (1) |
|
|
18 | (82) |
|
|
19 | (61) |
|
|
19 | (3) |
|
|
22 | (7) |
|
|
29 | (1) |
|
|
30 | (9) |
|
|
39 | (14) |
|
|
53 | (2) |
|
Showcase 1: Rotating a Field of Points |
|
|
55 | (7) |
|
|
62 | (9) |
|
Showcase 3: 3D Menu System |
|
|
71 | (8) |
|
|
79 | (1) |
|
|
80 | (20) |
|
Third---Party 3D Software |
|
|
80 | (2) |
|
|
82 | (11) |
|
Showcase 2: Stargate Interface |
|
|
93 | (6) |
|
|
99 | (1) |
|
|
100 | (46) |
|
|
101 | (10) |
|
|
102 | (1) |
|
|
103 | (4) |
|
|
107 | (4) |
|
|
111 | (14) |
|
Velocity and Acceleration |
|
|
111 | (4) |
|
|
115 | (2) |
|
|
117 | (1) |
|
|
118 | (4) |
|
Hooke's Law: The Spring Equation |
|
|
122 | (3) |
|
|
125 | (9) |
|
|
126 | (2) |
|
Mathematical Collision Detection |
|
|
128 | (6) |
|
|
134 | (10) |
|
Common Non-Physical Reactions |
|
|
135 | (1) |
|
Conservation of Momentum and Conservation of Kinetic Energy |
|
|
136 | (8) |
|
|
144 | (2) |
|
Programming Sound in Flash |
|
|
146 | (34) |
|
|
147 | (1) |
|
|
147 | (1) |
|
|
148 | (1) |
|
Sample Rate and Bit Resolution |
|
|
148 | (1) |
|
|
149 | (1) |
|
|
149 | (1) |
|
Controlling a Single Sound |
|
|
150 | (6) |
|
|
150 | (1) |
|
|
151 | (1) |
|
|
152 | (1) |
|
Creating Volume and Pan Sliders |
|
|
152 | (2) |
|
Asynchronous Events and Sound |
|
|
154 | (2) |
|
Controlling Multiple Sounds |
|
|
156 | (6) |
|
|
157 | (4) |
|
|
161 | (1) |
|
Beyond Traditional Input Techniques |
|
|
162 | (8) |
|
|
162 | (1) |
|
|
163 | (3) |
|
Recording Sound Coordinates |
|
|
166 | (2) |
|
Preloading Attached Sounds |
|
|
168 | (2) |
|
|
170 | (8) |
|
Attaching Symbols and Sound Objects |
|
|
171 | (2) |
|
Determining the Distance Between Symbols |
|
|
173 | (1) |
|
|
174 | (1) |
|
|
175 | (1) |
|
|
176 | (1) |
|
|
177 | (1) |
|
Tips for Using Sound in Flash |
|
|
178 | (1) |
|
|
179 | (1) |
|
Component System Architecture |
|
|
180 | (36) |
|
What is Component System Architecture? |
|
|
181 | (2) |
|
LoadMovieNum( ): The Core Technology |
|
|
183 | (6) |
|
Relative vs. Absolute Paths |
|
|
184 | (1) |
|
The Two LoadMovieNum Techniques |
|
|
185 | (2) |
|
Targeting with Multiple Levels |
|
|
187 | (1) |
|
|
187 | (2) |
|
|
189 | (26) |
|
Creating master.swf: The Root Movie |
|
|
193 | (1) |
|
Creating interface.swf: The Navigation and Main Site Component |
|
|
193 | (9) |
|
Creating contact. swf: The Contact Form |
|
|
202 | (2) |
|
Creating background_picker.swf: The Audio Control Component |
|
|
204 | (4) |
|
Creating background_2.swf: The About Me Component |
|
|
208 | (2) |
|
Creating imagemover.swf: The Experiments Component |
|
|
210 | (3) |
|
Creating gallery.swf: The Gallery Component |
|
|
213 | (2) |
|
|
215 | (1) |
|
Creating Dynamic Flash Pages |
|
|
216 | (46) |
|
Dynamic Flash Pages: The Basics |
|
|
217 | (5) |
|
Server---Side Scripting Languages |
|
|
218 | (1) |
|
|
219 | (3) |
|
Showcase 1: Message Board |
|
|
222 | (29) |
|
|
222 | (2) |
|
Creating the Server---Side Scripts |
|
|
224 | (10) |
|
Creating the Front End in Flash |
|
|
234 | (17) |
|
|
251 | (4) |
|
|
251 | (1) |
|
|
252 | (2) |
|
|
254 | (1) |
|
|
255 | (5) |
|
|
255 | (3) |
|
|
258 | (2) |
|
|
260 | (1) |
|
|
261 | (1) |
|
|
262 | (28) |
|
|
263 | (1) |
|
|
264 | (13) |
|
Creating a Hyperlink that Scales and Fades |
|
|
266 | (11) |
|
|
277 | (10) |
|
Using function ( ) and onC1 ipEvent ( ) |
|
|
278 | (5) |
|
Checking Variable Conditions |
|
|
283 | (4) |
|
|
287 | (3) |
|
|
287 | (2) |
|
|
289 | (1) |
|
|
290 | (68) |
|
|
291 | (5) |
|
|
292 | (1) |
|
|
293 | (1) |
|
|
294 | (2) |
|
|
296 | (9) |
|
|
296 | (1) |
|
|
297 | (1) |
|
|
298 | (7) |
|
|
305 | (5) |
|
|
305 | (1) |
|
Case Sensitive---But What Case? |
|
|
306 | (1) |
|
|
306 | (3) |
|
|
309 | (1) |
|
|
309 | (1) |
|
|
310 | (10) |
|
|
311 | (1) |
|
|
312 | (1) |
|
|
313 | (3) |
|
|
316 | (4) |
|
Traversing an XML Document |
|
|
320 | (16) |
|
How Flash Understands XML |
|
|
320 | (1) |
|
|
321 | (3) |
|
|
324 | (1) |
|
|
325 | (11) |
|
|
336 | (9) |
|
Creating Nodes and Attributes |
|
|
337 | (2) |
|
Removing Nodes and Attributes |
|
|
339 | (1) |
|
|
340 | (1) |
|
Getting XML Documents Into and Out of Flash |
|
|
341 | (4) |
|
|
345 | (12) |
|
|
345 | (12) |
|
|
357 | (1) |
|
JavaScript---Flash Interactions |
|
|
358 | (24) |
|
The Basics of Integration |
|
|
359 | (3) |
|
Support for Scripted Interaction |
|
|
360 | (2) |
|
Controlling Flash Plug---ins with JavaScript |
|
|
362 | (3) |
|
JavaScript---to Flash Interaction |
|
|
362 | (2) |
|
Making the Back Button Work Inside Flash |
|
|
364 | (1) |
|
Storing and Retrieving Information |
|
|
365 | (5) |
|
Passing Cookie Data through a Query String |
|
|
365 | (5) |
|
Flash and Third---Party Plug---ins |
|
|
370 | (6) |
|
|
370 | (2) |
|
|
372 | (4) |
|
Extending the Flash Toolbox |
|
|
376 | (2) |
|
|
378 | (3) |
|
Controlling a Pop-up Window from Flash |
|
|
379 | (2) |
|
|
381 | (1) |
Appendices |
|
382 | (17) |
|
Appendix A: Reserved Words |
|
|
383 | (6) |
|
Appendix B: Standard Methods |
|
|
389 | (8) |
|
Appendix C: Regular Expressions |
|
|
397 | (2) |
Index |
|
399 | |