ActionScript and you would need a DataGrid. I don't think you can do it with a 
canvas


----- Original Message ----
From: Eric Cobb <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 31, 2008 10:47:01 AM
Subject: [flexcoders] Sorting XML Results

I just started playing with Flex a few days ago, and I'm learning as I 
go. When it comes to ActionScript and Flash, I'm completely brain dead, 
I've never used either one for anything. So, any help or pointers you 
can give me will be greatly appreciated.

The Flex app I'm creating is pretty simple. So far, I've got it making 
a HTTPService call to a ColdFusion page, which hits a database and 
returns the results as XML, and then displays the results in my Flex 
app. This is working fine. However, now I want to have a ViewStack 
with 2 Canvases, and have each Canvas display the XML results in a 
different sort order. 

For example, I'm pulling a list of employees first names and last 
names. I want one Canvas to display the results in order of first name, 
and I want the other Canvas to display the results in order of last 
name. Is there something native in Flex that can do this, or do I have 
to do it in ActionScript? 

Thanks!

Eric





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to