[flexcoders] XMLList, tree, and textinput

2010-04-04 Thread cholid cholid
Hi all, i've new problem i have textInput to show some string object that the object i put from txtName.text = ~address~ then i want to use tree to show the txtName and make XMLList to make the tree how to order the txtName in tree? Thanks

Re: [SPAM] [flexcoders] XMLList question

2009-12-11 Thread invertedspear
I forgot I asked that question here too. I actually turned up a pretty simple function some dude developed to sort XML at http://freerpad.blogspot.com/2007/07/more-hierarchical-sorting-e4x-xml-for.html I then modified it a bit to do what I need and posted it here http://stackoverflow.com/questi

RE: [SPAM] [flexcoders] XMLList question

2009-12-11 Thread Russ Ferguson
Sent from my Windows MobileĀ® phone. -Original Message- From: Tracy Spratt Sent: Thursday, December 10, 2009 11:45 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] [flexcoders] XMLList question I don't believe you can sort an xmllist directly. I use a function that take

RE: [SPAM] [flexcoders] XMLList question

2009-12-10 Thread Tracy Spratt
ariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of invertedspear Sent: Tuesday, December 08, 2009 5:46 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] XMLList question Is it possible to so

[flexcoders] XMLList question

2009-12-08 Thread invertedspear
Is it possible to sort an XMLList? All the examples I can find on it create a new XMLListCollection like this: MyXMLListCol = new XMLListCollection(MyXMLList); I don't think the XMLListCollection in this case has any reference to the XMLList so sorting it would leave my XMLList unsorted, is thi

[flexcoders] XMLList += operator

2009-12-02 Thread Breizo
Hi, I am a bit puzzled by the XMLList operator +=. I created the following small test code: var xmll:XMLList = new XMLList(); xmll+=; trace(xmll.toXMLString()); addX(xmll); trace(xmll.toXMLString()); private function addX(x:XMLList):void{ x+=; trace(x.toXMLString()); } and I was expecting

RE: [SPAM] [flexcoders] XMLList refrence problem

2009-11-27 Thread Tracy Spratt
: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] XMLList refrence problem I have this... With a datagrid with this in... What do I put in the {} to get: Non-Member to show up for data.usrstatus == 0 Member to show up for data.usrstatus == 1 etc. Its been driving me

[flexcoders] XMLList refrence problem

2009-11-27 Thread criptopus
I have this... With a datagrid with this in... What do I put in the {} to get: Non-Member to show up for data.usrstatus == 0 Member to show up for data.usrstatus == 1 etc. Its been driving me crazy! - Stephen

RE: [flexcoders] XMLLIst += operator problem

2009-09-27 Thread Breizo
value and > not a reference. > I can think of at least three other ways to do this. > Tracy Spratt, > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Breizo > Sent: Friday, September 25, 2009 10:00 AM > To: flexcoders@yahoogroups.com >

RE: [flexcoders] XMLLIst += operator problem

2009-09-26 Thread Tracy Spratt
] On Behalf Of Breizo Sent: Friday, September 25, 2009 10:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] XMLLIst += operator problem Hi, Trying to do a simple element add to a XMLList but running into basic problems. Has anyone already fixed this? When I run the example, I get

[flexcoders] XMLLIst += operator problem

2009-09-25 Thread Breizo
Hi, Trying to do a simple element add to a XMLList but running into basic problems. Has anyone already fixed this? When I run the example, I get: when I would expect Any idea? Thanks http://www.adobe.com/2006/mxml"; layout="absolute" applicationComplete="init();"> -- View this

[flexcoders] XMLList: get first n items

2009-01-03 Thread Hyder
How do I get the first n items in an XMLList? I'm not very familiar with XML workarounds. TIA, Hyder

[flexcoders] XMLList to Number

2008-11-15 Thread Richard Rodseth
I'm decoding some XML and want to detect whether a particular element (whose text should be a number) is present and use a default number if it isn't. It seems that if node.min is not present the expression still returns an XMLList, so I'm doing something like this: private static functi

[flexcoders] XMLList obtained after filtering to act as dataprovider to datagrid

2008-09-11 Thread samata
Hi, I want the XMLList obtained after filtering to act as dataprovider to my datagrid... Can some1 help me plz?? This is my code: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init();">

RE: [flexcoders] XMLList to ArrayCollection

2008-08-21 Thread Gordon Smith
Subject: RE: [flexcoders] XMLList to ArrayCollection Sure, but you have to do it manually. Loop over the nodes, then use the attributes() to loop over the attributes. If I recall correctly, attribute[n] will give you the attr value, and attribute[n].name() will give you the attr name. XML.name

RE: [flexcoders] XMLList to ArrayCollection

2008-08-21 Thread Tracy Spratt
. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sdl1326 Sent: Thursday, August 21, 2008 5:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] XMLList to ArrayCollection I am retrieving the following xml via

[flexcoders] XMLList to ArrayCollection

2008-08-21 Thread sdl1326
I am retrieving the following xml via httpsService with the result format being 'e4x'. Q3 Q4 Q3 Q4 Q3 Q3 Q3 Q3 What's the best way to convert an XMLList to an ArrayCollection? Is it possible to do so without knowing the names of the attributes? Thanks for

RE: [flexcoders] XMLList -> XML Spontaneous Error

2008-06-27 Thread Tracy Spratt
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Friday, June 27, 2008 7:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] XMLList -> XML Spontaneous Error Code that I haven't touched in months is now giving me errors at runtime. It's compil

[flexcoders] XMLList -> XML Spontaneous Error

