Featured Tutorials

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

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

swift3d,3D,sci-fi,flash animation,3d flash,swift 3D,flash city,future city,future city model,3d city model,3d city,3ds max,brazil renderer,futuristic city,future world Futuristic city, 3D techniques in Flash

Futuristic city, 3D techniques in Flash

See the tricks behing the advanced Flash animation that was used to bring this futuristic ..

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, 3D hologram, futuristic,3d man,swift 3d, ad animation, 3d for flash,hologram,make a hologram,3d hologram,hologram in flash,hologram animation,animated hologram,hologram video 3D Hologram Effect

3D Hologram Effect

An extension to the Iris Porthole effect that incorporates 3D animation, to create a reall..

Featured Videos

Learn how to use the Photoshop lasso tool to great effect allowin..

This is a very good tutorial for beginners who want to learn how ..

Learn one of the most important tools in Photoshop, the layers fe..

This tutorial will teach you a more advanced way of creating more..

This video tutorial will teach you all about the layers function ..

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


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.


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.


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).


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)


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.


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".


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".


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.


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)



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)


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).


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:

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



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)


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