Groups | Blog | Home
all groups > flash (macromedia) > november 2003 >

flash (macromedia) : XML data sorting by nodeName or nodeValue


narunas
11/19/2003 10:03:28 PM
so far I have not been able to easily extract a certain node or its value from a loaded XML file by sorting using something other than [0], [1], [2]....etc.
Does Flash 2004 support sorting by nodeName?
something like ["my_node"].

is there a workaround?

would a XML component help?

narunas


Carl Fink
11/20/2003 10:36:47 AM
[quoted text, click to view]

Seemingly not. I ended up converting the XML data into an array of objects so
I could sort them with Array.sortOn(), and then converting back. Clumsy and
fairly slow, but it works.
--
Carl Fink
AddThis Social Bookmark Button