Featured Tutorials

download, textures, 3D modeling, futuristic, buildings, space ships,free textures,space textures,wall textures,texture download Futuristic Texture Pack

Futuristic Texture Pack

A collection of futurstic textures used in the Future city project...

flash tutorials, iris window, enter button, animated porthole,iris in flash,iris illustration,drawing an iris,iris in flash,flash iris,flash tutorial,iris tutorial Iris Porthole Door Animation in Flash

Iris Porthole Door Animation in Flash

Very cool effect that could be used for an intro or as an enter button for any web site...

flash tutorials, animated eyes, follow mouse, interactivity,eyes in flash,eyes that follow,eye tracking,animate eyes,photos of eyes,womans eyes Realistic Eye Animation

Realistic Eye Animation

Create animated eyes that blink, wink and following the mouse pointer using Flash...

flash tutorials, 2D, 3D, tunnel effect, flash animation,tunnel in flash,tunnel animation,wormhole,wormhole animation,space tunnel Creating a 3D Tunnel Effect in Flash

Creating a 3D Tunnel Effect in Flash

Learn how to create this very cool 3D tunnel effect in Flash using some simple 2D animatio..

photoshop tutorials, gradient filter, photo effects, brand image,gradient mapping,gradients in photoshop,gradient colours,photo gradients,gradient photo,gradient filter,photoshop filters Gradient Mapping

Gradient Mapping

How to transform a standard photograph for use with a specific colour scheme or brand imag..

Featured Videos

This tutorial will teach you some of te basic techniques for crea..

A useful tutorial for creating an Ethernet or Patch Cable for net..

Heres a must know for anyone who designs or runs an online ecomme..

Iam going to warn you that if you’re a web developer and you watc..

This tutorial will teach you a very simple yet effective way to c..

Flash Fireworks Tutorial -
Creating realistic fireworks in Flash

This tutorial will teach you how to create realistic particle based firework display using Adobe Flash.

Download the FLA source file for this tutorial / wipeout44_fireworks.zip / Flash 8 No Sound

1

The first stage is to setup the flash movie and create the basic shape of the firework particle itself, this is made up of 3 basic shapes, a star, circle and elongated triangle. So go head and create a new movie in flash a width 500 x height 500 pixels then a background colour of black and Frame rate of 20.

2

First create a basic diamond shape using the line tool (you may want to set the line colour to white so that is it visible on the background) then fill this shape in with white using the "fill tool" shown above.

3

Next group this shape using the (CTRL + G), this will stop it interfering with other shapes. Next copy (CTRL + C) and paste (CTRL + V) another copy of this shape, then rotate this 90 degrees. Finally select both shapes by holding down the SHIFT key then group them as one (CTRL + G).

4

Next create a circle shape using the circle tool, then load up the Window -> Colour Mixer panel, set the type to radial and both of the colours to white. Finally select the right hand colour slider and set its Alpha to 0% (this will create a fade from the 100% slider to 0%, in order words white to transparent)

5

The final shape is created using a combination of these two previous techniques, simple create the shape with the line tool, fill it, then use the Colour Mixer to create a gradient 100% to 0% fade. The final step is to then use the Gradient Transform tool shown above to flip the gradient effect 90 degrees so that's its fades downwards.

6

Now left click on each of the shapes and press the (CTRL + G) keys to create each shape as a group (this is a good way of stopped you from accidentally distorting the shapes) Now position all of the shapes in the arrangement shown above, select all, now group them all together using CTRL + G. Finally right click on the new group "Create Symbol" and give it the name "particle".

7

This next step may seem strange but now you will need to click the "Scene 1" link at the top left of the timeline window this will take you back to the main timeline. Once here right click on your new "particle" movie clip and once again select "Create Symbol" this time give it the name "bang" this then sets the "particle" movie within a new movie titled "bang".

8

You should now be (or make sure that your are) in the movie clip editor for "bang", now left click on the "particle" movieclip and give it a global instance name in the Windows -> Properties panel shown above. Then right click on the first frame in the timeline and select "Actions" now enter the following action script code:

Translating this script into something you can understand goes like this n=8; n<50 basically means that it will generate a minimum of 8 and a maximum of 50 particles per bang. The rest of the script basically generates random directions, alpha amounts and sizes for the particles, if you look closely you can probably see this.

9

Close the "Actions" panel and double click on the "particle" movie clip so that you are editing its time line. Now resize the grouped shapes to about 20% of its original size (this will make it easier to animate)

 

10

Now we need to give this particle some motion, so you need to right click on frame 15 in the timeline. Now choose the "Insert Key Frame" option, next drag over all of the frames in the layer, right click and select "Create Motion Tween".

Once again click on frame 15 (left click this time) once you are on this frame click on the particle shape and move it about 100 pixels upwards (see above)

11

Next repeat the same step but this time create a new key frame at frame 30, now move the particle upwards about 50 pixels.

Once moved select the resize tool, then grab the top of the particle and adjustthe height to about 50% of its original size (see above).

12

Once again repeat this step this time insert a keyframe on frame 40, move the particle about 15 pixels upwards. To finish the effect set the alpha for this last frame to 0% in the Windows -> Properties panel.

You will also need to right click on the last frame select "Actions" and insert the following actionscript:

stop();
When entering custom action-script code into the script editor, you will need to turn off the "Script Assist" option. (More flash tips)

 

13

Before we test the final effect you will need to adjust some of your flash movies settings. First load up the File -> Publish Settings menu, select the "Flash" tab and set the version to "Flash Player 6" (this setting has to be applied as for some unknown reason the firework effect script will not function in any other versions) Now click "OK"

Next load up the Modify -> Document menu and set the frame rate to 24 fps (this will ensure a nice smooth firework animation)

14

Now save all your hard work, and test your movie with the Control -> Test Movie menu.

You should end up with something simular to the above. If not go back over the steps.

 Subscribe to our feed

Send to a friend