Multimedia Applications
Multimedia Applications
Faculty Name:
Submitted by:
Roll No.:
Adobe Flash (formerly Macromedia Flash) was a multimedia software platform used to produce
animations, web applications, games, and more. It was widely used in the early 2000s for interactive
content on the web.
c) Transformation Tools
Convert to Symbol (F8): Turns objects into movie clips, buttons, or graphic symbols for reuse
and animation.
Library Panel: Stores and manages symbols, sounds, videos.
g) Animation Tools
🎞️ 3. Flash ActionScript
🚫 5. Flash End-of-Life
HTML5 Canvas
CSS animations
JavaScript frameworks like GreenSock or Three.js
Security issues
Lack of mobile support (iOS never supported it)
Performance concerns
Frame-by-frame animation involves drawing each frame of the animation individually. It’s similar to
traditional hand-drawn animation where every frame shows a slight change from the previous one.
Use the Brush Tool (B) or Pencil Tool (Y) to draw the first pose/object.
Turn on Onion Skin from the timeline controls to see faint outlines of previous and next frames
— this helps guide your drawing.
Motion Tweening automatically animates changes in position, rotation, scale, or color of a symbol (like
a movie clip) between two keyframes. You only define the start and end positions, and Flash/Animate
fills in the rest.
2. Draw an Object
Use the Oval Tool or Rectangle Tool to draw something (like a circle).
Select the object.
3. Convert to Symbol
🔄 Optional Enhancements
A Guide Layer is a special timeline layer used to draw a motion path. You can then attach an object to
follow this path — great for animating things like:
Cars on a road
Airplanes flying in curves
Ball bouncing in an arc
Note: “Motion Guide” works with Classic Tweens. For Motion Tweens, use Motion Path directly.
Use the Pencil Tool (Y) or Pen Tool (P) on the guide layer to draw a path.
Curves, loops, arcs — anything!
Go to Frame 1: Drag the center of the symbol to the start of the path (it should snap).
Go to Frame 30: Drag the object to the end of the path (it should snap too).
7. Preview the Animation
Hit Enter or Ctrl + Enter to watch your object follow the path 🎥
✅ Tips
Make sure the guide layer is linked to the tween layer (indicated by a curved arrow).
Guide layers don’t show up in the final export — they’re just for helping you animate.
For Motion Tween Paths (in modern Animate), you can simply use the motion path handles
directly — no guide layer needed.
Shape Tweening is a type of animation that allows one shape to morph into another over time. Unlike
motion tweening (which works with symbols), shape tweening works with raw vector shapes, like those
made with the brush, pencil, or shape tools.
Open Adobe Flash or Animate and start a new file (AS3 or HTML5 Canvas).
3. Insert a Keyframe
In Frame 30, delete the circle and draw a new shape (e.g., a star or square).
✨ Flash/Animate will morph the first shape into the second over the 30 frames.
Sometimes the shape tween looks weird — the morph doesn’t behave how you want. That’s where
Shape Hints come in.
Shape hints are little markers (labeled A, B, C...) that you place on both the start and end shapes to tell
Animate which parts should map to each other during the tween.
Repeat the shortcut or go to Modify > Shape > Add Shape Hint.
Add as many as needed (A, B, C, D...).
3. Go to End Frame
⚠️ Shape hints work only with one shape per layer and only with shape tweens.
Masking lets you use one layer (the mask) to control the visibility of content on another layer. Anything
that appears under the mask’s visible area is shown — everything else is hidden.
1. Create 3 Layers
o Top Layer: Your mask shape (e.g., a moving star).
oMiddle Layer: First masked content (e.g., text).
oBottom Layer: Second masked content (e.g., animated background).
2. Set Masking
o Right-click the top layer > Mask.
o Make the middle and bottom layers masked (right-click > Mask or drag under the mask
layer).
3. Animate Your Mask (Optional)
o Add motion tween to your shape in the top layer for cool reveal effects.
4. Lock All Layers
o Lock all three layers to see the mask in action.
🌟 Tips
Movie Clip Reusable animated object with its own timeline. Can be controlled with ActionScript.
2. Convert to Symbol
4. Return to Scene
actionscript
CopyEdit
myBall_mc.x += 5; // Moves the movie clip to the right
Frame Function
Up Default state
You can change color or style for each frame for feedback.
In AS3, give the button an instance name (like playBtn) and write:
actionscript
CopyEdit
playBtn.addEventListener(MouseEvent.CLICK, goNext);
function goNext(e:MouseEvent):void {
gotoAndStop(2); // Moves to frame 2 of the main timeline
}
💡 Real-Life Uses
Movie Clips Buttons
Always give your Movie Clips and Buttons instance names via the Properties panel.
Movie Clips can nest Movie Clips (animations inside animations).
Buttons can also trigger sounds, links, or visibility toggles.
Publishing means exporting your project into usable formats (like SWF, HTML5, MP4, or GIF) that can
run outside Animate. It includes creating:
Timeline is complete
Movie Clips and Buttons work
Content is within the stage
ActionScript (if used) has no errors
Go to:
mathematica
CopyEdit
File > Save As
Go to:
arduino
CopyEdit
File > Publish Settings
Here’s what you can choose:
SWF Classic Flash file (requires Flash Player; limited modern browser support)
Resolution
Quality (lossless or compressed)
Audio compression
Looping / frame rate
5. Click “Publish”
Animate generates the output files (e.g., .html, .js, .swf, .gif, etc.)
They’ll appear in the same folder as your .fla file unless you set a different location.
Use:
� Extra Tools
🔐 Pro Tips
Ans. � 1. stop()
📌 What it does:
✅ Example:
actionscript
CopyEdit
stop();
🛠️ Use:
Place this on Frame 1 or any keyframe where you want the animation to pause.
▶️ 2. play()
📌 What it does:
� 3. gotoAndStop(frameNumber) / gotoAndPlay(frameNumber)
📌 What it does:
Moves the playhead to a specific frame and either stops or plays from there.
📌 What it does:
✅ Example (AS2):
actionscript
CopyEdit
getURL("https://example.com", "_blank");
🛠️ Use:
🔁 In AS3, use:
actionscript
CopyEdit
navigateToURL(new URLRequest("https://example.com"), "_blank");
✅ Example:
actionscript
CopyEdit
call(myFunction);
✅ Defining a function:
actionscript
CopyEdit
function myFunction():void {
trace("Function was called!");
}
call() is more often used with tweening libraries like GSAP or in timeline scripts to execute a function
at a keyframe.
ActionScript:
actionscript
CopyEdit
stop(); // Stops on Frame 1
startBtn.addEventListener(MouseEvent.CLICK, goToScene);
function goToScene(e:MouseEvent):void {
gotoAndPlay(20);
}
✅ Summary Table
Function Description
Ans. 🔧 1. _x and _y
✅ What they do:
📌 Example (AS2):
actionscript
CopyEdit
myClip._x = 200;
myClip._y = 150;
🔁 In AS3:
actionscript
CopyEdit
myClip.x = 200;
myClip.y = 150;
🔁 In AS3:
actionscript
CopyEdit
myClip.scaleX = 1.5; // 150%
myClip.scaleY = 0.5; // 50%
💡 Tip:
actionscript
CopyEdit
myClip._xscale += 1;
👻 3. _alpha
✅ What it does:
📌 Example (AS2):
actionscript
CopyEdit
myClip._alpha = 50; // 50% see-through
🔁 In AS3:
actionscript
CopyEdit
myClip.alpha = 0.5; // 0.0 to 1.0
_x X position x
_y Y position y
✅ 2. MovieClip Events
actionscript
CopyEdit
myClip.onEnterFrame = function() {
this._x += 5; // Moves every frame
};
function handleClick(event:MouseEvent):void {
trace("Button clicked!");
gotoAndPlay(2);
}
🛠️ Musts in AS3:
actionscript
CopyEdit
import flash.events.MouseEvent;
✅ 2. Other Common Events
Event Type Description
function moveObject(e:Event):void {
myClip.x += 2;
}
function onKey(e:KeyboardEvent):void {
if (e.keyCode == Keyboard.LEFT) {
myClip.x -= 10;
}
}
btn.onRelease =
Button event addEventListener(MouseEvent.CLICK)
function(){}
Needs instance
Yes Yes
name
More modern ❌ ✅
🔔 Pro Tips
� 1. Selection Tools
� Pro Tips
Found under:
mathematica
CopyEdit
Image > Adjustments
Adjustment What It Does
💡 Use Adjustment Layers for non-destructive editing (Layer > New Adjustment Layer).
Use the Crop Tool (C) to trim unnecessary parts of the image
Use the Straighten Tool inside the Crop Tool to fix tilted horizons
3. � Retouching Tools
Tool Purpose
4. 🎨 Color Correction
High Pass Filter Popular technique for pro-level sharpening using layer blending
Go to:
css
CopyEdit
Filter > Filter Gallery
Example Filter Look
Camera Raw Filter Pro-level editing panel for exposure, clarity, vibrance
� Pro Tips
✨ Tip:
💡 Use Layer Masks to apply blur to only part of an image (e.g. blur the background).
1. Duplicate subject
2. Use Liquify Tool to stretch the copy
3. Add a Layer Mask and use a splatter brush to reveal stretched parts
4. Use Eraser Tool on edges for realism
💡 Pro Tips