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
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
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
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
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
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
: 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
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
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
>
] 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
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
How do I get the first n items in an XMLList?
I'm not very familiar with XML workarounds.
TIA,
Hyder
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
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();">
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
.
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
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
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
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
ders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcoders] XMLList And ArrayCollection
Hello,
I'm have a above XML file. T
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
.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
>
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
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
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
([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
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 =
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
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
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
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=
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
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
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]
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.
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
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
37 matches
Mail list logo