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

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 stinas...@yahoo.com wrote: Tried that but it

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:

[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 csomakk@... wrote: update flash builder to the newest. set device to debug mode. install all the drivers. on debug settings, select on device. if it

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 markflex2...@yahoo.com 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

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] 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

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: s:Rect left=”2” right=”2” / Once the component containing this rect is only 3 pixels wide, the width will be computed as –1 since the left side

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

[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,