RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
George, Karl, et al, Check out the link below. http://keithreinfeld.home.comcast.net/~keithreinfeld/Demos/Fire/Fire.html I'm not entirely satisfied with the results. I can't quite manage to get rid of the black rim around the flames. Here are the additions I made to Fire.as: // declare

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
I can't quite manage to get rid of the black rim around the flames. The problem was with the palette. http://keithreinfeld.home.comcast.net/~keithreinfeld/Demos/Fire/Fire.html Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

Re: [Flashcoders] Impossible?

2010-10-01 Thread Karl DeSaulniers
, Karl On Sep 9, 2010, at 7:47 AM, George Jones wrote: From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible? Date: Thu, 9 Sep 2010 07:39:51 -0500 To: flashcoders@chattyfig.figleaf.com Sorry, didn't see your comment at the bottom. Yeah. I'm about ready to throw in the towel

RE: [Flashcoders] Impossible?

2010-09-09 Thread George Jones
From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible? Date: Wed, 8 Sep 2010 16:18:36 -0500 To: flashcoders@chattyfig.figleaf.com On Sep 8, 2010, at 1:15 PM, George Jones wrote: if (gp 1050112) { _redArray.push(0

Re: [Flashcoders] Impossible?

2010-09-09 Thread Karl DeSaulniers
I believe this will get you transparent black pixels? _redArray.push(0); _alphaArray.push(255); _greenArray.push(0); _blueArray.push(0); Best, Karl On Sep 9, 2010, at 7:28 AM, George Jones wrote: From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible? Date: Wed, 8 Sep

Re: [Flashcoders] Impossible?

2010-09-09 Thread Karl DeSaulniers
Sorry, didn't see your comment at the bottom. Karl On Sep 9, 2010, at 7:28 AM, George Jones wrote: From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible? Date: Wed, 8 Sep 2010 16:18:36 -0500 To: flashcoders@chattyfig.figleaf.com On Sep 8, 2010, at 1:15 PM, George Jones wrote

RE: [Flashcoders] Impossible?

2010-09-09 Thread George Jones
From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible? Date: Thu, 9 Sep 2010 07:39:51 -0500 To: flashcoders@chattyfig.figleaf.com Sorry, didn't see your comment at the bottom. Yeah. I'm about ready to throw in the towel on this one. I don't think it's possible. George Karl

Re: [Flashcoders] Impossible?

2010-09-09 Thread Karl DeSaulniers
{ _redArray.push(255); _alphaArray.push(0); _greenArray.push(0); _blueArray.push(0); } work? Karl On Sep 9, 2010, at 7:47 AM, George Jones wrote: From: k...@designdrumm.com Subject: Re: [Flashcoders] Impossible

Re: [Flashcoders] Impossible?

2010-09-08 Thread tom rhodes
what henrik said, or stick them in sprites first and mask the sprites... On 7 September 2010 21:16, Henrik Andersson he...@henke37.cjb.net wrote: Mask the Bitmap, not the BitmapData. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Impossible?

2010-09-08 Thread George Jones
From: tom.rho...@gmail.com Date: Wed, 8 Sep 2010 11:01:21 +0200 Subject: Re: [Flashcoders] Impossible? To: flashcoders@chattyfig.figleaf.com what henrik said, or stick them in sprites first and mask the sprites... I'm a little lost. I've followed your suggestion and it *appears* I've

Re: [Flashcoders] Impossible?

2010-09-08 Thread Henrik Andersson
When in doubt about masking, skip the step where you assign the mask property, but leave the mask shape added, it will show what parts the mask will apply to. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Impossible?

2010-09-08 Thread George Jones
Date: Wed, 8 Sep 2010 18:16:44 +0200 From: he...@henke37.cjb.net To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Impossible? When in doubt about masking, skip the step where you assign the mask property, but leave the mask shape added, it will show what parts the mask

Re: [Flashcoders] Impossible?

2010-09-08 Thread Henrik Andersson
George Jones skriver: Date: Wed, 8 Sep 2010 18:16:44 +0200 From: he...@henke37.cjb.net To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Impossible? When in doubt about masking, skip the step where you assign the mask property, but leave the mask shape added, it will show what

RE: [Flashcoders] Impossible?

2010-09-08 Thread George Jones
Date: Wed, 8 Sep 2010 18:46:52 +0200 From: he...@henke37.cjb.net To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Impossible? Incorrect, the mask isn't even added to the screen. And I doubt that the content is visible either. _fire = new BitmapData(865

Re: [Flashcoders] Impossible?

2010-09-08 Thread Henrik Andersson
George Jones skriver: This code executes. It doesn't add the mask to the stage? Please advise. Forget about the mask until you get the output to work without it. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Impossible?

2010-09-08 Thread George Jones
Date: Wed, 8 Sep 2010 19:20:05 +0200 From: he...@henke37.cjb.net To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Impossible? Forget about the mask until you get the output to work without it. There was a fundamental error, now corrected. However, now what I get is black

Re: [Flashcoders] Impossible?

2010-09-08 Thread Karl DeSaulniers
On Sep 8, 2010, at 1:15 PM, George Jones wrote: if (gp 1050112) { _redArray.push(0); _alphaArray.push(255); _greenArray.push(0); _blueArray.push(255); Shouldn't this be _blueArray.push(0);

RE: [Flashcoders] Impossible?

2010-09-07 Thread George Jones
From: tom.rho...@gmail.com Date: Fri, 3 Sep 2010 16:03:08 +0200 Subject: Re: [Flashcoders] Impossible? To: flashcoders@chattyfig.figleaf.com why not make 2 bitmaps, one transparent and one not, mask the non transparent one to reveal the transparent one, will look the same as what you

RE: [Flashcoders] Impossible?

2010-09-07 Thread George Jones
Date: Fri, 3 Sep 2010 14:01:55 +0100 From: g...@engineeredarts.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Impossible? Hi, Not sure if it's any help, but I did something similar overlaying perlin clouds on a background - have a look at this post and see

Re: [Flashcoders] Impossible?

2010-09-07 Thread Henrik Andersson
Mask the Bitmap, not the BitmapData. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Impossible?

2010-09-03 Thread George Jones
Hi; I think I've done my homework on this, but I can find no answers. Is it possible, using BitmapData, to make part--and only part--of a bitmap transparent? I'm presuming the answer is no. If that is the case, would you be so kind as to inform me so that I quit beating my head against the

Re: [Flashcoders] Impossible?

2010-09-03 Thread Glen Pike
On 03/09/2010 13:32, George Jones wrote: Hi; I think I've done my homework on this, but I can find no answers. Is it possible, using BitmapData, to make part--and only part--of a bitmap transparent? I'm presuming the answer is no. If that is the case, would you be so kind as to inform me so

Re: [Flashcoders] Impossible?

2010-09-03 Thread tom rhodes
why not make 2 bitmaps, one transparent and one not, mask the non transparent one to reveal the transparent one, will look the same as what you are trying to acheive i think... On 3 September 2010 15:01, Glen Pike g...@engineeredarts.co.uk wrote: On 03/09/2010 13:32, George Jones wrote: Hi;

Re: [Flashcoders] Impossible?

2010-09-03 Thread Paul Andrews
On 03/09/2010 13:32, George Jones wrote: Hi; I think I've done my homework on this, but I can find no answers. Is it possible, using BitmapData, to make part--and only part--of a bitmap transparent? I'm presuming the answer is no. If that is the case, would you be so kind as to inform me so

Re: [Flashcoders] Impossible?

2010-09-03 Thread Jared
A bitmap either has transparency or it doesn't; you need to set the alpha flag to true or you cannot get transparency data. Another thought would be blend modes - screen the flame w/black bg on your image and draw() the result. I know that doesn't answer your q but it will give you the intended

Re: [Flashcoders] Impossible?

2010-09-03 Thread Karl DeSaulniers
I think it's coming out blue because your using SUBTRACT when applying the cooling filter. Thus it subtracts all other colors and adds that blue. Karl Sent from losPhone On Sep 3, 2010, at 7:32 AM, George Jones flashergeo...@hotmail.com wrote: Hi; I think I've done my homework on