Fire Effect
hi!
does anybody know where I can find a nice fire effect? or how I could create one?
Thanx!
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2006-01-31
View Complete Forum Thread with Replies
Sponsored Links:
Fire Effect
http://www.24-7media.de/evildeadregeneration/
If you click any of the items on the menu, pay attention as the next page is loading. Look at the little statues at each side of the page that look like they are holding a pot that has fire come out of it. Is this only way to get this effect to make 5-6 different images with photoshop?
Also i know the only truely transparent way to save something from photoshop, to get it to appear correctly in flash is png 24... These files are huge, anyway to fix this?
Thanks
View Replies !
View Related
Fire Effect
Back in the earlier days i used to do a bit of programming in qbasic. one of the things i made was this nice fire effect, i would like to recreate it in flash actionscript but my skills are far from good enough to try it. Maybe if someone feels something to crack this script, it would be nice to know if actionscript could do this. Most likely someone already made this, but i never found anything that would create "fire" with following method.
First create a line made out out of piwels, the color is picked random out of an array (filled with numeric color gradient(s)). So you get a line of pixels that all have a different shade of color(s). Then start generating the image above : The color of a pixel = the sum of the numeric colors of the 3 pixels below / 3. Do this for every pixel from left to right for x lines upwards.
That should make for a "fire" effect. Maybe you can even make it "random transparent" as well to make it look more like fire. That is, IF something like this is possible in actionscript, is it?
greetz,
View Replies !
View Related
Fire Effect
Hi everyone... someone know how can do this effect:
http://www.takopus.ru/swf/burn_v2.html
Or... if someone have some example please...
Thanks...
View Replies !
View Related
Analyzation Of Fire Effect:
#initclip
function Dot() {
this.color = new Color(this);
this.color.setRGB(16775372);
//Changing the color of the dot.
this._x = 250+Math.random()*8-2.5;
this._y = 200+Math.random()*8-2.5;
//Random possision of the dot
}
Dot.prototype = new MovieClip();
Object.registerClass("myfirst", Dot);
Dot.prototype.onEnterFrame = move;
function move() {
this.age++;
this.relage=this.age/12;
//Ive figured out what this does. Each move() that is called it counts (in loops) the age of the animation, then translates this into the color change effect!
R=255<<16;
G=(255-(this.relage*126)); if (G<0) G=0; G=G<<8;
B=(255-(this.relage*1024)); if (B<0) B=0;
this.color.setRGB(R+G+B);
//This seems to be a color change engine
this._x -= Math.random()*2.5-1.25;
this._y -=Math.random()*3+1.75;
// Jitter?
this._alpha -= 4;
this._xscale -= 3.75;
if (this._alpha<5) {
this.removeMovieClip();
}
}
#endinitclip
In the entire scope of things, whats happening is it is duplicating the movieclip changing the x/y values on a random jitter script. and fading through a color scale.
View Replies !
View Related
BitmapData Fire Effect
I'm working on a basic mouse-trailing fire effect. I got it to place I'm happy enough with the fire appearance, and I can get the motion, but I'm finding some strange results in performance. Here is my code:
ActionScript Code:
import flash.display.*;
import flash.filters.*;
import flash.geom.*;
// fire bitmap
createEmptyMovieClip('fire_mc',1);
var bmp = new BitmapData(550,400,false,0x000000);
fire_mc.attachBitmap(bmp,1);
// glow clip
createEmptyMovieClip('glow_mc',2);
with (glow_mc) {
matrix = new Matrix();
matrix.createGradientBox(200, 200, 90, 0, 0);
beginGradientFill('radial', [0xffffff, 0xFFFFFF], [100, 0], [0, 0xFF], matrix, 'pad', 'RGB', 0.3);
moveTo(0, 0);
lineTo(0, 200);
lineTo(200, 200);
lineTo(200, 0);
lineTo(0, 0);
endFill();
blendMode = 'overlay';
}
// track mouse
var prevPoint = new Point(_xmouse,_ymouse);
function onMouseMove() {
// draw a fire sprite
var mat:Matrix = new Matrix();
mat.tx = _xmouse;
mat.ty = _ymouse;
bmp.draw(flame_mc,mat);
//prevPoint = new Point(_xmouse,_ymouse);
noise_bmp.perlinNoise(30,50,1,1,false,true,1,true,new Point(offX+=4,offY+=9));
updateAfterEvent();
// glow
glow_mc._alpha = 100*Math.random();
glow_mc._x = _xmouse-100;
glow_mc._y = _ymouse-100;
}
// flame distortion effects
var noise_bmp:BitmapData = new BitmapData(550,400,false,0x000000);
noise_bmp.perlinNoise(20,30,1,1,true,true,1,true,new Point(0,0));
var displacement = new DisplacementMapFilter(noise_bmp,new Point(0,0), 1, 1, 50, 90,'clamp');
fire_mc.filters = [displacement];
var offX = 0,offY = 0;
function onEnterFrame() {
if (mouseIsDown) {
onMouseMove();
}
// noise movement
//noise_bmp.perlinNoise(30,30,1,1,false,true,1,true,new Point(offX+=4,offY+=9));
// fade the color
var matrix:Array = new Array();
matrix = matrix.concat([1, 0, 0, 0, -15]);// red
matrix = matrix.concat([0, 1, 0, 0, -15]);// green
matrix = matrix.concat([0, 0, 1, 0, -15]);// blue
matrix = matrix.concat([0, 0, 0, 1, 0]);// alpha
var col = new ColorMatrixFilter(matrix);
bmp.applyFilter(bmp,bmp.rectangle,new Point(0,0),col);
// re-apply displacement filter
fire_mc.filters = [displacement];
// glow fade
glow_mc._alpha -= 10;
}
function onMouseDown() {
mouseIsDown = true;
}
function onMouseUp() {
mouseIsDown = false;
}
You'll need a MovieClip which contains a firey colored radial gradient, and name it 'flame_mc'.
The problem is with perlinNoise(). Notice I have it commented out in the onEnterFrame block? That's because it causes significant lag. Not too surprising, but notice I again have perlinNoise() in the onMouseMove block? Well, at least on my machine, it doesn't create any noticable lag. MouseMove even executes with greater frequency than onEnterFrame(so long as the mouse is moving), so why is that? Am I doing something wrong here? I would just leave it in onMouseMove and be done with it, but the problem is then the fire doesn't billow unless you are moving the mouse. It fades(because I have that in the onEnterFrame) but the displacement offset upwards only occurs when you move the mouse.
Any solutions?
View Replies !
View Related
Flash Fire Effect
Hey guys, I'm wondering if anyone has ever done a flash effect maybe that's dynamic and not keyframed/tweened? I was going to do it by simulating fire in Combustion/AfterFX but a sequence of PNGs will really cut down on performance and severely UP the filesize.
Does anyone have an idea on how to go about doing this? Any help and suggestion will be greatly appreciated. Thanks!
-cool
View Replies !
View Related
Making A Fire Effect?
Hey all,
I was wondering whether anyone knows how to make a candle-like moving flame spiral. (does that make sense??!) Most of the tutorials out there for flame are static spots, and they dont seem to work for flash 8...
Any help would be great,
Thanks!
View Replies !
View Related
Fire Effect In Flash MX
Does anyone know of a tutorial that show you how to do fire special effect?
I am doing some rollover buttons and I want a firey flame movie to play on rollover.
I'm not sure how to tackle it. Any ideas?
Thanks
Laura
View Replies !
View Related
Anyone Know Of A Good AS3 Fire Effect Tutorial?
It needs to be realistic looking fire. I'd also like the option to attach it to objects/images in my flash file. I've searched google until I'm blue in the face and can only come up with either flash 8 or AS2 or something that is nothing like what I"m looking for.
Even if its just a tutorial on how to make a box with realistic fire blazing inside of it I could use that for something.
Thanks in advance.
View Replies !
View Related
Fire Effect Does Not Work In Flash8
Hi,
I'd like to put a fire effect in my game i am working on, i'm trying to use a free fire effect from the site FlashKit, but if I publish(export) my flash, It won't work! If i decrase the flash player thingy on export to 6, then it will work, but if it's 7, or higher, it just won't work, and i have no idea why.
Here is the source file:
http://kdany.extra.hu/Fire_V.fla
View Replies !
View Related
Fire / Lightning Effect - Advice?
Hi to the wonderful residants of Ultrashock, how is everyone today?
Anyway. Im after a bit of advice. I have a wonderful little set of discs called pyromania which have a load of fire related movies on. I have imported them into flash etc. etc. but when the flash runs it slows it down quite a bit due to it being constant.
What inspiredme ages ago was the header effect on www.dubpublishing.com
On this site the header of the site seems to have a really nice effect, but doesn't slow the site down any.
Any suggestions or advice on this much appreciated
Phil.
View Replies !
View Related
Fire Effect In Flash6 How Can I Change To 8 AS?
I downloaded a fire effect that i really like from flashkit and
works fine but it was done in flash 6 so when i save it as flash8 it doesn't work and if go and publish it in flash 6 i loose all my effects I made in flash 8 like the blurs and filters...
I have no clue about AS can somebody help me please... or let me know where i can get an upgrade fire effect version
HELP is always welcome from u guys...
this is the code in the first frame:
count = 0;
this.onEnterframe = function() {
this.attachMovie("myfirst", "dot"+count, count++);
};
this is the code in the second frame
#initclip
function Dot()
{
this.color = new Color(this);
this.color.setRGB(16775372);
this._x = 250+Math.random()*8-2.5;
this._y = 200+Math.random()*8-2.5;
}
Dot.prototype = new MovieClip();
Object.registerClass("myfirst", Dot);
Dot.prototype.onEnterFrame = move;
function move()
{
this.age++;
this.relage = this.age/12;
R = 255 << 16;
G = (255-(this.relage*126));
if (G<0)
{
G = 0;
}
G = G << 8;
B = (255-(this.relage*1024));
if (B<0)
{
B = 0;
}
this.color.setRGB(R+G+B);
this._x -= Math.random()*2.5-1.25;
this._y -= Math.random()*3+1.75;
this._alpha -= 4;
this._xscale -= 3.75;
if (this._alpha<5)
{
this.removeMovieClip();
}
}
#endinitclip
View Replies !
View Related
Fire Color Effect By Agostinho Oliveira
Oka well the good part is that I am only getting 1 error and that error says...
Quote:
**Error** Symbol=Symbol 2, layer=Layer 1, frame=1:Line 2: Unexpected '.' encountered
setProperty(_target, _x, Number(../:x)+Number(random(12))-6);
I have no ideal what the ../:x means. And I am moving the original Frames and other stuff to a flash I am making. So any help would be awesome.
Flash Movie is at:
http://www.flashkit.com/movies/Effec...8944/index.php
View Replies !
View Related
Fire Fire, Pour On Water
I desperatly need to know how to create this effect with as much actionscript as possible so that its small on file size, really appreciate anyones suggestions, I know its something to do with the particle effect, but thats it, i tried searching the forums but no go... help!!!
http://www.maylin.net/Fireworks.html
thanks a lot
View Replies !
View Related
Fire Fire, Pour On Water
I desperatly need to know how to create this effect with as much actionscript as possible so that its small on file size, really appreciate anyones suggestions, I know its something to do with the particle effect, but thats it, i tried searching the forums but no go... help!!!
http://www.maylin.net/Fireworks.html
thanks a lot
View Replies !
View Related
SOSHow To Make The "real Fire" Effect?
My client ask me to make the "real fire" effect on the picture just like.
I just have the experience that making the "cartoon fire" effect.I have no good idea to do the real one.
On the morning,I have tried to use Premiere to export a animated gif from fire.AVI,but I lost.Because the gif is too large.And this flash is applied to the webpage.
somebody can help me!!!!
SOS
happysep@163.com
View Replies !
View Related
.fire? Where?
well i have been messing with coffee cupfirestarter..
and i was wondering was there a tool to convert .fla to .fire or is there anywhere i can find .fire movies?
thanks..
craig..
View Replies !
View Related
FIRE.. .Best Way?
Okay, Im doing a intro for a website with a "DARK" appeal, almost like a hell theme.
Well I did this first with photosop and JPG's. I made about 20 jpgs and the first 15 built up to the last 5. The last 5 would then repeat for the duration of the flash.
BUT... Problem arised, I cant put anything behind the flame unless I draw each thing or use GIFS.
So when I attempted to use GIFS, the flames look more like cartoons and then they woudldnt replace themseleves.
So I lost the Cartoon book effect.
What I want:
I want to be able to have a building flame on the screen and it arise and get larger and have text fade in behind it, and add other things on it as well.
Any ideas?
Prophecy
View Replies !
View Related
Fire Fox
www.newrealitydesigns.com/skk
Why would my input text boxes work in IE and not in Fire Fox....
and why does fire fox play pic sequences lower than IE, is there a way in flash to fix that?
and
www.newrealitydesigns.com/spin
why does my Preloader work in IE and not in Fire Fox? You have to load the page, then refreash to get it to go.....
View Replies !
View Related
Fire
has anyone got any good movie clips of a fire burning? for my game its realy hard i was just wondering whether anyone had a movie clip of it. (theres a good one in max payne but i cantget it)lol
View Replies !
View Related
Fire
Can anyone help me with this little problem im having? As my guy chanegs direction, the bullets dont follow. If anyone can help me have the bullets fire in the direction the guy is pointing i would be very appreciative. (and i need to keep the code as simple as possible. Thanks!
View Replies !
View Related
Help With Fire Please.
I put together a war horse a while back I finally have the chance to animate it. I am trying to make whisps of fire roll from the nostrils and dissapate as the horse breaths out, it's like 5 frames. My problem is I can see it in my head but I am having a heck of a time making it happen. If anyone could help me out it would be greatly appreciated!!
View Replies !
View Related
Fire Var Changes Anyone?
Hello guys!! i am working on a project that fires a var i mean none of the functions nor classes are populating the var lets say that it magically is populating itself, it is a string, is there any way to add an eventListener so i can know when the var makes changes?
thanx in advance
View Replies !
View Related
AS Fire
A little piece of Actionscript that will create a nice fire effect
[swf=http://membres.lycos.fr/museebranly/flash/fire.swf]width=200 height = 250[/swf]
View Replies !
View Related
AS Fire
im trying to create the effect natronp did in this thread,http://www.kirupa.com/forum/showthread.php?t=80222&highlight=fire but im not very successful. does anyone have any thoughts on how to make this less cpu intensive?
edit: i dont know why the link goes to the microsoft page, weird. its in the source experiments forum under as fire.
View Replies !
View Related
AS Fire
A little piece of Actionscript that will create a nice fire effect
[swf=http://membres.lycos.fr/museebranly/flash/fire.swf]width=200 height = 250[/swf]
View Replies !
View Related
THE FRENCHBREAD IS ON FIRE
Does anybody know how to expand the borders of a button without expanding the button object contained within the border?
is that even possible?
am I even making sense?
hahahaha...if so and you know my question, then please HELP!!!
Thanks,
Luker =)
View Replies !
View Related
Fire Effects
Well i need help creating a firey backround.....and i dont like the red one i found here.....any tips on how to make one? im looking for one that flames upward and loops of course......
View Replies !
View Related
|