Introduction |
|
1 | (1) |
|
|
1 | (1) |
|
|
2 | (1) |
|
Layout conventions used in this book |
|
|
3 | (1) |
|
Support: we're here for you |
|
|
4 | (2) |
Section 1: Framework |
|
6 | (60) |
|
|
7 | (20) |
|
What is a Flash application? |
|
|
8 | (3) |
|
How does a Flash application work? |
|
|
9 | (2) |
|
What is a Web application? |
|
|
11 | (1) |
|
Flash applications vs. Web applications |
|
|
11 | (1) |
|
|
12 | (2) |
|
Flash Player 6: the rich client |
|
|
12 | (2) |
|
Communication technology/data transfer |
|
|
14 | (3) |
|
|
15 | (1) |
|
|
16 | (1) |
|
|
17 | (1) |
|
|
17 | (2) |
|
|
18 | (1) |
|
So which platform is for you? |
|
|
18 | (1) |
|
|
19 | (1) |
|
|
20 | (1) |
|
What is a Flash application used for? |
|
|
20 | (1) |
|
What is a Flash application capable of? |
|
|
21 | (1) |
|
|
21 | (6) |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
23 | (4) |
|
Flash applications: in detail |
|
|
27 | (39) |
|
Planning a Flash application |
|
|
28 | (1) |
|
Road map: the workflow of a Flash application |
|
|
28 | (2) |
|
|
30 | (2) |
|
|
31 | (1) |
|
|
31 | (1) |
|
|
32 | (1) |
|
The client-side graphic user interface |
|
|
32 | (2) |
|
|
33 | (1) |
|
|
34 | (1) |
|
|
35 | (2) |
|
Data, data, and more data |
|
|
36 | (1) |
|
|
37 | (2) |
|
|
39 | (1) |
|
|
39 | (5) |
|
An entire Flash application road map |
|
|
40 | (2) |
|
Object-oriented programming |
|
|
42 | (2) |
|
|
44 | (1) |
|
|
44 | (2) |
|
|
45 | (1) |
|
|
45 | (1) |
|
Flash application development cycle |
|
|
46 | (2) |
|
|
46 | (1) |
|
|
46 | (1) |
|
|
46 | (1) |
|
|
46 | (1) |
|
|
47 | (1) |
|
Workflow/Structure revision |
|
|
47 | (1) |
|
|
48 | (1) |
|
|
48 | (1) |
|
Planning: a visual road map |
|
|
48 | (2) |
|
Why is this so important? |
|
|
49 | (1) |
|
|
49 | (1) |
|
|
50 | (16) |
|
|
51 | (3) |
|
FlashBlog's client-side road map |
|
|
54 | (5) |
|
|
59 | (7) |
Section 2: Building the Application |
|
66 | (468) |
|
|
67 | (60) |
|
FlashBlog's timeline structure |
|
|
68 | (1) |
|
|
69 | (1) |
|
Object-oriented programming |
|
|
70 | (12) |
|
|
70 | (1) |
|
|
71 | (1) |
|
|
72 | (1) |
|
Prototype objects vs. classes |
|
|
72 | (10) |
|
|
82 | (45) |
|
|
82 | (3) |
|
XML and Flash applications |
|
|
85 | (12) |
|
|
97 | (1) |
|
|
98 | (15) |
|
Case study: FlashBlog message templates |
|
|
113 | (14) |
|
Building the FlashBlog templates |
|
|
127 | (28) |
|
|
128 | (6) |
|
|
129 | (3) |
|
|
132 | (2) |
|
|
134 | (8) |
|
|
137 | (5) |
|
|
142 | (4) |
|
|
142 | (4) |
|
Creating a FlashBlog template |
|
|
146 | (9) |
|
|
151 | (4) |
|
Developing the Message Display Module |
|
|
155 | (34) |
|
|
156 | (5) |
|
|
158 | (2) |
|
Dynamic resizing and positioning |
|
|
160 | (1) |
|
Preloading the template SWF |
|
|
161 | (1) |
|
|
161 | (2) |
|
|
163 | (15) |
|
duplicateMovieClip versus attachMovie |
|
|
164 | (2) |
|
|
166 | (12) |
|
|
178 | (11) |
|
How do I debug Flash files? |
|
|
179 | (6) |
|
|
185 | (4) |
|
User Interface Components |
|
|
189 | (36) |
|
|
190 | (5) |
|
|
191 | (3) |
|
When should a component be used? |
|
|
194 | (1) |
|
FlashBlog UI: the console |
|
|
195 | (12) |
|
|
197 | (1) |
|
|
197 | (2) |
|
|
199 | (7) |
|
Components and Flash applications |
|
|
206 | (1) |
|
|
207 | (18) |
|
|
208 | (17) |
|
|
225 | (68) |
|
|
226 | (13) |
|
Flash applications and PHP |
|
|
227 | (12) |
|
|
239 | (38) |
|
Parsing an XML file in PHP |
|
|
245 | (27) |
|
|
272 | (5) |
|
|
277 | (9) |
|
|
286 | (7) |
|
Behind the Scenes II: MySQL and Data Storage |
|
|
293 | (56) |
|
|
294 | (4) |
|
|
297 | (1) |
|
FlashBlog's MySQL structure |
|
|
298 | (3) |
|
Using PHP and MySQL with Flash |
|
|
301 | (24) |
|
Securing sensitive database information |
|
|
301 | (24) |
|
Case study: completing the Message Display Module |
|
|
325 | (13) |
|
|
325 | (13) |
|
|
338 | (11) |
|
FlashBlog: Plugging it together |
|
|
349 | (104) |
|
|
350 | (10) |
|
Integrating the ProgressBarPlus and MessageBox into FlashBlog |
|
|
360 | (15) |
|
|
375 | (4) |
|
|
376 | (3) |
|
Saving configuration files |
|
|
379 | (5) |
|
|
379 | (5) |
|
Reading and writing XML files |
|
|
384 | (1) |
|
FlashBlog configuration settings interface |
|
|
384 | (25) |
|
Creating the configuration interface |
|
|
384 | (9) |
|
|
393 | (16) |
|
Centralizing the Message Display Module |
|
|
409 | (4) |
|
|
413 | (25) |
|
|
438 | (15) |
|
|
453 | (81) |
|
FlashBlog login interface |
|
|
454 | (3) |
|
|
457 | (8) |
|
|
465 | (4) |
|
|
469 | (21) |
|
Authentication and security |
|
|
490 | (44) |
|
Authenticating users on the client-side |
|
|
491 | (43) |
Section 3: Further Resources |
|
534 | (21) |
|
|
535 | (20) |
|
|
536 | (7) |
|
|
538 | (5) |
|
|
543 | (4) |
|
|
543 | (1) |
|
|
543 | (1) |
|
|
544 | (1) |
|
|
545 | (1) |
|
|
545 | (2) |
|
|
547 | (8) |
|
|
547 | (3) |
|
|
550 | (5) |
Appendix A -- Installing Apache, PHP, and MySQL |
|
555 | (16) |
|
Installing and configuring Apache, PHP, and MySQL on Microsoft Windows |
|
|
556 | (15) |
|
Installing and configuring Apache |
|
|
557 | (4) |
|
Installing and configuring PHP |
|
|
561 | (4) |
|
Installing and configuring MySQL |
|
|
565 | (6) |
Appendix B -- PHP Resources |
|
571 | (4) |
|
|
571 | (1) |
|
|
571 | (1) |
|
|
571 | (1) |
|
|
572 | (1) |
|
|
572 | (1) |
|
|
572 | (1) |
|
|
572 | (1) |
|
Hosting companies supporting PHP |
|
|
573 | (2) |
Index |
|
575 | |