- Flash Guide 2006
- Welcome to the New Flash Reference Guide
- Flash Design Guide
- Introduction To Flash
- Working with the Authoring Tool
- Working with Templates
- FreeHand for the Power User
- Creating Animation with Fireworks
- Creating Animation in Flash
- Animating Text
- Working With Layers and Keyframes
- Working With Tweens
- Quickly Add Keyframes to Tweens
- Using Animation Paths
- Using Flash's Onion Skinning Tools
- Publishing Your Animation
- Preloading for Non-Programmers
- Drawing in Flash
- Using the Library
- Organizing Animations With Storyboards
- Working With Masks
- Making 2D Look 3D
- Working With Text
- Working With Input Text Fields
- Working With Dynamic Text
- Working with Text: Advanced Text Treatment With CSS
- Working With Text: Embedding Fonts
- Flash Interactive Developer Guide
- What is an Interactive Developer?
- Creating Flash Projects
- Using Form Applications
- Working with Form Components
- Setting up a Movie for Design and Animation
- Setting up a Movie for Programming
- Working with Components
- ActionScript Fundamentals
- Intro to Working With Arrays
- Understanding The Three Types of Arrays
- Control Data Stored in Arrays
- The Eolas Solution
- Intro to Flash Player 9
- Working with Strings
- Creating ActionScript Transitions
- Working with Boolean Objects in ActionScript
- Optimizing Delivery
- Working with Numbers in ActionScript
- Working with the Number Class
- Flash Professional 9 Preview
- Adobe Takes ActionScript Open Source
- Flash Rich Media Guide
- Pros and Cons of Flash 8 Video
- Using SMIL in Flash Video 8
- Stream an MP3 Audio File to Your Flash Movie
- Flash 8
- Introduction to Flash 8
- Advanced Text Rendering
- Using BitmapData Class in Your ActionScript
- The CacheAsBitmap Property
- Bitmap Rendering Improvements and Blend Modes
- Using The ExternalInterface Class
- Using Filters
- Downloading and Uploading Files with ActionScript
- Runtime Support for GIF and PNG Files
- Garbage Collection in Flash 8
- Using Enhanced Gradients
- Using Scale 9
- Stroke Enhancements in Flash 8
- Video Support in Flash 8
- How to Create a Slideshow
- Creating Dynamic Text in Flash
- Flash 3-D–Taking Flash to the Third Dimension!
- Object Collision Detection with Flash
- Create a Quiz With The Flash Quiz Template
- Working with Flash
- Uses for Flash
- Beyond Flash
- Flash Reference Guide
- Informit Articles and Sample Chapters
- Books
- Online Resources
- Blogs and Discussion
- Tools and Downloads
- Summary
- Flash MX Interface
- Welcome to Flash: the Designers' and Developers' Tool
- Using the Stage
- Panels, Panels Everywhere
- Using the Tools Pane
- Using the Property Inspector
- Using the Timeline Panel
- Using the Library
- Adding Interaction through the Actions Panel
- Integrating with Studio MX
- Saving and Publishing Flash Movies
- Informit Articles and Sample Chapters
- Books
- Online Resources
- Summary
- Drawing in Flash
- Shape Tools
- Applying Color
- Informit Articles and Sample Chapters
- Tools and Downloads
- Summary
- Flash Bitmaps
- Importing Bitmaps
- Exporting Bitmap Images
- Converting Bitmap Images to Vector Illustrations
- Informit Articles and Sample Chapters
- Online Resources
- Tools and Downloads
- Summary
- Flash Text and Text Fields
- Text Types
- Input Text
- Online Resources
- Tools and Downloads
- Summary
- Using the Library
- Library Organization
- Creating Instances
- Informit Articles and Sample Chapters
- Books
- Online Resources
- Summary
- Flash Animation
- Controlling Time
- Keyframe Animation
- Tweening
- Text Animation with Flash
- Informit Articles and Sample Chapters
- Books
- Online Resources
- Summary
- Flash Audio
- Using Audio in Flash
- Importing
- Linking to MP3
- Publishing Audio
- Streaming MP3 from the Flash Communication Server
- Informit Articles and Sample Chapters
- Online Resources
- Summary
- Video in Flash
- Video
- Flash Video
- Spark Codec
- Exporting Video
- Informit Articles and Sample Chapters
- Blog and Discussion
- Summary
- Flash Components
- Attaching Components to Movies
- Creating a Component
- Informit Articles and Sample Chapters
- Tools and Downloads
- Summary
- Exporting and Optimization
- Connecting Flash to the Internet
- Loading SWF Movies
- Sharing Fonts Between Movies
- Reusing Your ActionScripts
- Using Third-Party Tools
- Informit Articles and Sample Chapters
- Online Resources
- Tools and Downloads
- Summary
- Introduction to Design in Flash
- Introduction to Design
- Fundamental Design Concepts
- Breaking Up the Screen
- Branding
- Adding Forms to Movies
- Developing with ActionScript
- Introduction to Programming within Flash MX 2004
- Using ActionScript to Extend the Functionality of Flash
- ActionScript Fundamentals
- Using the Actions Panel
- Using the Reference Panel
- Rapidly Adding ActionScript with the Behaviors Panel
- Event Handling within ActionScript
- Timeline Events
- Triggering Events through User Interaction
- Flash MX 2004 Pro
- Summary
- Creating Interactive Movies
- Giving Users a Choice
- What it All Comes Down to
- Summary
- Testing your Flash Movies
- Naming Conventions
- Syntax Checker
- Testing your movies
- Summary
- Debugging
- Using the "Debugger"
- Reviewing ActionScript Error Codes
- Summary
- Using ActionScript to Control Your Movies
- Setting Up Your Movies for Interaction
- Making Movie Clips Behave Like Buttons
- Controlling Multiple Movie Clips
- Applying Different Types of Events to a Movie Clip
- Summary
- Using ActionScript to Control Text
- How ActionScript Can Control Text
- Using Cascading Style Sheets within Flash MX 2004 Dynamic Text Boxes
- Applying CSS formatting with ActionScript
- Where Do You Go Now?
- The Differences Between ActionScript 1 and ActionScript 2
- Working with Classes
- Which Version of the Flash Player should you use?
- What’s Next?
- Using Pre-Built Classes In Flash MX 2004
- Using a Class in ActionScript
- The List of Core Classes
- Flash Player-Specific Classes
- Summary
- Creating Your Own Classes
- Creating a Custom Class
- Working with External Data in Flash
- Why Use XML in Flash?
- Integrating Flash and XML
- Visual Elements
- Adding the ActionScript
- Future Shock
- Using Components
- Begin Using Components
- Building an Application with Components
- Gluing Components Together with ActionScript
- Summary
- Informit Articles and Sample Chapters
- Books and e-Books
- Online Resources
- Rich Internet Applications
- Introduction to Rich Internet Applications
- Why Use Flash for Building Application Solutions?
- Building Applications with Flash
- Getting Started
- Using Flash Variables
- Working with Parameters in the Object and Embed HTML Tags
- Linking data with Flashvars
- Getting Data Into Flash: Loading External SWF and JPG Files
- Why You Should Separate Your Files
- Loading Movies into Levels and Target Movie Clips
- Summary
- Loading SWF and JPG Images
- Working With XML: What is XML, and How Does it Relate to Flash?
- A Brief History of XML
- Why Structuring Your Data is Always a Good Thing
- How XML Came to Flash
- Summary
- Working with XML: Good XML vs. Bad XML
- Good Places to Start
- Writing Good XML
- XML Tools
- The Next Step - Using XML in your Flash Applications
- Working with XML: Loading XML into Flash
- Integrating Flash and XML
- Visual Elements
- ActionScript
- Future Shock
- Working with XML — Dynamically Building XML with .NET, ColdFusion, Java, and PHP
- ColdFusion
- .NET
- Java
- PHP
- Summary
- Working with XML — Web Services
- SOAP Support in Flash MX 2004
- Using Components to Bind Web Services into your Applications
- Summary
- Working with Data — Working with XML
- XML In Flash
- Writing XML In Flash
- Building Trees of Data with XML
- Working with Data: Pushing Data back to the Server with Load Vars
- Setting up the Database
- Writing the VB.NET Code
- Creating the Flash Movie
- Working with Data: Leveraging Persistent Connections
- Using XMLSocket Connections
- XMLSocket Server
- XMLSocket Security
- XMLSocket Class in Flash
- Creating a Pong Game with an XMLSocket Server
- Summary
- Flash Remoting
- What is Flash Remoting?
- Using Flash Remoting
- The Future of Flash Remoting
- Flash Remoting Links
- Working with Data: Macromedia Flex Presentation Server
- What Problem Does Flex Presentation Server Address?
- How does Flex work?
- Coding and Building Flex Applications
- Building Rich Internet Applications: Connecting Flash to a Database
- Using FlashVars
- Using LoadVars
- Loading XML
- Consuming a Web Service
- Live data connections with XMLSocket Connections
- Building Rich Internet Applications: Planning, Planning, Planning
- A Simple Plan
- Tools You Can Use
- Applying a Discipline
- Building Rich Internet Applications: Design Counts
- Do Not Be Afraid to Ask For Help
- What if You Do Not Have a Ben To Call
- Building Rich Internet Applications: Beyond the Movie Clip
- UI Components
- Data Components
- Media Components
- Manager Components
- Screen Components
- Building Rich Internet Applications: Using Macromedia Central
- What Central is All About
- Who is Using Central?
- Developing for Macromedia Central
- Next Steps You Need to Take
- Building Rich Internet Applications: Using Macromedia Flex
- Authoring with Flex
- Publishing with Flex
- Presenting the Solution: Delivering Flash Applications to the Web
- Flash's own Publishing Tools
- Using Dreamweaver
- Writing your Own HTML
- Presenting the Solution: Delivering Flash Over Non-PC Devices
- Using Macromedia's Flash Lite
- Programming for Flash Lite
- FlashCast
- Informit Articles and Sample Chapters
- Books and e-Books
- Flash for Designers: Rich Media Production
- Graphic Control in Flash
- Drawing in Flash
- Importing Vector Art
- Importing Raster
- Scripting Images
- Introduction to the Rich Media Production
- Using Video, Audio and Images in your Flash Movies
- Using SWF Flash Movies
- Using JPEG Images
- MP3 Sound Files
- Flash Video
- Using Components to Build Rich Media Solutions
- Using the Loader Component
- Using the Media Components
- Controlling Components with ActionScript
- Controlling the Loader Component
- Media Components
- Using Audio in Flash
- Linking to MP3
- ActionScript-Controlled Audio
- Volume Control
- Publishing Audio
- Summary
- Video in Flash
- Working with Video
- Controlling Video with Components
- Exporting Video
- Summary
- Choosing Which Version of Flash Communication Server to Use
- Server Requirements
- Installation
- Running Communication Server on Different OS Platforms
- Pitfalls to Watch for
- Summary
- Streaming Video
- Live Video
- Broadcast Video on Demand
- Flash Video Components
- The Communication Server MX Server Code for the VideoPlayBack Component
- Record Video with VideoRecord Communication Component
- Create A Video Conference
- Examining the VideoConferencing Component
- The Communication Server MX Server Code for the VideoConferencing Component
- Summary
- Using the Microphone and Camera Core Classes
- Microphone
- Camera
- Constructing Large Applications That Leverage Video and Audio
- Configuring the Server
- Creating the Movie
- Broadcasting
- Summary
- Informit Articles and Sample Chapters
- Books and e-Books
- Matthew's Predictions for 2006
- Matthew's Favorite Flash Books
- Matthew's Favorite Flash Web Resources
- Macromedia as Part of Adobe
- First Look: Flash Player 8
- First, the Facts
- What Macromedia Brings to the Table
- What Adobe Brings to the Table
- What the Two Companies Can Do for Each Other
- A Brief History of Flash
As a 3D artist, you may be disappointed to learn that there are no tools in Flash specifically for creating 3D designs. But that doesn’t mean you’re out of luck. In Flash the third dimension is created through illusion and ingenuity.
Generating 3D effects in Flash requires that you manipulate drawings to appear as if they have depth. This is achieved by using the drawing, color, and transformation tools to make your drawings appear to be 3D.
In this guide entry you will learn the techniques that can be applied to create simple and complex 3D drawings and animations. You will use the tools available in Flash to draw your graphics and manipulate your animations.
Drawing Technique
The trick to creating 3D effects in Flash is understanding how you can manipulate the drawing tools. All of the 3D movies you create with Flash are going to be viewed on a computer or electronic device. This gives you an edge because the screen is flat. This prevents anyone from picking up your 3D model and rotating in their hands.
With the flat screen of the monitor being the constant that prevents you customers from reaching in a grabbing your models, you can create the illusion of 3D. This is done through manipulating the shape and design of an object on the screen. Yeh, a little smoke and mirrors never hurt anyone.
Shape Design
Even with 2D drawing tools you can create 3D effects within Flash because all 3D objects start out as basic shapes.
The first step in creating 3D effects is to start simple. The most used 3D effect on the Internet is the drop shadow effect. A drop shadow is often used on text to give the text additional depth. The following exercise explains how you can create a drop shadow effect in Flash. Later you will take this same technique and create a shadow for a bouncing ball.
- The first step is to open Flash and create a new file. Save the file and name it dropShadow.fla.
- Select the Text tool. From the Properties panel, select the color picker and change the color of the text to #999999.
- On the stage write the words "Flash 3D."
- Select the text you have just written on the stage and press CTRL+D (Windows), Command-D (Mac), to duplicate the text. The new text will be offset from the original by ten pixels. This will become the shadow for the first text block.
- Select the new text. From the Properties panel, select the color picker and change the color of the new text block to #CCCCCC, or light gray.
- The second text string is currently on top of the original. This does not really work for a drop shadow, so you are now going to make it work. Select the light text and choose Modify > Arrange > Send to Back. This moves the light gray text behind the dark gray text. Now things are looking better.
Now you have a drop shadow. In many ways this is arguably the most basic 3D effect, but even though I have seen it a thousand times, I still like it. The effect may not be mind blowing, but it is engaging.
Color
Color is an additional tool you can use to create 3D depth to the objects you have on the stage. In the previous exercise, 3D effect was added to text. The effect of the drop shadow was heightened through the two different colors. The lighter text adds depth.
In 3D programs you can change the depth of an object through light. First you define your light source and then the 3D program will apply shadows where appropriate. Flash does not have a light source that enables you to do this. That makes things more challenging.
Fortunately, Flash does have the Color Mixer panel that enables you to mix gradient colors. Gradients can be used to create very convincing light effects. The two types of gradient within Flash are linear and radial.
Linear
A linear gradient in Flash takes two or more colors and applies them to a gradient fill along a horizontal axis. In the previous exercise you created a drop shadow effect for some text. What if you want to pretend that the light source for the text is directly behind the text for the drop shadow? To achieve this effect you need to reflect the text and then bleed the color away from the shadow as if the light is fading. This can be done with Flash and the use of a linear gradient.
- Begin by taking the text you created in the file dropShadow.fla. Save this new file as dropShadow2.fla.
- Select the gray shadow used for the drop shadow and delete it.
- Select the only text block on the stage. Press CTRL+D (Windows), Command-D (Mac), to duplicate a copy of the original text. A new copy will appear to the left of the original text.
- Select the new text block and then choose Modify > Transform > Flip Vertical. This will flip the text to act as a mirror image of the original.
- A shadow can appear to lose intensity as it extends away from the main subject. This is achieved through a linear gradient. Choose Windows > Color Mixer, then choose Linear from the color mixer drop-down menu. To the left of the drop-down menu you will have one color picker and two colors.
- Select the first color block on the slide. Open the color picker and choose the color white. Select the second color block on the slide and choose dark gray #666666 from the color picker.
- Open the Color Swatches panel. Move the cursor over the gray area beneath the swatches of color. You will see that the cursor changes to the paint pot. Click this area. A new swatch will appear. This new swatch is a linear white-to-gray gradient. The color needs to be added to the Color Swatch so that you can access it later when you want to change the color of the text.
- The reflected text will need to have the gradient applied to it from top to bottom. Text can not have a gradient applied to it. For the text to have a gradient, you must first convert it into a shape. Select the reflected text on the stage and press CTRL+B (Windows), Command-B (Mac), to break the text. You will need to do this twice to break the text string to individual text blocks and then into drawings. Currently, if you apply the gradient it will be from left to right. This can be changed with a simple trick. Select the reflected text and choose Modify > Transform > Rotate 90° CCW.
- Select the entire reflected text image. From the Properties panel, select the Fill Color. Choose the new gradient you just created from the bottom right of the Fill Color. Select the entire reflected text image and choose Modify > Transform > Rotate 90° CW. This places the text back to its original position.
- To add the final touch, move the new linear gradient until the bottom of the "g's" touch to form the two text blocks. Here you have the illusion of a shadow moving away from the text.
Radial
If you shine a flashlight onto an object in the real world you will see a shadow cast from the object. Move the light. You will see that the object itself changes color as the angle of the light moves. The light is creating a new sense of depth. The radial gradient effect can give flat objects—particularly curved objects— the illusion of depth.
In the following exercise you will see how a flat circle can be converted into a ball with the radial gradient. Later, this new ball will be animated with its own shadow.
- Begin by creating a new file. Save this file as ball.fla.
- Select the Oval tool and draw a circle. From the Properties panel, change the Fill Color of the circle to #FF0000 (red).
- Choose Windows > Color Mixer. Choose Radial from the drop-down menu. A color slide will appear with two colors. Select the color block on the slide on the far left. Choose the color picker and select #FF0000. Select the color block on the right side of the slide. Choose black from the color picker.
- On the stage, select the Fill Color from the Properties panel and choose the new radial gradient you created. You will see that the gradient is applied to the center of the circle. This is not a very realistic. To apply a more realistic effect of light over the circle and make it appear as a sphere, you need to change where the center of the radial gradient is placed.
- Choose the Paint Bucket from the Tool Bar panel. From the Fill Color picker on the Tool Bar, choose the new radial gradient you created. Move the Paint Bucket to the top left-hand corner of the circle and apply the fill. The goal is to move the fill color away from the circle’s center to the top left so that the circle now looks like a ball.
So far you have seen you have can take a static image and give it the illusion of 3D. Now you will take these objects and give your 3D objects movement.
Summary
As you can see, 3D can be easily and effectively created in Flash. Search around the Web for places such as http://www.erain.com for more information on how to create 3D objects in Flash.