+612 9045 4394
 
CHECKOUT
Learn Programming with Flash MX : For the Absolute Beginner - Ben Renow-Clarke

Learn Programming with Flash MX

For the Absolute Beginner

Paperback Published: 30th October 2003
ISBN: 9781590592410
Number Of Pages: 469

Share This Book:
Ships in 5 to 9 business days

Learn Programming with Flash MX employs a truly unique class-based approach to learning with the goal of establishing core, generic-programming skills. Each chapter represents a discrete lesson covering a distinct topic of programming with ActionScript. In each 'class' we smoothly blend theory and practice with plentiful practical examples, and a class project that runs through the book to reinforce the learning in an integrated, real-world context, using Flash MX as the illustrative vehicle.This book also addresses the shortfall in solid programming knowledge in significant segments of the web design community - specifically, traditional web designers and Flash users with no exposure to the programming world. It also assumes that the reader is a Flash novice, so if you're coming to Flash completely from scratch, this book will give you a broad and solid introduction enabling you to create aesthetically pleasing, well laid-out content glued together with robust coding techniques. Learn Programming with Flash MX covers the fundamental programming principles and skills that every programmer needs to master in order to create well-structured and efficient code to a professional standard. Readers will come away from this book with the following:- A rich, solid understanding of the concepts and basic processes of programming that will enable them to explore Flash and other technologies with a degree of confidence that they didn't have before. - Insights into universally applicable programming processes and techniques. - An understanding of how to implement these principles in Flash MX.

Welcome to the classp. 1
What is Flash MX?p. 1
What is ActionScript?p. 1
The virtual classroomp. 2
Meet your teacherp. 2
Meet your classmatesp. 2
Conventionsp. 3
Support--we're here to helpp. 4
Meet the studentsp. 5
Objectivesp. 5
Introductionp. 6
What is Flash?p. 14
Introducing Flashp. 19
The stagep. 22
The toolbarp. 23
The Property inspectorp. 24
The timelinep. 25
Frames and keyframesp. 25
Various panelsp. 29
Toolsp. 30
The Arrow toolp. 32
The Text toolp. 38
The Kiosk Projectp. 41
Objectivesp. 41
Introductionp. 41
The Kiosk projectp. 42
Accepting the projectp. 43
The project life cyclep. 47
The requirements documentp. 51
Breaking down the requirementsp. 57
Interface designp. 66
Programming Conceptsp. 75
Objectivesp. 75
Introductionp. 76
What's a program?p. 76
The Actions panelp. 78
What does a program look like?p. 82
Variablesp. 85
Naming variablesp. 86
Creating variablesp. 88
Tracing variablesp. 91
Different types of datap. 96
Copying variablesp. 98
Operators and expressionsp. 100
Operator precedencep. 107
Advanced tracingp. 110
The case studyp. 113
Symbols and Objectsp. 119
Objectivesp. 119
Introductionp. 119
Symbolsp. 119
Creating a symbolp. 120
Symbol typesp. 124
Movie clip symbolsp. 125
The graphic symbolp. 128
The button symbolp. 129
Instance names and objectsp. 132
Giving an instance a namep. 133
Object Propertiesp. 138
Methodsp. 141
Interactionp. 147
Objectivesp. 147
Introductionp. 147
Eventsp. 148
Event Typesp. 149
Timed eventsp. 150
Button Eventsp. 151
Events in ActionScriptp. 156
Thumbnail eventsp. 161
Screen Coordinatesp. 162
The _x and _y propertiesp. 164
Incrementing or decrementing a variable or propertyp. 171
Attaching instances from the Libraryp. 172
Programming Structuresp. 179
Objectivesp. 179
Introductionp. 179
Ifp. 179
Conditionalsp. 181
Comparison and logical operatorsp. 183
Back in the classroomp. 192
Switch, case, and breakp. 193
Loop Structuresp. 198
While and do... while loopsp. 204
Dynamic pathsp. 207
Nested loopsp. 209
Starting the Kiosk Projectp. 213
Objectivesp. 213
Introductionp. 214
Text Fieldsp. 215
Text field propertiesp. 217
Input text field propertiesp. 218
Dynamic text field propertiesp. 221
Using the TextField object in ActionScriptp. 223
Building the kiosk projectp. 231
Tabsp. 233
The swapDepths methodp. 235
Working with the gridp. 239
Making the About and Contact pagesp. 247
Arraysp. 253
Objectivesp. 253
Introductionp. 253
What is an array?p. 254
Making arraysp. 255
Looking inside arraysp. 257
Other ways to make arraysp. 258
Array methodsp. 260
Popping and pushingp. 260
Shifting and unshiftingp. 262
Slicing and splicingp. 263
Simple sortingp. 266
Multi-dimensional arraysp. 267
Parsing arraysp. 269
Importing imagesp. 274
Building the case studyp. 279
Functionsp. 285
Objectivesp. 285
Introductionp. 285
Using functionsp. 286
Functions with parametersp. 290
Returning values from a functionp. 292
Case Studyp. 296
Image Preparationsp. 296
The drawGrid functionp. 299
Programming events for the thumbnailsp. 303
Tooltipsp. 304
The Statistics Reportp. 317
Objectivesp. 317
Introductionp. 318
Keyboard listenersp. 318
Creating a login boxp. 321
Creating the statistics screenp. 329
Creating the hitArrayp. 333
Adding the text fieldsp. 341
The getStats functionp. 342
Data sortingp. 346
Componentsp. 346
The reSort functionp. 351
The final buttonsp. 356
Finishing the Kiosk Projectp. 359
Objectivesp. 359
Introductionp. 360
Timed Eventsp. 361
Displaying an image on category changep. 366
Working with projector filesp. 371
Preparing code for two different presentation versionsp. 374
FSCommandsp. 377
Publishing the Flash moviep. 382
Publishing the projector filesp. 385
Coding conventionsp. 387
Modifying the Case Studyp. 393
Objectivesp. 393
The end of the roadp. 393
The cosmetically enhanced case studyp. 394
The individual case studiesp. 398
Carl: Sound in Flashp. 398
Dynamically loading MP3 filesp. 407
Jim: Video in Flashp. 410
Gemma: Web considerationsp. 414
The fun stuffp. 420
Drawing with ActionScriptp. 421
Adigital clockp. 425
Easing and draggingp. 427
Changing colorp. 431
Class 1 Handout: Flash Toolsp. 435
Tools referencep. 435
The Arrow toolp. 436
The Subselection toolp. 437
The Line toolp. 438
The Lasso toolp. 438
The Pen toolp. 439
The Text toolp. 440
The Oval toolp. 440
The Rectangle toolp. 440
The Pencil toolp. 441
The Brush toolp. 441
The Free Transform toolp. 442
The Fill Transform toolp. 442
Linear gradientsp. 443
Radial gradientsp. 443
The Ink Bottle toolp. 444
The Paint Bucket toolp. 444
The Eyedropper toolp. 446
The Eraser toolp. 446
The Faucet toolp. 446
Brush typesp. 446
View toolsp. 447
The Hand toolp. 447
The Zoom toolp. 447
Class 1 Handout: Shape Tweeningp. 449
ASCII and Key codesp. 455
ASCII Chartp. 455
Key codesp. 456
Special Key Codesp. 458
Indexp. 459
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9781590592410
ISBN-10: 1590592417
Series: For the Absolute Beginner
Audience: General
Format: Paperback
Language: English
Number Of Pages: 469
Published: 30th October 2003
Publisher: Apress
Country of Publication: US
Dimensions (cm): 23.22 x 17.83  x 2.49
Weight (kg): 0.76