by Damon Dean and Andy Cowitt
Macromedia
®
Studio 8
ALL-IN-ONE DESK REFERENCE
FOR
DUMmIES
‰
01_59690X ffirs.qxp 12/6/05 2:23 PM Page iii
Macromedia
®
Studio 8 All-in-One Desk Reference For Dummies
®
Published by
Wiley Publishing, Inc.
111 River Street
Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2006 by Wiley Publishing, Inc., Indianapolis, Indiana
Published by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or
by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permit-
ted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written
permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing,
Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at
http://www.wiley.com/go/permissions.
Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the
Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, and related trade
01_59690X ffirs.qxp 12/6/05 2:23 PM Page iv
About the Authors
Damon Dean has been working in Internet technologies and development for
nearly a decade as an editor, producer, and developer. As a development
editor for Sybex, Damon was responsible for developing both the multimedia
and computer-game book lines. After developing those properties into prof-
itable units, he moved on to Postlinear Entertainment, where he produced
and designed online multiplayer computer games for publishers such as Sega
and MGM. Three years later, Damon took his software development skills and
moved into Web development. As a founding member of 415 Productions,
Damon worked with several large companies, including Credit Suisse, Robert
Mondavi, HP, and BART. His application design and development resumé
includes architecting and building content management systems, extranets,
corporate intranets, and enterprise CRMs. After four years at 415, Damon
moved on in the summer of 2001 to be the Internet Services Director at a pri-
vate foundation in Oakland, California.
Damon has written several books, dating back to 1996. His first book,
A Pocket Tour of Multimedia on the Internet (Sybex), was eventually trans-
lated into five languages. In 1997, Damon began a relationship with Wiley
Publishing and has written several books for them, including Web Channel
Development For Dummies, FrontPage 2000 For Dummies Quick Reference,
ACT! 2000 For Windows For Dummies Quick Reference (co-author), and more
recently, Cascading Style Sheets For Dummies.
Andy Cowitt is a freelance Web developer who spent five years learning the
trade at the award-winning firm 415, Inc. While at 415, Andy worked on multi-
media presentations and Web sites for Apple, Oracle, Macromedia, the San
Francisco Symphony, KQED, and Stag’s Leap Wine Cellars. He’s been using
Macromedia’s products since each of them arrived on the scene. In his spare
time, Andy plays guitar and ukulele and makes videos. He lives in Oakland
with illustrator Michael Wertz and their dog, Olive.
Project Editor: Christopher Morris
Acquisitions Editor: Steve Hayes
Copy Editors: Andy Hollandbeck,
James Howard Russell, Tonya Cupp,
Laura Miller
Technical Editors: Danilo Celic, Ron Rockwell
Editorial Manager: Kevin Kirschner
Permissions Editor: Laura Moss
Media Development Supervisor:
Richard Graves
Editorial Assistant: Amanda Foxworth
Cartoons: Rich Tennant (
www.the5thwave.com)
Composition Services
Project Coordinator: Maridee Ennis
Layout and Graphics: Andrea Dahl,
Lauren Goddard, Denny Hager,
Stephanie D. Jumper, Melanee Prendergast,
Lynsey Osborn, Heather Ryan
Proofreaders: Laura Bowman, Leeann Harney,
Jessica Kramer, Dwight Ramsey
Indexer: Infodex Indexing Services, Inc.
Publishing and Editorial for Technology Dummies
Richard Swadley, Vice President and Executive Group Publisher
Andy Cummings, Vice President and Publisher
Mary Bednarek, Executive Acquisitions Director
Mary C. Corder, Editorial Director
Publishing for Consumer Dummies
Diane Graves Steele, Vice President and Publisher
Joyce Pepple, Acquisitions Director
Chapter 1: Introduction to Macromedia Flash 8 347
Chapter 2: Using the Graphics Tools 367
Chapter 3: Working with Symbols 391
Chapter 4: Making Your Life Easier with Layers 401
02_59690X ftoc.qxp 12/6/05 2:25 PM Page ix
Chapter 5: Creating Animation 413
Chapter 6: Adding Sound and Video 427
Chapter 7: Publishing Movies 435
Chapter 8: Getting Interactive with ActionScript 447
Chapter 9: Creating Interfaces with Components and Forms 457
Chapter 10: Integrating Macromedia Flash 8
with Other Macromedia Products 469
Book V: Contribute 3 479
Chapter 1: Introduction to Contribute 3 481
Chapter 2: Basics for Contributors 497
Chapter 3: Contribute 3 Administration 525
Chapter 4: Integrating Contribute 3 with Other Macromedia Products 563
Book VI: FreeHand MX 569
Chapter 1: Introduction to FreeHand MX 571
Chapter 2: Understanding FreeHand MX Basics 583
Chapter 3: Using the FreeHand MX Text Tools 607
Chapter 4: Creating Illustrations with FreeHand MX 631
Chapter 5: Transforming Text, Shapes, and Images with FreeHand MX 649
Chapter 6: Exploring the Color Management Tools 673
Chapter 7: Integrating FreeHand MX with Other Macromedia Products 695
Book VII: ColdFusion MX 7 Developer Edition 707
Chapter 1: Introduction to ColdFusion MX 7 Developer Edition 709
Chapter 2: Working with the ColdFusion Administrator 723
Chapter 3: ColdFusion MX 7 Developer Edition Basics 735
Chapter 4: Understanding CFML Basics 747
Before You Start: Things to Know 15
Chapter 2: Developing Web Content . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Developing Content: A Four-Step Process 17
Choosing and Organizing Content 18
Classifying common types of Web content 19
Categorizing your content 19
Creating Content for the Web 20
Prepping Content for the Web 22
Chapter 3: Choosing the Right Tools for the Job . . . . . . . . . . . . . . . . . .23
Before You Begin: When Not to Use Macromedia Studio 8 23
Using Dreamweaver 8 for Web Development 24
Designing with Fireworks 8 25
Creating Animation with Flash 8 26
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xi
Macromedia Studio 8 All-in-One Desk Reference For Dummies
xii
Illustrating with FreeHand MX 28
Creating a Dynamic Site with ColdFusion 7 29
Managing Your Site with Contribute 3 29
Chapter 4: Best Practices for Web Development . . . . . . . . . . . . . . . . .31
Following the Best Path of Development 32
Step one: Develop a site concept 32
Step two: Define your requirements 32
Step three: Generate content 33
Step four: Design the site 33
Step five: Build the site 34
Step six: Test and deploy your site 36
Getting the Right People at the Right Time 38
Building a team 38
Involving the right people at the right time 39
xiii
Working with Tables 70
Inserting a table 70
Deleting a table 72
Using layout tables 72
Storing information in table cells 74
Previewing Your Work 74
Chapter 3: Creating and Using Dreamweaver Sites . . . . . . . . . . . . . . .75
Defining a Site in Dreamweaver 8 75
Creating Your First Site 76
Creating a site manually 76
Creating a site using a wizard 78
Setting Up a Remote Connection 82
Using Advanced Site Options 85
Testing your server 86
Cloaking 87
Using Design Notes 87
Setting up a site map 87
Selecting columns for the File view 87
Enabling Contribute compatibility 88
Publishing Your Site 89
Maintaining Your Site 90
Running reports 90
Checking links 92
Using Source Control 93
Chapter 4: Punching Up Your Pages with Forms and Frames . . . . . . .95
Incorporating Forms into Web Pages 95
Adding a form 96
Specifying form properties 97
Labeling form objects 98
Nesting an existing layer 122
Collapsing or expanding your view in the Layers tab 122
Chapter 6: Using ColdFusion MX 7 Developer Edition
in Dreamweaver 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Understanding the Integration of ColdFusion and Dreamweaver 123
Using Features on the Insert Bar 126
Editing a Tag 130
Getting Data from a Database 130
Using the Bindings Tab 133
Introducing Server Behaviors and Components 135
Understanding server behaviors 135
Considering components 135
Chapter 7: Advanced Web Page Design Techniques . . . . . . . . . . . . .137
Creating Clickable Image Maps with Hotspots 137
Creating a hotspot 137
Modifying a hotspot 139
Adding Flash Text Rollovers 139
Adding Flash text 140
Changing Flash text 141
Adding Flash Button Rollovers 142
Adding a Flash button 142
Changing a Flash button 144
Inserting Image Rollovers 144
Setting Up a Navigation Bar 146
Adding Audio and Video to Your Pages 148
Embedding an audio or video clip 149
Embedding background music 150
Linking to an audio or video clip 150
Adding Other Media 151
Using Dreamweaver 8 Templates 152
Moving, docking, and grouping panels 184
Setting Fireworks Preferences 186
Setting General preferences 187
Editing just the way you want 188
Telling Fireworks how to play with others 189
Expanding your Folder options 189
Importing files in a useful form 190
Getting Help 190
Chapter 2: Fireworks 8 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .193
Creating a New Document 193
Changing Views of Your Document 195
Saving Documents 197
Modifying Document Size 198
Changing the image size 198
Changing the canvas size 201
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xv
Macromedia Studio 8 All-in-One Desk Reference For Dummies
xvi
An Introduction to Color Management 203
Hexadecimal numbers 204
Web-safe colors 204
Chapter 3: Working with Text, Shapes, and Images . . . . . . . . . . . . . .207
Working with Text 207
Creating text with the Text tool 209
Selecting a font and changing its size 210
Adding a little color 211
Manipulating text 214
Working with Vector Shapes 218
Making a good old-fashioned line 218
Making simple shapes 219
Using the other filters: Convert to Alpha and Find Edges 261
Adding shadows to objects 262
Using Extras: Lite Versions Bundled with Fireworks 8 262
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xvi
Table of Contents
xvii
Chapter 5: The Power of Layers and Frames . . . . . . . . . . . . . . . . . . . .263
Managing Layers 264
Adding and deleting layers 265
Making a layer active 265
Expanding and collapsing layers 266
Making a layer visible or invisible on the canvas 267
Locking and unlocking a layer 267
Renaming a layer 267
Moving a layer in front of or behind other layers 268
Merging layers 270
Using Layers for Masking 270
Creating a bitmap mask 271
Creating a vector mask 274
Using the Web Layer 275
Cutting your objects with the Slice tool 276
Slicing your canvas more exactly with the Polygon Slice tool 277
Working with Objects 278
Renaming an object in the Layers panel 278
Moving an object between layers 278
Setting an object’s opacity/transparency 278
Blending 279
Managing Frames 282
Adding frames 283
Deleting and editing frames 284
Exporting HTML with your images 316
Setting the export HTML file options 318
Setting Up Image Maps and Button Rollovers 319
Creating image maps with hotspots 320
Creating advanced button rollovers 321
Bringing Interactivity to Your Pages with Behaviors 324
The Swap Images behavior 324
Generating pop-up menus 326
Chapter 8: Integrating Fireworks 8 with Other
Macromedia Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .331
Integrating Fireworks with Macromedia Flash 333
Exporting files from Fireworks to Macromedia Flash 333
Importing files into Macromedia Flash from Fireworks 335
Integrating Fireworks with Dreamweaver 336
Setting preferences 336
Editing PNGs 337
Working with tables 338
Integrating Fireworks with FreeHand 340
Importing FreeHand files into Fireworks 341
Editing Fireworks objects in FreeHand 343
Integrating Fireworks with Director 344
Book IV: Flash 8 345
Chapter 1: Introduction to Macromedia Flash 8 . . . . . . . . . . . . . . . . . .347
Understanding What Macromedia Flash Is and How It Works 347
Seeing what Macromedia Flash can do 347
Creating content for a Web site in Macromedia Flash 348
Using Macromedia Flash on a Web site 349
Comparing Bitmaps and Vector Graphics 349
Exploring Basic Moviemaking Principles 350
The Stage 350
Ink Bottle tool 374
Text tool 374
Modifying Shapes and Text 376
Selection tool 376
Lasso tool 377
Moving and copying objects 377
Eraser tool 378
Reshaping with the Selection tool 378
Subselect tool 379
Free Transform tool 379
Straightening and smoothing with the Selection tool 382
Optimizing curves 382
Softening edges 383
Flipping 383
Transferring properties with the Eyedropper tool 384
Grouping 384
Breaking objects apart 385
Aligning objects 385
Working with Colors 386
Creating solid colors 386
Creating gradients 387
Editing fills 388
Working with bitmap fills 389
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xix
Macromedia Studio 8 All-in-One Desk Reference For Dummies
xx
Chapter 3: Working with Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391
Appreciating the Importance of Symbols 391
Working with Graphic Symbols 392
Working with instances of symbols 392
Creating a simple tween 419
Motion tweening along a path 420
Creating Tweened Shape Animation 422
Creating a simple shape tween 422
Using shape hints for more control 423
Adding Basic Interactivity to Animation 424
Go To 424
Stop 425
Play 425
On (mouse event) 425
Working with Scenes 425
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xx
Table of Contents
xxi
Chapter 6: Adding Sound and Video . . . . . . . . . . . . . . . . . . . . . . . . . . . .427
Exploring Sound and Video Formats 427
Sound file formats 427
Video file formats 428
Working with Sounds 428
Importing sounds 428
Placing a sound in a movie 429
Editing sounds 430
Setting sound properties 431
Working with Video Clips 433
Chapter 7: Publishing Movies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .435
Publishing Movies the Simple Way 435
Optimizing Movies for Speed 437
Simplifying graphics 438
Optimizing text 438
Minimizing the size of sound files 439
xxii
NumericStepper 465
Window 465
Setting component properties 465
Creating Forms with Macromedia Flash 466
Collecting data within a Flash movie 466
Posting form data 468
Chapter 10: Integrating Macromedia Flash 8
with Other Macromedia Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . .469
Integrating Macromedia Flash with Fireworks 469
Importing a Fireworks PNG into Macromedia Flash 470
Cutting and pasting between Macromedia Flash
and Fireworks 471
Integrating Macromedia Flash with Dreamweaver 472
Integrating Macromedia Flash with FreeHand 473
Integrating Macromedia Flash with ColdFusion 474
Book V: Contribute 3 479
Chapter 1: Introduction to Contribute 3 . . . . . . . . . . . . . . . . . . . . . . . . .481
Why Contribute? 481
Exploring the Contribute Interface 482
Panel basics 482
Menus 487
Setting Preferences 492
Setting Editing preferences 493
Setting File Editors preferences 493
Setting FTP Proxy preferences 494
Setting Invisible Elements preferences 495
Setting Microsoft Documents preferences 495
Setting Security preferences 495
Chapter 2: Basics for Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . . . .497
Establishing Web server settings 532
Using the Rollback feature to save file backups 535
Setting New Pages defaults 536
Deleting all permissions and settings at once 537
Setting Up Users and Roles 537
Opening the Administer Website dialog box 537
Setting up a new role 538
Deleting roles 538
Editing Role Settings 539
Making general settings 540
Granting access to folders and files 541
Extending file deletion privileges 543
Customizing editing settings 543
Granting styles and fonts permissions 546
Granting permission to create new pages 548
Setting file placement rules 551
Working with shared assets 553
Customizing options for adding new images 556
Creating Connection Keys to Provide Access to Contributors 558
Chapter 4: Integrating Contribute 3 with Other
Macromedia Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .563
Using FlashPaper 2 563
Teaming Contribute with Dreamweaver 566
Understanding Dreamweaver Templates 566
Working with PayPal and Google 567
Inserting PayPal buttons 567
Inserting a Google search field 568
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xxiii
Macromedia Studio 8 All-in-One Desk Reference For Dummies
xxiv
Creating Outlines 600
Using the Stroke Color box 600
Changing an object’s stroke color 601
Working with Layers 601
Creating layers 602
Editing layers 603
Saving Documents in FreeHand 604
Saving FreeHand files 604
Exporting files in other formats 605
Chapter 3: Using the FreeHand MX Text Tools . . . . . . . . . . . . . . . . . . .607
Creating Text with the Text Tool 607
Creating auto-expanding text boxes 608
Creating fixed-size text boxes 608
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xxiv
Table of Contents
xxv
Using Text Rulers 609
Checking the Spelling of a Text Selection 610
Editing Blocks of Text 612
Moving and deleting text 612
Resizing text boxes 612
Changing text box characteristics 613
Formatting Text 614
Choosing a font type, size, and style 616
Creating text styles 617
Choosing a text color 618
Aligning your text 619
Changing paragraph settings 619
Formatting text in columns and rows 621
Scaling text horizontally 622
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xxv
Macromedia Studio 8 All-in-One Desk Reference For Dummies
xxvi
Chapter 5: Transforming Text, Shapes, and Images
with FreeHand MX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .649
Working with Bitmap Images 649
Modifying Objects 650
Scaling graphics 650
Skewing and distorting objects 653
Rotating objects 655
Flipping objects 657
Using the Move command 659
Giving an object some perspective 660
Extruding an object 662
Scaling, skewing, and rotating with the Pointer tool 662
Using the Trace Tool 664
Creating New Shapes by Combining Shapes 666
Using the Xtra Tools to Change a Shape 667
Using the Arc tool 668
Using the 3D Rotation tool 668
Using the Smudge tool 669
Using the Shadow tool 669
Using Xtra Operations to Modify Shapes 670
Chapter 6: Exploring the Color Management Tools . . . . . . . . . . . . . . .673
Using the Mixer Tab 674
Mixing a CMYK color 674
Mixing an RGB color 675
Mixing an HLS color 676
Mixing a color from the System Color Picker 677
Working with the Mixer Tab 678
Chapter 1: Introduction to ColdFusion MX 7 Developer Edition . . . .709
Creating Dynamic Web Sites 709
Exploring the Components of ColdFusion 712
Understanding the Role of the Web Application Server 712
Investigating CFML 713
Working with the ColdFusion Administrator 713
Setting Up the ColdFusion Environment 714
Finding an ISP 714
Installing the application server 714
Configuring the application server 717
Introducing Databases 718
Taking a Quick Tour of ColdFusion in Dreamweaver 720
Chapter 2: Working with the ColdFusion Administrator . . . . . . . . . .723
Exploring the Functionality of the ColdFusion Administrator 723
Logging On to the ColdFusion Administrator 724
Working with the ColdFusion Administrator 725
Creating Data Sources 726
Setting up a data source 727
Other data source tasks 729
Connecting to a Mail Server 730
Controlling Logging on Your Site 732
Debugging Options for Building Your Site 733
Chapter 3: ColdFusion MX 7 Developer Edition Basics . . . . . . . . . . .735
Understanding the ColdFusion Application Server Model 736
Getting Acquainted with CFML 738
Introducing CFML tags 738
Working with variables 742
Using expressions 744
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xxvii
Macromedia Studio 8 All-in-One Desk Reference For Dummies
Creating arrays 776
Using structures 780
Chapter 6: Using Databases with ColdFusion MX 7
Developer Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .783
Understanding Relational Databases 783
Understanding ODBC and OLE 786
Creating Queries in ColdFusion 787
Using <CFQUERY> 788
Using <CFINSERT> 788
Using <CFUPDATE> 790
02_59690X ftoc.qxp 12/6/05 2:25 PM Page xxviii