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 =
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
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
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.
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);
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
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
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
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
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
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
11 matches
Mail list logo