CT1514
One of Adobe Products also called Adobe Flash is a multimedia platform used to add animation, video, and interactivity to web pages
Flash is frequently used for advertisements games flash animations for broadcast
It manipulates vector and raster graphics It Provides animation for Text Drawings Still images It supports bidirectional streaming of audio and video. it can capture user input via mouse, keyboard, microphone, and camera. It contains an object-oriented language called Action Script
The Adobe Flash Player is software for viewing multimedia, Rich Internet Applications and streaming video and audio, on a computer web browser or on supported mobile devices. Flash Player runs SWF (see Table 1) files that can be created by the Adobe Flash
.swf.fla Animation created with Adobe Flash plays in Web browsers that have the Flash plug-in installed Editable movie or animation created with Adobe Flash; i.e. open file File Export MovieFile Save As Table 1:.fla file extension vs..swf file extension
Group of Plates(also called panel) 4.Timeline panel 3.Tool box 1.Stage 2.Properties panel Zoom Box
The Stage in Adobe Flash is the rectangular area where you place All the graphic contents. The gray area surrounding the stage is called “Work Area” The work area my contain graphical items also BUT only the ones on the stage will appear in the final flash file
Use to setup some of the flash file properties such as : Size Background color Frame rate Flash player version File name “It’s important to know that the functions of this panel changes with the change of the used tool from tool box (Later)”
Consist of : Drawing Tools Typing Tool Selection Tools Free Transform Tool View Tools Colors Tool Options
1)Line Tool 2)Oval Tool 3)Rectangle Tool 4)Pencil Tool 5)Bruch Tool 7)Paint Bucket Tool and gradient Tool 6)Fill Transform Tool 8)Ink Bottle Tool 9)Eraser Tool 10)Eyedropper Tool
Any Shape drawn in Flash MX using any of the Drawing Tools will consist of tow parts: (Stroke): Outside border of the shape (Fill): Inside color of the shape Stroke Fill Note That: The Stroke ad fill are considered separated shapes And can be treated separately
1) Line Tool Properties Panel
2) Oval Tool Properties Panel
3) Rectangle Tool Properties Panel Options Panel
3) Rectangle Tool (Example) Radius=5Radius=15
4) Pencil Tool Properties Panel Options Panel
4) Pencil Tool (Example) Pencil Mode: StraightenPencil Mode: SmoothPencil Mode: Ink
5) Brush Tool Properties Panel Options Panel Brush Mode Brush Size Brush Shape
5) Brush Tool Options Panel See Example1.a See Example1.b See Example1.c See Example1.d See Example1.e
First drawn Second drawn Example1.anormal Example1.b Example1.bfills Example1.c Example1.cbehind 1 2 Example1.d Example1.dselection Example1.e Example1.einside Note: You should start drawing the yellow line From inside the red line
7) Paint Bucket Tool [2] Properties Panel Options Panel The Paint Bucket fills enclosed areas with color. It fills empty areas as well as changes the color of areas already filled It has a Gap Size modifier that can overlook gaps so that you can fill areas that aren't completely closed (See Example 2) Note That: Paint Bucket Tool can’t fill the color of an area’s boundaries(i.e. the can't fill the Stroke)
Example 2
7) Gradient Tool [3] (See Example 3)To fill a shape (or replace a solid fill) with a gradient as following: In the Toolbar, select the paint- bucket icon. In the Color Mixer panel, define a new gradient. or From the Color Swatches panel, or the fill-color box in the Toolbar or Property Inspector, choose an existing linear gradient
Draw a Circle shape (Stroke: Black, Fill: White) Choose the Paint Bucket Tool then go to the color mixer and set it to the following: Fill style: Radial Fill Colors: Right (R:102,G:102,B:102)- Left(R:201,G:1,B:141) Apply Gradient Example 3
Note That: Paint Bucket Tool can fill an area with an image also
6) Fill Transformed Tool [3] It is used to modify applied gradient.
8) Ink Bottle Tool It is used to fill the shapes borders (Stroke)
9) Eraser Tool Options Panel See Example4.a See Example4.b See Example4.c See Example4.d See Example4.e Eraser Size Faucet
Note: You should start drawing the yellow line From inside the red line 1 2 Example4.a Example4.b Example4.c Example4.d Example4.e
Subselection Tool: Using the subselect tools allows us to make precise adjustments to the flash drawings
Arrow Tool
Text is an important element in most movies. There is 3 type of text that can be used [4] : Static text: can be used when a message doesn't change Strings: It used in cases you can't predict exactly what information you need to show users. It is an ActionScript data type that stores text information. It can be visible on the stage, or they can work behind the scenes(in the computer's memory). Two types of text fields – dynamic and input -are the onscreen representations of string variables stored in memory.
Dynamic Text Vs. Input Text between input and dynamic text are both used to display changing text values The main difference between them is that users can type and paste directly into input text fields.
1- select the free transform toll form the tool box 2-click on the object (Symbol or image) to be transformed- double click object(Shape) to be transformed 3-use the mouse to adjust.
Note That: Free Transform Tool can be used on an imported images which can be imported to stage as following:
Note That: You can make the imported image fit into the staged (i.e. have the same size) by changing either the image size to be as the stage size or vice versa as folloing: Right click on the image Panels Info
The Timeline organizes and controls a document’s content over time in layers and frames Like films, Flash documents divide lengths of time into frames. Layers are like multiple film strips stacked on top of one another, each containing a different image that appears on the Stage.
A flash document consist of Layer(s) Each layer consist of Frames
Left side: Layers Right side Figure 1
Layer Visibility Layer Lock Layer Outline Delete Insert layer folder Add motion Guide Insert layer Figure 2
Type of layers Guide Motion Guide Normal Figure 3
What is Guide Layer? Helps in aligning objects when drawing; create guide layers and align objects on other layers to the objects you create on the guide layers. Guide layers are not exported and do not appear in a published SWF file. Any layer can be a guide layer. Guide layers are indicated by a guide icon to the left of the layer name ( )
How to create a Guide Layer? Select the layer and Right-click Guide from the context menu. To change the layer back to a normal layer, Right- click select Guide again.
What is Motion Guide Layer? Controls the movement of objects in a Motion tween animation How to create a Motion Guide Layer? Click on the Note: the created motion Guide layer will guide a selected layer ( an usually appears above that layer). How to make it guide another layer or several layers? (Hint: Drag- drop)
What is Normal Layer? A layer contains objects, drawings, texts, bitmap images..etc How to create & manage a Normal layer From the layer panel as seen in figure 2
Left side: Layers Right side
Key Frame Normal Frame Empty Frame Figure 4
Key Frame: Any time your wish that your animation to undergo a visual change or you want an action to occur, you must use a keyframe at that point on the timeline Empty Frame: Ready to contain a change and/or action A keyframe with content visible on the stage is identified by a solid black dot; a blank keyframe is identified by a hollow dot; and a keyframe with an attached action is identified with a small a (Later). Normal (Regular) Frame: A keyframe on the timeline denotes a change; the regular frames that follow a keyframe determine the duration of that change. Thus, Regular frames always follow keyframes and contain the same content as the last keyframe on the same layer
Delete a frame, keyframe, right-click select Remove Frames. Surrounding frames remain unchanged. Move a keyframe or frame sequence and its contents, select it(use shift for multiple frames) and drag to the desired location. Extend the duration of a keyframe, Alt ‑ drag it to the final frame of the new sequence. To copy and paste a frame or frame sequence, select it (use shift for multiple frames)then right-click Copy Frames. Select a frame or sequence to replace then right-click Paste Frames
To copy a keyframe or frame sequence by dragging, select it and Alt ‑ drag To convert a keyframe to a frame, select the keyframe then: select Modify > Timeline > Clear Keyframe or, right-click it and select Clear Keyframe. Important: The cleared keyframe and all frames up to the subsequent keyframe are replaced with the contents of the frame preceding the cleared keyframe.. To change the length of a tweened sequence, drag the beginning or ending keyframe left or right. To reverse an animation sequence, select the appropriate frames in one or more layers then: select Modify Timeline Reverse Frames or Right-click Reverse Frames Keyframes must be at the beginning and end of the sequence.
Figure 5
A- Playhead: indicate the current frame displayed on the stage B- Empty Keyframe: a keyframe that may contain changes in the future E- Frame view pop-up menu Change the display of frames in the Timeline
F- Frame by Frame animation: see (Frame_by_Frame.fla) file G- Tweened Animation: a keyframe that may contain changes in the future H- Scroll to Playhead: Center the timeline on the current frame I- Onion Skinning Button: see (Onion_Skinning.fla) file to view incremental changes between each keyframe. Useful with Frame by frame animation Motion tween
K- Frame Rate indicator: L- Elapsed time indicator:
Frame by Frame Animation Twined Animation
Frame by Frame Animation frame-by-frame animation changes the contents of the Stage in every frame and is best suited to a complex animation in which an image changes in every frame instead of simply moving across the Stage. [8] To create a frame-by-frame animation, you define each frame as a keyframe and create a different (typically modified) image for each frame. Note: This type of animation increases the file size more rapidly than tweened animation because Flash stores the values for each keyframe.
Tweened Animation: A tween is an animation that is: Created by specifying a value for an object property in one frame and another value for that same property in another frame. Flash calculates the values for that property in between those two frames. The term tween comes from the words “in between”. [7]
Type of Tweened Animation: 1. Motion tween [9] : you create the motion tween and then define properties such as position, size, and rotation for an instance or text block at one point in time, and then you change those properties at another point in time. Flash automatically creates the gradual change between the first and second point in time. You can also apply a motion tween that follows a motion path (Using Motion Guid Layer). It works on symbols and texts blocks
Type of Tweened Animation: 2. Shape tween [10] : involves drawing a vector shape on one specific keyframe in the Timeline and then creating another keyframe and drawing another shape on the second keyframe Flash interpolates the intermediate shapes for the frames in between, creating an animation of the first shape morphing into the second shape.
Shape tween vs. Motion tween:Beside the difference in the way which of them works Motion TweenShape Tween Works on Symbols and text blocks Works on vector shapes Groups instances, bitmap images Text block Modify Break Apart Modify Break Apart (Twice) Vector Shape or image F8
Example 1 Modify Break Apart
[1] [1] [2] [3] [4] [5] 3b18f10cb1fe1af6-7f84a.htmlhttp://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f d6b88 3b18f10cb1fe1af6-7f84a.html [6] in-flash-cs3.html in-flash-cs3.html [7] 3b18f10cb1fe1af6-7d8aa.htmlhttp://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f d6b88 3b18f10cb1fe1af6-7d8aa.html [8] [9] [10] [11]