0% found this document useful (0 votes)
22 views19 pages

Multimedia

The document outlines 8 practical programs using ActionScript in Macromedia Flash including programs to create a blinking star, implement shape and motion tweening, perform text morphing, and change properties like height, scale, and visibility of objects through scripting. Each program is explained step-by-step with the expected output provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views19 pages

Multimedia

The document outlines 8 practical programs using ActionScript in Macromedia Flash including programs to create a blinking star, implement shape and motion tweening, perform text morphing, and change properties like height, scale, and visibility of objects through scripting. Each program is explained step-by-step with the expected output provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

GURU JAMBHESHWAR UNIVERSITY

OF SCIENCE
AND TECHNOLOGY, HISAR

Practical File
Multimedia Technology

Submitted By: Submitted To:


Hitesh Vashisth Ayush Sharma
200010130046 Asst. Professor
B.Tech.(Cse-1) CSE Dept.
INDEX
Sr.N. TOPIC SIGNATURE
1. Blinking star

2. Write a program to create a


blinking star.

3. Write a program for shape


twining.

4. Write a program for text


morphing.

5. Write a program to change


height of an object using action
script.

6. Write a program to change


Xscale of an object using action
script.

7. Write a program to change


Yscale of an object using action
script.

8. Write a program to hide/unhide


an object using action script.
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.


Output:
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.


Output:
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.


Output:
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.

Step3: Convert the text 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’.
e) Click Ok button.

Step4: Press Ctrl + B + B to break apart the text.

Step5: Insert frame on that layer leaving some frames.

Step6: Delete the previous text from that keyframe and insert another text
on the keyframe and insert another text on the keyframe .

Step 7: Repeat step 3 and 4 for this text.

Step8: Right click on any of the middle frames and select create motion
tween option.

Step9: Press the Ctrl + Enter to run the program.


OUTPUT:
PRACTICAL NO :5
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.


OUTPUT:
PRACTICAL NO :6
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.
OUTPUT:
PRACTICAL NO :7
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.
OUTPUT:
PRACTICAL NO :8
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:

You might also like