Background « Animation « Flash Tutorials

Home
Flash Tutorials
1.Actionscript Programming
2.Animals
3.Animation
4.Colors
5.Design
6.Effects
7.Game Cartoon
8.Humans
9.Models
10.Nature
11.Operations
12.Shapes
Photoshop Tutorials
Maya Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
Flash Tutorials » Animation » Background 

stage.addChildAt(new Star(stage, ourShip), 1);

Convert this shape to a Movieclip and name it “shape”.

12 Free Online Quiz Creators for Teaching Online Last post by: Sunnyme Date: 01.10.2009 06:26:27

Once you have mastered movement you need to learn how to make a good moving background. This will take skills you learned in earlier videos.

With two simple steps we can add transparency to flash, opening the flood gates for a range of cool effects.

The first line means 'When this frame is entered'. The second line is an if statement, checking if the left side of the square is not hitting the ground, if the statement is false flash will do nothing. If it is true, flash will make the ground move right, so it appears that the man is moving left. The 3rd line is checking if the Left arrow key is down, and the 4th is making the ground move left (like I just said) if the 3rd line is true. Lines 7-9 are exactly the same as the previous ones except checking if the right side is hitting the ground and making the ground move left.

Draw background rectangle. Choose "Rectangle Tool" and draw a rectangle. To fit it to the entire frame choose "Edit" > "Align" > "Fit to Frame".

12 Free Online Quiz Creators for Teaching Online Last post by: Sunnyme Date: 01.10.2009 06:26:27

http://www.kirupa.com/developer/mx2004/duplicatebackground.htm

As it is true in anything Flash related, there is a wrong way and a right way to create a randomly loading background. The method I outlined above is easy, but the more efficient method I will explain in this tutorial is far easier.

Set gradient for the circle. Choose "Item" > "Line and Fill" > "Gradient Fill". Choose "Horizontal" style. Set left and right colors opposite to background rectangle. Click OK.

To publish the Flash animation choose "File" > "Export SWF File". Then choose "File" > "View HTML code". Copy the code to integrate the background with your HTML page (you have to add DIV tag manually).

w__w__w.j___a__v_a2s_.___c___o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.