2008-06-27 Thread kenny14390
Code that I haven't touched in months is now giving me errors at runtime. It's compiling without even a warning, but when the application is run, I get unexpected results. When I run the app in debug mode, all breakpoints are ignored (news to me) so it's difficult to find exactly what's wrong. I ge

RE: [flexcoders] XMLList And ArrayCollection

2008-02-27 Thread Alex Harui
ders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcoders] XMLList And ArrayCollection Hello, I'm have a above XML file. T

[flexcoders] XMLList And ArrayCollection

2008-02-27 Thread NileAge, Mail
Hello, I'm have a above XML file. The question is how to get the items that have SubMenuID="4"? And I want to fill this xml fi

Re: [flexcoders] XMLList!!

2007-09-24 Thread Paul deCoursey
.item.child("koala").(text()=="Y") figo2324 wrote: > > Hi people, i need your help, i have a xmllist object so i need to > query this xmllist, im doing it in this way > > var jo:XMLList=myDataProvider.data.item.(koala=="Y"); > > where myDataProvider.data = > > > ccct > X > > > sambil > Y >

[flexcoders] XMLList!!

2007-09-24 Thread figo2324
Hi people, i need your help, i have a xmllist object so i need to query this xmllist, im doing it in this way var jo:XMLList=myDataProvider.data.item.(koala=="Y"); where myDataProvider.data = ccct X sambil Y then the structure of this xmllist can be changes it means that when

RE: [flexcoders] XMLList

2007-09-16 Thread Tracy Spratt
7:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XMLList Interest to know if anyone has been able to make this work. I struggled with trying to use variables in filtering XMLList without success. Alex Harui wrote: > > > ([variab

Re: [flexcoders] XMLList

2007-09-16 Thread Ben Marchbanks
t; > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *figo2324 > *Sent:* Friday, September 14, 2007 2:46 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] XMLList > > > > Hi people, i need your help, i have a xmllist object so

RE: [flexcoders] XMLList

2007-09-15 Thread Alex Harui
([variable] == "Y") From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of figo2324 Sent: Friday, September 14, 2007 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] XMLList Hi people, i need your help, i have a xmll

[flexcoders] XMLList

2007-09-15 Thread figo2324
Hi people, i need your help, i have a xmllist object so i need to query this xmllist, im doing it in this way var jo:XMLList=myDataProvider.data.item.(koala=="Y"); where myDataProvider.data =

[flexcoders] XMLList and ToggleToolbar

2007-09-14 Thread Gates Matthew Stoner
I'm trying to take a XML structure that I'm returning via a remote service and use it as a dataProvider for a Toogletoolbar. The XML is a bit complex and has some nested nodes. Here is a small example of it Schnauzr I want the toolbar to just be the topic labels (Dog, Cat). But

Re: [flexcoders] XMLList converted to XML

2007-04-11 Thread keith
s@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of [EMAIL PROTECTED] > *Sent:* Tuesday, April 10, 2007 11:23 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] XMLList converted to XML > > > What is an efficient way to convert XMLList object into children of an

RE: [flexcoders] XMLList converted to XML

2007-04-10 Thread Tracy Spratt
s.com Subject: [flexcoders] XMLList converted to XML What is an efficient way to convert XMLList object into children of an XML object? I'm using the XMLList methods to rearrange my XML children to specified order, but I need to convert the reordered XMLList back into datatyped XML object

[flexcoders] XMLList converted to XML

2007-04-10 Thread khair
What is an efficient way to convert XMLList object into children of an XML object? I'm using the XMLList methods to rearrange my XML children to specified order, but I need to convert the reordered XMLList back into datatyped XML objects into the original XML object. var obj:XML=

RE: [flexcoders] xmlList vs. Array

2007-01-09 Thread Tracy Spratt
Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boy_trike Sent: Tuesday, January 09, 2007 1:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] xmlList vs. Array I am populating combo boxes and other lists with data that is either hardwired

[flexcoders] xmlList vs. Array

2007-01-09 Thread boy_trike
I am populating combo boxes and other lists with data that is either hardwired into the application or retrieved from a database. An Array (or ArrayCollection) seems to fit the bill in most cases and is very easy to access / update. What is the advantage of using an XMLList assuming that my

RE: [flexcoders] XMLList/XMLListCollection: sort on attributes

2006-12-04 Thread Deepa Subramaniam
4, 2006 6:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] XMLList/XMLListCollection: sort on attributes Hello List, is there a way to sort a XMLList/XMLListCollection on their items attributes? What has to be done to sort the sample myData from "Using the XMLListCollection class" [1]

[flexcoders] XMLList/XMLListCollection: sort on attributes

2006-12-04 Thread Oliver Lietz
Hello List, is there a way to sort a XMLList/XMLListCollection on their items attributes? What has to be done to sort the sample myData from "Using the XMLListCollection class" [1] on the category name? Or is it possible to sort when making an E4X query? tia, O. [1] http://livedocs.macromedia.

[flexcoders] XMLList with a single item as a dataprovder

2006-08-07 Thread Rick Root
Why can the XMLList object with a single node and no subitems be used as a dataprovider for a list driven item, such as a tree, but I can't dump it out using the inherited toString() method? For an example, please take a look at the following simple flex app. It contains two trees, each popula

[flexcoders] XMLList as dataProvder for TileList

2006-03-08 Thread Jonathan Bezuidenhout
Hi,I create a XMLList result from a query by using the e4x method - and I would like to use this as the data provider for a TileList.In the TileList I create a custom component as a listItemRenderer, and in that component I use e.g. [EMAIL PROTECTED] to try and display the value of my attribute