Download presentation
Presentation is loading. Please wait.
Published byMagdalen McCormick Modified over 9 years ago
1
Introduction to Flash FYS100 Creative Discovery in Digital Art Forms Spring 2007 Burg
2
Designed for vector graphics Vector graphic images save objects as lines, geometric shapes. Vector graphic files are usually smaller than bitmap files. Good for web applications, where it’s better to have small files Good for cartoon or poster-like images. It’s easy to animate.
3
Drawing You can draw vector graphic objects directly in Flash. You can also create them in Illustrator and import them. You can also import sound and bitmap images.
4
Flash’s Stage The timeline is laid out in frames horizontally. Each frame is what the stage looks like a some moment in time. The default frame rate in Flash is 12 frames per scond. The Flash Stage is organized into Layers (vertically). You can draw more than one vector object onto the same Layer. But sometimes it’s easier for tweening to have just one object per Layer.
5
Layers in Flash Layers in Flash are like pieces of acetate laid one over the other. They are transparent except for where you put objects. You can animate Layers separately.
6
Programming in Flash In Flash you can make a lot of things happen without doing any programming. You can insert objects into layers and tween their shapes, sizes, and colors. You can do have even greater control over the animation if you use Flash’s scripting language, ActionScript.
7
Lines, Strokes, and Fills You can make vector objects that are just lines or strokes. They don’t have any color fill in them. You can also fill vector objects with color, so they have both an outline (lines and strokes) and a fill color. You can also have objects that have fill but no outline. The outline and fill are treated separately unless you group them.
8
Multiple Objects When you draw or drag one object over another, it cuts the other into pieces (unless the object has been “grouped”).
9
Things to Experiment With Gradients Pens and brushes Color mixing Bézier curves Note that not all the tools in Flash work exactly the way they work in Illustrator.
10
File Types for Distribution.fla is the native Flash environment. You have to have the Flash authoring program installed on your computer to play this file..swf is the web-version. You can play this via a web page or import it into a Director movie..exe is a stand-alone projector, executable on the platform for which it was compiled (Windows or Mac versions).
11
Keyframes You begin with a blank keyframe on a layer. Blank keyframes are represented by hollow circles. When you put something on the blank keyframe, it becomes a keyframe and is represented by a black circle. If you add more frames after a keyframe, they will contain what is on the previous keyframe. If you add a keyframe, it will have what was on the previous frame, and you can change this and then tween between the last keyframe and this one. If you add a blank keyframe you’ll get a blank frame and can start a whole new animation.
12
Shapes and Shape Tweening You can create shapes on the stage using Flash’s vector graphic tool. Shapes can be “shape tweened.” Shape tweening doesn’t just change the shape. It also can change color, scale (i.e., size), rotation, skew, position, and gradient. You can’t use shape tweening with grouped objects, symbols, or text that is not broken apart.
13
Symbols Once you’ve made a shape on the stage, you can convert it to a symbol if you want to. Then the symbol becomes part of your library. There are three kinds of symbols: –Graphic – has its own timeline, but the main timeline must be at least as long –Button – has its own timeline defining up, over, down, and hit states –Movie clip – has an independent timeline You can make multiple instances of a symbol. The symbol serves as a template for the instances.
14
More about Tweening You can “motion tween” grouped objects, text, and symbols. You can’t “motion tween” shapes. You can’t “shape tween” text without breaking it apart. You can “motion tween” along a path by inserting a path layer and connecting an object’s registration point at the beginning and end of the path.
15
Buttons Buttons have an up, over, down, and hit state. You define these states in the button’s timeline. Use the on (release) event handler to define what happens when the mouse is released (you click on the object).
16
Bitmaps Flash will compress any imported bitmaps when it publishes the movie. The choices are PNG/GIF (lossless) or JPEG (lossy). You can make global settings under File\Publish Settings. You can make settings for individual bitmaps under Bitmap Properties. These override global settings. You can import numbered sequences of images and they’ll play like a movie (if they are sequential images like movie frames).
17
Scenes and frame labels There are two ways you can create points that you can “go to”: –Scenes –Frame labels You can go to the frame lables with goToAndStop() or goToAndPlay()
18
Variables Only movie clips can be given instance names. You can then refer to them in ActionScript and make things happen dynamically. To create a global variable, use _global. as the prefix on the variable name.
19
Script You can put a script on a frame or on an object on stage. Make an actions layer where you put the frame scripts. When you click on the frame that has a script attached to it, you’ll see the script in the Actions panel. When you click on an object that has a script attached to it, you’ll see the script in the Actions panel.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.