Lab Manual Mad
-
Upload
harikrishna2009 -
Category
Documents
-
view
215 -
download
0
Transcript of Lab Manual Mad
-
8/14/2019 Lab Manual Mad
1/26
SWARNA BHARATHI INSTITUTE OF
SCIENCE
AND TECHNOLOGY, KHAMMAM.
MAD LABMANUAL
FOR
FINAL YEAR INFORMATION TECHNOLOGY
ENGINEERING-IV/I
BY
N.USHA RANI
-
8/14/2019 Lab Manual Mad
2/26
INDEX1. Do the animation for objects.
2. Do the animation text breaking and adding.
3. Drawing a circle.
4. Drawing a rectangle.
5. Applying GUIDE LAYER to move object in the specified
path.
6. Appling MASK for the picture.
7. Applying MASK for the TEXT in both the directions.
8. Do the scripting animation for COLOR CYCLING.
9. Creating buttons for changing the text color.
10. Applying buttons on animations.
11. Do the animation by creating text field.
12. Do scripting animation for mouse hiding.
13.Do animation for ZOOM IN and ZOOM OUT of thepicture.
14. Do animation for Fire-effect.
15. Do the animation for RGB colors(Color concept).
-
8/14/2019 Lab Manual Mad
3/26
1. DO THE ANIMATION FOR OBJECTS.
AIM: Animation for the object using SHAPE TWEEN.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.In the timeline bar select the frame number1.
3.Choose one of the objects from the toolbar;
draw the object on the document window.4.Select any other key frame number in the
timeline bar by pressing functional key F6.
-
8/14/2019 Lab Manual Mad
4/26
5.Drag the object from existing place to
somewhere and change the shape and color of
the object for observation.
6.Select the first frame, and in the propertiesbar-give the tween option as shape.
7.To see the preview press ENTER. (OR) to see
full screen press ctrl+ Enter.
Output: In this animation output you are
going to observe the way of object changing
from source to destination.
AIM: Animation for the object using MOTION
TWEEN.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
-
8/14/2019 Lab Manual Mad
5/26
1.Open a new document in the flash editor.
2.In the timeline bar select the frame number1.
3.Choose one of the objects from the toolbar;draw the object on the document window.
4.Select any other frame number in the timeline
bar by pressing functional key F6.
5.Drag the object from existing place to
somewhere and change the shape and color of
the object for observation.
6.Select the first frame, and in the properties
bar-give the tween option as motion.
7.To see the preview press ENTER. (OR) to see
full screen press ctrl+ Enter.
Output: In this animation output you aregoing to observe the direct change of object
from source to destination.
-
8/14/2019 Lab Manual Mad
6/26
2. DO THE ANIMATION FOR TEXT BREAKING AND
ADDING.
AIM: Animation for text breaking and adding.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.Take any text for the first frame in layer one
and break the text using Ctrl + B + B.
3.Select half of the text using arrow tool and cut
selected text using Ctrl +X, paste the text in
second layer using Ctrl + Shift +V.
4.Select key frame and apply motion for two
layers.
5.After that select layer1 move the text to
anyone of the direction and on same manner
move the second text.
6.To see the preview press ENTER. (OR) to see
full screen press ctrl + Enter.
-
8/14/2019 Lab Manual Mad
7/26
Output: In this animation output you are
going to observe the text breaking and
adding.
3. DRAW A CIRCLE.
AIM: Animation for drawing a circle.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.Go to tools and select oval tool, with the help
of the tool we can draw the circle.
4. DRAW A RECTANGLE.
AIM: Animation for drawing a rectangle.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
-
8/14/2019 Lab Manual Mad
8/26
Steps followed:
1.Open a new document in the flash editor.
2.
Go to tools and select the rectangle tool, withthe help of this tool we can draw the
rectangle.
5. APPLYING GUIDE LAYER TO MOVE OBJECT IN THE
SPECIFIED PATH.
AIM: Animation for applying guide layer to move
objet in the specified direction.Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.In layer one for the first frame select an objectand select final frame by inserting key frame
(F6).
3.Drag the object to the destination frame.
-
8/14/2019 Lab Manual Mad
9/26
4.Select guide layer, go to frame1 & select pencil
tool.
5.Create Motion Tween for the first & last frames
and for guide layer too.
6.With the help of pencil tool draw the path for
the object which is to be moved to the
destination frame.
7.Make sure that the object lies at the end of the
path.
8.To see the preview press ENTER. (OR) to see
full screen press ctrl + Enter.
Output: In this animation output you are
going to observe
moving of object in the specified path.
6. APPLYING MASK FOR THE PICTURE
AIM: Animation for applying mask for the picture.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
-
8/14/2019 Lab Manual Mad
10/26
1.Open a new document in the flash editor.
2.Go to file menu and select the option import to
library.
3.Select any one of the picture double click on
that.
4.To open the library press F11.
5.After opening library you will have your
selected image drag that image into the
document.
6. In the timeline bar select any frame and make
it constant by pressing F5.
7.Take the 2ndlayer and in that layer take any
tool from the toolbar and place it on the
image. After that select key frame exactly
F5 in layer1. Give motion tween for the 1st
and last frame.
8.After that apply free transform tool for the
object which is in layer2 and increase the size
of the object by dragging the mouse and then
right click on layer2 & select mask option.
9.To see the preview press ENTER. (OR) to see
full screen press ctrl + Enter.
Output: In this animation output you are
going to observe masking of a picture.
-
8/14/2019 Lab Manual Mad
11/26
7. APPLYING MASK FOR THE TEXT IN BOTH
DIRECTIONS.
AIM: Animation for text masking in both directions.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.Take any text for the first layer & insert key
frame at any frame
3.Take second layer & goto layer1 for the first
frame give right click select copy frames
option & then goto layer2 for the first frame
again give right click & select paste frames
option.
4.Change the color of the text by selecting colorwith the mouse.
5.Take third layer for the first frame take any
object i.e., circle or rectangle small in size.
6.Now apply free transform tool & give key
frame exactly at the end of the first & second
layer.
7.Move the third layer object over the text.
8.For the first frame & last frame apply create
motion tween.
-
8/14/2019 Lab Manual Mad
12/26
9.On the third layer give right click & select
mask option.
10. To see the preview press ENTER. (OR) to see
full screen press ctrl + Enter.
Output: In this animation output you are
going to observe the masking of text.
8. DO THE SCRIPTING ANIMATION FOR COLORCYCLING.
AIM: Animation for COLOR CYCLING.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:1.Open a new document in the flash editor.
2.Go to insert menu and select new symbol
option in that again select movie clip button
then press OK.
3.Take any object at frame one of layer1, give
next frame and change the color of the objectlikewise give five more frames by changing
the color at each and every frame.
4.Now goto scene1.
-
8/14/2019 Lab Manual Mad
13/26
5.Open the library using the key F11 and drag
the object on to the stage.
6.For the second frame give F5.
7.Using arrow tool select the object.
8.In the properties bar give the movie clip
instance name as a.
9.Then goto timeline bar select the frame and
constant frame give right click select
actions option
Actions -> Movie clip ctrl -> Duplicate movie
clip (double click) Target = a
New name = a select the checkbox here.
Depth = b
10. Again actions -> movie clip ctrl -> set property
(double click)property = rotation
Target = a
Value = b select the checkbox here.
11. Actions -> movie clip ctrl -> variables
(double click) ->
Set variableTarget = b
Value = b+10 select the checkbox
here.
-
8/14/2019 Lab Manual Mad
14/26
12. To see the preview press ENTER. (OR) to see
full screen press ctrl + Enter
Output: In this animation output you are
going to observe the color cycling.
9. CREATING BUTTONS FOR CHANGING THE TEXT
COLOR.
AIM: Animation for changing the text color.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
-
8/14/2019 Lab Manual Mad
15/26
Steps followed:
1.Open a new document in the flash editor.
2.
Go to the insert menu then select new symbolin which click on button.
3.Select the text and give the over frame after
that change the color.
4.Go to scene1, open library by pressing F11 and
drag the button on to the stage.
5.To see the preview press ENTER. (OR) to seefull screen press ctrl+ Enter.
Output: In this animation output you are
going to observe changing of text color
when the mouse is on button.
10. APPLYING BUTTONS ON ANIMATION.
AIM: Animation for applying buttons on animation.
-
8/14/2019 Lab Manual Mad
16/26
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:1.Open a new document in the flash editor.
2.Take any object for the first frame in layer1
and select the key frame also with the help of
F6.
3.Drag the object from source to destination,
press ENTER to see preview.
4.Go to insert menu select new symbol as button
and press OK. Write the button name as
play and select the key frames up, down,
over, hit.
5.Again do the same for another button name as
stop.6.Go to scene1, take layer2 and open library by
pressing F11.
7.Select play button right click on that select
actions -> movie ctrl -> play (double click).
8. Select play button right click on that select
actions -> movie ctrl -> stop (double click).
9.To see the preview press ENTER. (OR) to see
full screen press ctrl+ Enter.
-
8/14/2019 Lab Manual Mad
17/26
Output: In this animation output you are
going to observe moving of object according
to the button press.
11. DO THE ANIMATION BY CREATING TEXT FIELD.
AIM: Animation for calculating degree of object by
moving object using key board (mouse degrees).
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.Take movie clip and draw any object.
3.Go to scene1, open library by pressing F11 and
drag the object on to the stage.4.Give movie clip instance name as a.
5.Take a button, open library by pressing F11
and drag the object on to the stage.
6.Press Alt + mouse drag. Do this three times, all
together these are four buttons.
7.Take a text field and select the text tool and
keep the property as input text. Give variable
name as result.
-
8/14/2019 Lab Manual Mad
18/26
8.Repeat the above step (step 7) for text field Y
and give variable name as result1.
9.Go to near key frame & right click on Actions
-> variables -> set variables (double click)variable = result
value = int(getproperty(a,_x))
10. Again set variables (double click)
Variable = result1
value = int (getproperty (a,_y))
11. Right click on up button & click on actions
-> movie crtl -> on(double click), select key
press -> value = down
12. Go to movie clip ctrl -> set property (double
click) property = y position
Target = a
value = result1,Click on variables -> set variables (double
click)
variable = result1
value = result1-20
13. Right click on down button & click on
actions -> movie crtl -> on(double click), select
key press -> value = up
14. Go to movie clip ctrl -> set property (double
click) property = y position
-
8/14/2019 Lab Manual Mad
19/26
Target = a
value = result1,
Click on variables -> set variables (double
click)variable = result1
value = result1+20
15. Right click on right button & click on
actions -> movie crtl -> on(double click), select
key press -> value = right
16. Go to movie clip ctrl -> set property (doubleclick) property = x position
Target = a
value = result,
Click on variables -> set variables (double
click)
variable = result
value = result+20
17. Right click on left button & click on actions
-> movie crtl -> on(double click), select key
press -> value = left
18. Go to movie clip ctrl -> set property (double
click) property = x position
Target = avalue = result,
Click on variables -> set variables (double
click)
-
8/14/2019 Lab Manual Mad
20/26
variable = result
value = result-20
19. To see the preview press ENTER. (OR) to
see full screen press ctrl+ Enter.
1.
Output: In this animation output you aregoing to observe mouse coordinates of x and y
axis in the text field by moving the object.
12. DO SCRIPTING ANIMATION FOR MOUSE HIDING.
AIM: Animation for MOUSE HIDING.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.2.Take a movie clip and do any animation.
3.Go to scene1, open library drag the object on
to the stage
-
8/14/2019 Lab Manual Mad
21/26
4.Give movie clip instance name as a.
5.Select the object right click on that go to
actions -> movie clip ctrl -> start drag (double
click)target = a , click on expression and lock on
mouse too.
6.Go to actions -> objects -> movie -> mouse ->
methods -> hide(double click).
7.To see the preview press ENTER. (OR) to see
full screen press ctrl+ Enter.
Output: In this animation output you are going
to observe mouse hiding by the specified object in
the animation.
13. DO ANIMATION FOR ZOOM IN AND ZOOM OUT
OF THE PICTURE.
AIM: Animation for zoom in and zoom out of the
picture.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
-
8/14/2019 Lab Manual Mad
22/26
Steps followed:
1.Open a new document in the flash editor.
2.Select insert menu and click on new symboloption select movie clip then press OK.
3.Take an image by importing the image from
any source and go to scene1, open library by
pressing F11 and drag the object on to the
stage.
4.Select the image, give movie clip instance
name as a, resize the image according to
your wish.
5.Take two buttons, give the names as ZOOM IN
and ZOOM OUT and drag the two buttons on to
the stage.
6.Now, right click on ZOOM IN button select
actions -> moviectrl->
on (double click) and select the release option.
7.Go to objects -> movie -> -root (double click)
a._xscale+=10,
again -root (double click)
a._yscale+=10.
8.Now, right click on ZOOM OUT button select
actions -> moviectrl-> on (double click) and
select the release option.
-
8/14/2019 Lab Manual Mad
23/26
9.Go to objects -> movie -> -root (double click)
a._xscale-=10,
again -root (double click)
a._yscale-=10.10. To see the preview press ENTER. (OR) to
see full screen press ctrl+ Enter.
output: In this animation output you are
going to observe ZOOM IN and ZOOM OUT of
the picture by pressing the given buttons.
-
8/14/2019 Lab Manual Mad
24/26
16. Do animation for Fire-effect.
AIM: Animation for Fire-effect.
Software required: MACROMEDIA FLASH MX.
Editor: Flash editor
Steps followed:
1.Open a new document in the flash editor.
2.Take a movie clip (go to insert menu->new
symbol->movie clip) and do any animation.
3.Go to scene1, open library (F11) drag the
movie clip on to the stage.
4.Give movie clip name as 1(one).go to
keyframe,right click
Actions->conditions/loops-> For (int i=1 condition: imovie clip control-
>duplicate movie clip->
Target: i
New name:i+1 expression
Depth*2 expression
Set property->property:_ rotation
-
8/14/2019 Lab Manual Mad
25/26
Target:i+1 expression
Value: random (360)
expression
Set property->property: _alpha
Target: i+1 expression
Value: random (360) +40
expression
Actions->deprecated->actions->tell target
Target:i+1 expression(enable
the check box)
Actions->movie control->go to->scene
Type:expression
Frame:
random (10)
11. To see the preview press ENTER. (OR) to see
full screen press ctrl+ Enter.
-
8/14/2019 Lab Manual Mad
26/26