RE: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Cor
Hi Karl, Sorry I react so late, but I was away for my work for 5 days (and nights). I also try to use anything else but components, but in this case the client wanted it that way. The scale9, I will try this. I don't use any styling. Thanks for all the support!!! Kind regards Cor

[Flashcoders] AIR HTMLLoader mouse events not working

2010-09-03 Thread David Hunter
hi all, I'm making a touchscreen kiosk application. its all done except for a timer that returns to a start screen when it is inactive for more than a couple minutes. I'm monitoring activity using MOUSE_MOVE event. that works fine except when using an instance of HTMLLoader where it doesn't

[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] AIR HTMLLoader mouse events not working

2010-09-03 Thread Andrew Murphy
Hi. I'm not certain why HTMLLoader's event isn't firing, but you could track if the app is or is not being interacted with via NativeApplication, like this: private const IDLE_TIME:uint = 120; // set us up the user idle detection NativeApplication.nativeApplication.idleThreshold = IDLE_TIME;

RE: [Flashcoders] AIR HTMLLoader mouse events not working

2010-09-03 Thread David Hunter
SOLVED: ignore making my own with timers and just use NativeApplication.nativeApplication.idleThreshold instead! From: davehunte...@hotmail.com To: flashcoders@chattyfig.figleaf.com Date: Fri, 3 Sep 2010 11:55:43 + Subject: [Flashcoders] AIR HTMLLoader mouse events not working hi

RE: [Flashcoders] AIR HTMLLoader mouse events not working

2010-09-03 Thread David Hunter
thanks for the help, someone on the adobe forum pointed me in that direction too and it looks like its worked. From: amur...@delvinia.com To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] AIR HTMLLoader mouse events not working Date: Fri, 3 Sep 2010 10:43:23 -0400 Hi.

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

[Flashcoders] parsing multi-dimensional array

2010-09-03 Thread Lehr, Theodore
so if I have a multi-dimensional array - how could I break them into their own array? So if I have: arr[0] = [red,0,0]; arr[1] = [red,1,0]; arr[2] = [red,2,0]; arr[3] = [blue,0,0]; arr[4] = [blue,1,0]; arr[5] = [blue,2,0]; What I need to do is break red into it's own array and blue into it's

RE: [Flashcoders] parsing multi-dimensional array

2010-09-03 Thread Merrill, Jason
IMO, you should be using arrays of value objects (which are classes that just hold data) which have values and if necessary, arrays of other value objects. Not multidimensional arrays - you're just making it harder on yourself. Jason Merrill Instructional Technology Architect Bank of America

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

Re: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Karl DeSaulniers
Yeah. Try creating an empty moviclip and set the scale9 property in the library. Then put your grid in it and see if it scales the way you want. Sort of a hack, but might work for what your wanting. BOL Karl Sent from losPhone On Sep 3, 2010, at 6:29 AM, Cor c...@chello.nl wrote: Hi

Re: [Flashcoders] parsing multi-dimensional array

2010-09-03 Thread Marius Danila
var a1:Array = [a, b, c]; var a2:Array = [c, b, x, y]; var a3:Array = [a, x, x, y, z]; var c:Array = arrConcatUnique(a1, a2, a3); // result: [a, b, c, x, y, z] private function arrConcatUnique(...args):Array {     var retArr:Array = new Array();     for each (var arg:* in args)     {         if

Re: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Henrik Andersson
Karl DeSaulniers skriver: Yeah. Try creating an empty moviclip and set the scale9 property in the library. Then put your grid in it and see if it scales the way you want. Sort of a hack, but might work for what your wanting. Nine section scaling does not cascade. It only applies to shapes