A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11261 Flash Movies | 2 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: David Brown
» Title: 3D Pyramid
» Description: 3D pyramid created for the SharedKnowledge.net web intro.
» More by David Brown


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 6325 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: Leeds Technical Design
» Comments: Leeds Technical Design - Design consultancy, CAD Draughting and Contract Staff.


Random Links | Add your own Flash Related Links
Flash Tutorials 1212 Tutorials 7 New Tutorials Added!
What's New | Top100

» How to Make 3D Wall Flash Photo Gallery
» How to Make Personalized Multimedia Flash eCard in PowerPoint
» How to Create Grown up Christmas List Photo Story
» How to convert Youtube video(online SWF file) to video for portable devices?
» How to Make Flash Christmas Quizzes with Sounds & Videos
» FLV to PSP - How to convert YouTube video to PSP for mac
» Creating widgets fast and easily with SPAS 3.0
» How to Let PowerPoint Memorize like Man
» How to insert YouTube video (Flash video) into PowerPoint
» Unknown Tag: Title10
Random Tutorial | Add Site

bbm.netBBM.net is designed to save you time and deliver the highest quality royalty-free music for your multimedia projects. Features include: over 450 Music Loop Packages from some of the best composers in the business, our music search engine to speed your selection process, alternate music versions & bonus sounds to use for rollovers or transitions, free technical support and free consulting.

Click here for details »

Web Designer-Junior to Mid Level
Aquent
US-TX-Dallas

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Special_Effects

Categories Duplicate movie clip candle flame.
Author: Sintech | Website: http://home.cfl.rr.com/unconformity |

 
Page 4
«prev 1 2 3 4

Then we are going to add a keyframe in frame 2 of this clip and we are also going to add another layer for "..You guessed it!" ACTIONS!!! In the first key frame of your actions we're going to add these actions:
duplicateMovieClip(_root.smoke.puff, puff+c, c);
setProperty(_root.smoke.puff, _rotation, random(6));
it should look like this.: the duplicateMovieclip is used in conjunction with our little animation to create a "trail" effect" "TRIPPY!!"...anyway..The set property portion sets the rotation of our object to a random point out of 6 degrees(creates a flicker effect)Also you can experiment with the rotation if you set it to random(360) you can also get a cool starburst effect out of this. Now on to frame 2 this frame's actions are as follows:::
c = c+1;
if (c>20) {
c = 0;
}
gotoAndPlay(1);
First we set the variable of c=c+1 this will tell MC what level the duplicated clips will appear. Also it will tell it to give the clip a new name each time in conjunction with the duplicateMovieclip action. The gotoAndPlay(1) just loops back to repeat the actions creating the trail effect. Now we are going back to our main timeline(scene 1) and we are going to have 2 layers here as well. One for actions one for movie clips. On layer 1 frame 1 drag an instance of the clip we just made (the one with the duplicate clip actions) on to the stage and we will give this one an instance name of "smoke" this is where that _root.smoke.puff comes in it's just for the duplicate action to find the correct path to follow. Also it is used for our action in frame 1 layer 2 on our main timeline, which looks like this
startDrag(_root.smoke.puff, true);
Now, you can leave this out if you want to it's just a simple drag command that I think looks cool but if you want a stationary flame leave it out. NOW the moment you've all been waiting for! Hit ctrl+enter on your keyboard to test the movie and move around your mouse. BAM you just made a simple particle system that you can apply in many different ways.

«prev 1 2 3 4

» Level Intermediate

Added: : 2002-05-28
Rating: 6.98 Votes: 137
Hits: 3158
» Author
Sintech is now online
» Download
Download the files used in this tutorial.
Download (164 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers