Re: [flexcoders] Re: tree multiple select problem

2011-08-07 Thread Alex Harui
Yes, if selectedIDs is a big array, it could take a while to do run the loop. You could try building up a hash table of ids Var hashIDs:Object = new Object; For (var i:int = 0; I N; i++) hashIDs[selectedIds[i].toString()) = 1; Then query once: var nodes:XMLList =

[flexcoders] Interface design

2011-08-07 Thread cjacquel73
Hello, I have to select 4 values of percentages. The sum of this 4 values should be equal to 100%. How to design an interface (with sliders or other), to select this 4 percentages ? Thank you, Christophe

Re: [flexcoders] Interface design

2011-08-07 Thread Paul Andrews
On 07/08/2011 06:12, cjacquel73 wrote: Hello, I have to select 4 values of percentages. The sum of this 4 values should be equal to 100%. How to design an interface (with sliders or other), to select this 4 percentages ? Have a bar with three dividers. The bar represents 100%. The space

[flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread Battershall, Jeff
What I'm discovering about Spark Forms is that error messaging is inside the form item container and unless I make the form large enough to accommodate the error message I might see some unexpected layout issues such as the error text appearing over the form element, etc. Pretty darned ugly.

Re: [flexcoders] Preventing Spark List from scrolling to top when adding / removing items.

2011-08-07 Thread dorkie dork from dorktown
See if this will work, // your code var index:int = list.selectedIndex; list.dataProvider.addItem(item); list.validateNow(); moveToIndex(index); protected function moveToIndex(index:int):void { var point:Point = list.layout.getScrollPositionDeltaToElement(index);

Re: [flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread dorkie dork from dorktown
Hi Jeff, Since I've been working on mobile I don't have much room either. I use a label for error messages with includeInLayout and visible set to false and place it inside the FormItem container. If it's a vertical form item then the error label shows up beneath the form item. If it's horizontal

[flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread tacman1123
I'm new to Flex, I've been reading the Adobe Training from the Source book, but am stuck on a simple setup question. I want to integrate SQLite, and figured I'd use probinson's sqlite utilities (https://github.com/probertson/air-sqlite) to manage the connections. My question is where do I

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
Hi Tac, First setup your library project. Then go back to your original project and go into Properties Flex Build Path and click Add Project. A dialog will display available library projects for you to choose. Select your new library and click OK. The workspace will rebuild if it doesn't click

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
BTW Welcome to Flex! :) On Sun, Aug 7, 2011 at 6:59 AM, tacman1123 tac...@gmail.com wrote: ** I'm new to Flex, I've been reading the Adobe Training from the Source book, but am stuck on a simple setup question. I want to integrate SQLite, and figured I'd use probinson's sqlite utilities

[flexcoders] Flex 4.5 debugging issue

2011-08-07 Thread richmcgillicuddy
I am upgrading my projects from Flex 3 to Flashbuilder 4.5. The final swfs are part of a bigger web site that requires authentication. In Flex 3, I could open a IE browser window, log in, leave that window open, then when I debugged an SWF, it opened a new browser window but the

[flexcoders] Could AIR create an automation app?

2011-08-07 Thread MicC
Does AIR have enough hooks to the os to create an automation app? Programs like Automate and WinAutomation script mouse position and clicks to control an app's gui, and Automate automatically recognizes menus and buttons etc if the app to be controlled conforms to something - not sure what. I