Upload
rakesh
View
223
Download
0
Embed Size (px)
Citation preview
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 1/23
Practical File
Of
Multimedia Technology
Program: 1
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 2/23
Aim: Write a program to create a blinking object.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. "o create an object ith the help of pencil tool.#. Fill the object ith colors using the Paint bucket tool.
$. %nsert a ne keyframe on that layer lea&ing some frames.
'. (gain dra an object and fill the it ith colors using the paint bucket tool
on the key frame.
). "o press *trl + ,nter to run.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 3/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 4/23
Program: 2
Aim: Write a program for image morphing.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. "o import the first image in first frame.
#. "o trace the bitmap.
$. "o right click on any ne-t frame and insert blank keyframe .
'. Take any other image hich is different from first image and trace the
bitmap.
). ight click on any of the middle frames and select shape teen option.
/. Press the *trl + ,nter to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 5/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 6/23
Program: 3
Aim: Write a program for motion teening of an object.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. Take a line in first layer and first frame.
#. "o insert a second layer and dra an object on the line.
$. "o right click on any ne-t frame in first layer and insert frame.
'. %n second layer e create the motion teen.
). "o right click on any ne-t frame in second layer and insert keyframe.
/. "o ith the help of selection tool mo&e the object to another position.
0. Press the *trl + ,nter to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 7/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 8/23
Program: 4
Aim: Write a program that sho guided motion.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. *reate an object on the frame.
#. Select the object using sub selection tool.
$. *on&ert the object to Symbol.
a Select the te-t using sub selection tool.
b 2o to insert.
c Select the 3con&ert to symbol4 option.
d Select 3Mo&ie clip4.
e *lick Ok button.
'. "o create motion teen.
). %nsert frame on that layer lea&ing some frames.
/. %nsert Motion guide layer.
0. ( guided layer ill be created."o click on the guided layer so that it gets
enabled.
5. Take a pencil tool and make any desired path.
16.*lick on the first frame of layer 1 and put the object on one starting of the
path dran by pencil.
11.%nsert other keyframe and put the object at the end of pencil path.
1!.Press the *trl + ,nter to run the program.
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 9/23
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 10/23
Program: 5Aim: Write a program for scale and rotate.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. Take a frame on a layer and create an object on that frame.
#. Select the object using sub selection tool.
$. 2o to modify 7Transform7Scale and otate option.Fill &alues in si8e and
rotate.So at this keyframe si8e of an object ill increase of its original
image.
'. Take another keyframe on the same layer lea&ing some frames after the
pre&ious frame.
). *lick on that keyframe9 select the object again and go to modify
7Transform7Scale and otate option. (gain fill si8e and rotate option
ith different &alues9 say smaller thn before.
/. ight click on any of the middle frames and select shape teen option.
0. Press the *trl + ,nter to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 11/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 12/23
Program: 6
Aim: Write a program to change the si8e of any object using button.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. :ra an object and four smaller objects as buttons and select that object.
#. ight click on object and con&ert it to mo&ie clip and gi&e name to it.
$. "o gi&e the instance name same as mo&ie clip symbol name and click on
sap button then ok.
'. Select those four buttons one by one9 right click on it and con&ert them into
button symbol.
). "o rite the coding for all button in action indo;F5.
/. *oding for height<=
For increment= For decreament=
On; release on;release> >
add?height@add?height+'A add?height@add?height='A
B B
0. *oding for idth<=
For increment= For decreament=
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 13/23
on ;release on;release
> >
add ?idth@add?idth+'A add?idth@add?idth='A
B B
5. Press *TC+,"T, to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 14/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 15/23
Program: 7
Aim: Write a program to rotate any object and change the Duality of an object
using button.
Procedure:
1. Start the Macromedia Flash player and create a ne document.
!. :ra an object and three smaller objects as buttons and select that object.
#. ight click on object and con&ert it to mo&ie clip and gi&e name to it.
$. "o gi&e the instance name same as mo&ie clip symbol name and click on
sap button then ok.
'. Select those three buttons one by one9 right click on it and con&ert them into
button symbol.
). "o rite the coding for all button in action indo;F5.
/. *oding for rotation<=
On; release
>
add?rotation@add?rotation+#'AB
0. *oding for Duality<=
on;release
>
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 16/23
add ?Duality@4high4A
B
5. Press *TC+,"T, to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 17/23
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 18/23
0.Press *TC+,"T, to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 19/23
Program: 9
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 20/23
Aim: Write a program to use masking.
Procedure:
1. Start the Macromedia Flash player and create a ne document
2. *hange the si8e and color of indo from document Properties;Eeight<166p- Width<1666p-
#. :ra a circle at the left corner of indo.
$. %nsert a keyframe at any location and mo&e the circle to the right side of
indo.
'. :ouble click in beteen frame indo and gi&e teen as motion .
). %nsert a ne layer9 Type some te-t using te-t tool.
/. esi8e the te-t bo- using free transform tool.
0. ight click on the layer ! in hich you dra te-t and select mask.
5. Press *TC+,"T, to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 21/23
Program: 10
Aim: Write a program for te-t morphing
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 22/23
Procedure:
1. Start the Macromedia Flash player and create a ne document
2. Take a frame on that layer and insert any te-t on that frame.
3. Select the te-t by *TC+(.
4. Press *TC++ to break apart the te-t.
5. %nsert blank frame on that layer lea&ing some frames.
6. %nsert another te-t on the keyframe.
7. (gain select the te-t and press *TC++.
8. *lick on any of the middle frames and select shape teen option.
9. Press *TC+,"T, to run the program.
Output:
8/17/2019 Multimedia Technology lab programs
http://slidepdf.com/reader/full/multimedia-technology-lab-programs 23/23