View Full Version : Duplicating fire fx
Polett
05-10-2008, 05:21 PM
Hi every1,
First of all, I admit I DON'T know much AS, yet, I'm trying to work with it.
This is my prob:
I want to place 2 fire torches in a flash file, I'm using this one:
http://www.flashkit.com/movies/Animations/Fire-Anton_A-169/index.php
The 1st one shows good, but when I duplicate it for the 2nd one, that 2nd one just does the motion tween of the movieclip, showing a ball scrolling up.
I tried duplicating the mc in same layer, different layers for all, give a whole new instance for mc and AS and nothing.
How can I achieve what I need?
Thanks in advance.
Polett
05-10-2008, 07:18 PM
Ok, I'm overwhelmed by the replies.
Now there's a new issue: I just noticed that the file posted above was done in Flas 5... updated to 8, and get full errors!
This is what I've done:
1. First, create a radial gradient circle object.
2. Convert this to a graphic object, and name it 'flame'.
3. Again convert this graphic object -- this time, to a movie clip. Give this movie clip a instance name of 'fl'.
4. Now, go into the timeline of the movie clip fl. Shrink the size of flame graphic object.
5. Extend 4 frames and place a key frame in the fourth frame.
6. Now, scale the flame object as shown below. In the 'effect' palletes, change the tint color to yellow.
7. From the fourth key frame, extend the frame by another 24 frames, and place a key frame at that point.
8. In this frame, I moved the flame object vertically upwards by 150 pixels.
I also scaled the flame object to a very small size, changed the tint color to red, and decreased the alpha to 23%. I also gave motion tweening to the frames.
9. Now, go back to the main timeline. Extend it by 3 frames.
10. Create a new layer above the current layer, and name it actions. Create three blank key frames.
11. In the first key frame, insert the action:
i = 0;
setProperty ("fl", _visible, 0);
xx = getProperty("fl",_x);
19.In the second key frame give action:
if(i < 35)
{
duplicateMovieClip ("/fl", "fl" add i, i);
setProperty ( "fl" add i, _alpha,i*8);
setProperty ( "fl" add i, _x,random(3) + xx);
i = i + 1;
}
12. In the third key frame, insert this action:
gotoAndPlay (2);
HELP!!!!
atomic
05-11-2008, 09:07 PM
please?
Ah! Better!
First, here's the .fla adapted for AS2.0 & the Flash8 player...
Polett
05-12-2008, 04:16 PM
Dear atomic,
Thank you!
Now one more issue, when I try and duplicate it, (cause I need 2 torches on screen) it gets all messed up...
I even tried creating a whole new graphic/mc/instance and so on, but no luck...
Can u please help me?
Thx!
Polett
05-13-2008, 02:34 AM
Ok... PRETTY PLEASE???
This is as far as I've been able to get. If some1 can help me fix it, I'd TRULY appreciate it.
Me.
atomic
05-13-2008, 04:12 AM
Maybe not quite exactly the same as the original, but close enough I guess!
Polett
05-14-2008, 02:23 PM
Thx!
It works great!
atomic
05-14-2008, 09:40 PM
Grrrrrreat! ;)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.