Flint Particle System Forum - Source of FireBlob.swf2010-12-25T17:34:41+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Source of FireBlob.swfhttp://flintparticles.org/forum/comments.php?DiscussionID=219&Focus=802#Comment_8022009-06-05T22:21:36+01:002010-12-25T17:34:41+00:00Not Surehttp://flintparticles.org/forum/account.php?u=208
What is in FireBlob.swf? I tried running it through Flare but was unable to get anything useful - is FireBlob just a plain old image embedded in a swf? An animated gif? Is the source to it ...
FWIW, I'm trying to replicate the LogoFire effect, but without having an external linkage dependency.]]>
Source of FireBlob.swfhttp://flintparticles.org/forum/comments.php?DiscussionID=219&Focus=805#Comment_8052009-06-06T13:49:59+01:002010-12-25T17:34:41+00:00TackleMcCleanhttp://flintparticles.org/forum/account.php?u=162
My guess it's just a bitmap or something. Probably not an animated gif, I can't see how that would work.
You can only hope that Richard stops by and reads this and possibly sharing the file!
You ...
You can only hope that Richard stops by and reads this and possibly sharing the file! You could try and just draw a small reddish shape if you can't find the source. I too, would prefer though to look at the actual fireblob, as I want to make fire myself!]]>
Source of FireBlob.swfhttp://flintparticles.org/forum/comments.php?DiscussionID=219&Focus=808#Comment_8082009-06-08T08:48:30+01:002010-12-25T17:34:41+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
If you download the examples, or check them out of svn, then look in the flash example, you'll find an FLA that contains the graphic.
As for what it is - it's an ellipse with a radial gradient ...
As for what it is - it's an ellipse with a radial gradient fill fading to nothing at the edges.
Richard]]>
Source of FireBlob.swfhttp://flintparticles.org/forum/comments.php?DiscussionID=219&Focus=811#Comment_8112009-06-09T16:14:47+01:002010-12-25T17:34:41+00:00TackleMcCleanhttp://flintparticles.org/forum/account.php?u=162
Thanks Richard!
There you go, "Not Sure"
There you go, "Not Sure"]]>
Source of FireBlob.swfhttp://flintparticles.org/forum/comments.php?DiscussionID=219&Focus=813#Comment_8132009-06-09T20:54:11+01:002009-06-10T19:14:34+01:00Not Surehttp://flintparticles.org/forum/account.php?u=208
Thanks guys. I ended up coding my own FireBlob, looks a bit better IMHO - uses an actual flame-ish shape, rather than an ellipse (*cross fingers that this formats correctly*):
public class ...
public class FireBlob extends Shape { public static const DefaultColors : Array = [ 0xFFC814, 0xFF351E ]; public static const DefaultAlphas : Array = [ 1, 0.1 ]; public static const DefaultRatios : Array = [ 0, 255 ];
public function FireBlob( a : Number, b : Number, colors : Array = null, alphas : Array = null, ratios : Array = null, bm:String = "normal") { var matrix:Matrix = new Matrix(); matrix.createGradientBox( a * 2, b * 2, 0, -a, -b ); graphics.beginGradientFill( GradientType.RADIAL, colors ? colors : DefaultColors, alphas ? alphas : DefaultAlphas, ratios ? ratios : DefaultRatios, matrix ); graphics.moveTo( a, 0 ); graphics.curveTo( 0, b, -a, b ); graphics.curveTo( -a/2, 0, -a, -b ); graphics.curveTo( 0, -b, a, 0 ); graphics.endFill(); blendMode = bm; } }]]>