Mmfile
Mmfile
TECHNOLOGY
(2015-2016)
MULTIMEDI
A
PRACTICAL
FILE
SUBMITTED TO: SUBMITTED BY:
Sandeep Duahan Sir Sakshi Garg
Asistant professor CSE
1 | Page
CSE Deptt. 5 th sem(Batch-2)
13013094
INDEX
SR.No TOPIC SIGNATURE
1. Blinking star
2 | Page
PRACTICAL NO :1
TOPIC: Write a program to create a blinking star.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Using pencil or drawing tool draw lines according to the desired
Shape on any frame.
Step3: Using bucket tool fill the desired colour. The desired colour can
be selected from the colour palette.
Step4: Now insert a new frame by right click on the frame number you
a new frame and insert new Key frame.
Step5: In the new Key frame you’ll find same object as in your initial
frame .Change the colour by selecting new color from the colour
palette and fill using bucket tool.
Step 6: Press ctrl+Enter to run.
3 | Page
Output:
4 | Page
PRACTICAL NO :2
TOPIC: Write a program for motion tweening.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Using pencil or drawing tool draw lines according to the desired
shape on any frame in one layer.
Step3: Using bucket tool fill the desired colour. The desired colour can
be selected from the colour palette.
Step4: Now insert a new frame by right click on the frame number you
a new frame and insert new Key frame.
Step5: In the new Key frame you’ll find same object as in your initial
frame .
Step 6: Insert a new layer from insert layer option.
Step 7: Draw a new object which you want to be in motion.
Step 8: Using bucket tool fill the desired colour which can be selected
from the colour palette .
Step 9: Now right click the frame and select motion tween.
Step10: Now insert a new key frame at the same frame number as the
previous layer .
Step11: Using sub selection tool select this object and move it to the
desired destination.
Step12 : Press ctrl + Enter to run.
5 | Page
Output:
6 | Page
PRACTICAL NO :3
TOPIC: Write a program for shape tweening.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Using pencil or drawing tool draw lines according to the desired
shape on any frame in one layer.
Step3: Using bucket tool fill the desired colour. The desired colour can
be selected from the colour palette.
Step4: Now insert a new frame by right click on the frame number you
a new frame and insert new blank Key frame.
Step5: In the new Blank Key frame draw the new object and fill the
desired colour.
Step 6: Select the object in the first frame using selection tool and in
properties select shape tweening.
Step7 : Press ctrl + Enter to run.
7 | Page
Output:
8 | Page
PRACTICAL NO :4
TOPIC: Write a program for text morphing.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any text on that frame.
Step6: Delete the previous text from that keyframe and insert another
text on the keyframe and insert another text on the keyframe .
Step8: Right click on any of the middle frames and select create motion
tween option.
9 | Page
OUTPUT:
10 | Page
PRACTICAL NO :5
TOPIC: Write a program for implementing guided motion.
Step6: Right click on the first layer(layer 1) and then click on ‘add
motion guide’.
Step9: Click on the first frame of layer 1 and put the object on one end
of the pencil path.
Step10: Click on the keyframe of layer 1 and put the object at the end of
pencil path.
Step11: Right click on any of the middle frames and select create motion
tween option.
11 | Page
OUTPUT:
12 | Page
13 | Page
14 | Page
PRACTICAL NO :7
TOPIC: Write a program to change height of an object using action
script.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any object on that frame.
Step3: Convert the object to Symbol.
a) Select the text using sub selection tool.
b) Go to insert.
c) Select the ‘convert to symbol’ option.
d) Select ‘Movie clip’and assign a instance name.
e) Click Ok button.
Step4: In Properties change the instance name say temp as assigned and
swap.
Step5: Insert frame on that layer leaving some frames.
Step6: Inset a new layer.
Step 7: Draw one or more objects and convert them into buttons:
a) Select the text using sub selection tool.
b) Go to insert.
c) Select the ‘convert to symbol’ option.
d) Select ‘Button’.
e) Click Ok button.
Step8: Now press F9 .Action Script will open write following:
On(release){
Temp._height=temp._height+2;
}
(for an increase in height by 2 units .similarly different signs
and numbers can be used)
Step9: Press the Ctrl + Enter to run the program.
Step10 Press the button/buttons to see the change.
15 | Page
OUTPUT:
16 | Page
PRACTICAL NO :8
TOPIC: Write a program to change xscale of an object using action
script.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any object on that frame.
Step3: Convert the object to Symbol.
f) Select the text using sub selection tool.
g) Go to insert.
h) Select the ‘convert to symbol’ option.
i) Select ‘Movie clip’and assign a instance name.
j) Click Ok button.
Step4: In Properties change the instance name say temp as assigned and
swap.
Step5: Insert frame on that layer leaving some frames.
Step6: Inset a new layer.
Step 7: Draw one or more objects and convert them into buttons:
f) Select the text using sub selection tool.
g) Go to insert.
h) Select the ‘convert to symbol’ option.
i) Select ‘Button’.
j) Click Ok button.
Step8: Now press F9 .Action Script will open write following:
On(release){
temp._ xscale =temp._xscale+2;
}
(for an increase in height by 2 units .similarly different signs
and numbers can be used)
Step9: Press the Ctrl + Enter to run the program.
Step10 Press the button/buttons to see the change.
17 | Page
OUTPUT:
18 | Page
PRACTICAL NO :9
TOPIC: Write a program to change yscale of an object using action
script.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any object on that frame.
Step3: Convert the object to Symbol.
k) Select the text using sub selection tool.
l) Go to insert.
m)Select the ‘convert to symbol’ option.
n) Select ‘Movie clip’and assign a instance name.
o) Click Ok button.
Step4: In Properties change the instance name say temp as assigned and
swap.
Step5: Insert frame on that layer leaving some frames.
Step6: Inset a new layer.
Step 7: Draw one or more objects and convert them into buttons:
k) Select the text using sub selection tool.
l) Go to insert.
m)Select the ‘convert to symbol’ option.
n) Select ‘Button’.
o) Click Ok button.
Step8: Now press F9 .Action Script will open write following:
On(release){
temp._ yscale =temp._yscale+2;
}
(for an increase in height by 2 units .similarly different signs
and numbers can be used)
Step9: Press the Ctrl + Enter to run the program.
Step10 Press the button/buttons to see the change.
19 | Page
OUTPUT:
20 | Page
PRACTICAL NO :10
TOPIC: Write a program to hide/unhide an object using action
script.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any object on that frame.
Step3: Convert the object to Symbol.
p) Select the text using sub selection tool.
q) Go to insert.
r) Select the ‘convert to symbol’ option.
s) Select ‘Movie clip’and assign a instance name.
t) Click Ok button.
Step4: In Properties change the instance name say temp as assigned and
swap.
Step5: Insert frame on that layer leaving some frames.
Step6: Inset a new layer.
Step 7: Draw one or more objects and convert them into buttons:
p) Select the text using sub selection tool.
q) Go to insert.
r) Select the ‘convert to symbol’ option.
s) Select ‘Button’.
t) Click Ok button.
Step8: Now press F9 .Action Script will open write following:
on(release){
temp._visible=0;
}
(for an increase in height by 2 units .similarly different signs
and numbers can be used)
Step9: Press the Ctrl + Enter to run the program.
Step10 Press the button/buttons to see the change.
OUTPUT:
21 | Page
22 | Page
PRACTICAL NO :11
TOPIC: Write a program to change quality an object using action
script.
Step1: Open Macro Flash Media Player and create a new document.
Step2: Take a frame on that layer and insert any object on that frame.
Step3: Convert the object to Symbol.
u) Select the text using sub selection tool.
v) Go to insert.
w) Select the ‘convert to symbol’ option.
x) Select ‘Movie clip’and assign a instance name.
y) Click Ok button.
Step4: In Properties change the instance name say temp as assigned and
swap.
Step5: Insert frame on that layer leaving some frames.
Step6: Inset a new layer.
Step 7: Draw one or more objects and convert them into buttons:
u) Select the text using sub selection tool.
v) Go to insert.
w) Select the ‘convert to symbol’ option.
x) Select ‘Button’.
y) Click Ok button.
Step8: Now press F9 .Action Script will open write following:
on(release){
temp._quality=”high”;
}
(for an increase in height by 2 units .similarly different signs
and numbers can be used)
Step9: Press the Ctrl + Enter to run the program.
Step10 Press the button/buttons to see the change.
OUTPUT:
23 | Page
24 | Page
25 | Page