[flexcoders] Grouping visually in ADG

2011-12-06 Thread Oleg Konovalov
Hi, I need to group some ADG columns visually, i.e. embolden lines in ADG around a group of columns, but avoid creating multiple header rows, just one level. So imagine you have columns containing countries, and you want to group them by continent (UK, France, Germany ;USA, Mexico, Canad

RE: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Philip Smith
Ok thanks, that helps. I will look into it. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Tue, 6 Dec 2011 11:21:55 -0800 Subject: Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect T

Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Alex Harui
This error occurs when a components gets drawn at a really small size and its constraints compute out to be invalid. For example, if you have: Once the component containing this rect is only 3 pixels wide, the width will be computed as –1 since the left side will be at 2 and right side at

Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Csomák Gábor
yes, but you trigger it, because the drawing and other visual functions are not called instantly, but on every timer tick, and the timer's speed is 24 ticks/sec by default. so at every tick spark askes every component if the visuals have changed, and if so, calls the redraw, and thats where it goes

RE: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Philip Smith
>> it depends on your code. The error is happening in the Spark code... To: flexcoders@yahoogroups.com From: csom...@gmail.com Date: Tue, 6 Dec 2011 09:24:20 +0100 Subject: Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

Re: [flexcoders] Re: Debug with device?

2011-12-06 Thread Csomák Gábor
from manufacturers website. on samsung its kies, on the others i dont know.. On Tue, Dec 6, 2011 at 4:56 PM, markflex2007 wrote: > > > where I can get the drivers. BF never ask me to install drivers. why? > > Thanks for help > > Mark > > > --- In flexcoders@yahoogroups.com, Csomák Gábor wrote:

[flexcoders] Re: Debug with device?

2011-12-06 Thread markflex2007
where I can get the drivers. BF never ask me to install drivers. why? Thanks for help Mark --- In flexcoders@yahoogroups.com, Csomák Gábor wrote: > > update flash builder to the newest. set device to debug mode. install all > the drivers. on debug settings, select on device. > if it does not he

Re: [flexcoders] ArgumentError: Error #2004: One of the parameters is invalid@Graphics/drawRect

2011-12-06 Thread Csomák Gábor
it depends on your code. error finding method: comment half of the block. If its still the same error, the mistake will be in the other half. if it stopped the error, the error is in the commented half. repeat for the half with the error. repeat until you found the problem.. the error is because:

Re: [flexcoders] Re: getting the total of values of an array collection that is updated manually

2011-12-06 Thread Csomák Gábor
private function updateTotal(){ var summ:Number=0 for(i:String in orderColl){ summ+=orderColl[i] } total=summ sum.text=total } and call this function at the end of init, addProduct, deleteOrder functions. On Tue, Dec 6, 2011 at 4:19 AM, ZIONIST wrote: > > Tried that but it doesn't work. What

Re: [flexcoders] Debug with device?

2011-12-06 Thread Csomák Gábor
update flash builder to the newest. set device to debug mode. install all the drivers. on debug settings, select on device. if it does not help, click the connection help (or something like that, i don't remember exactly) on the debug settings page. On Tue, Dec 6, 2011 at 6:18 AM, markflex2007 wr