How to select items from XmlList

Posted by Cen on Stack Overflow See other posts from Stack Overflow or by Cen
Published on 2010-04-07T14:31:20Z Indexed on 2010/04/07 14:33 UTC
Read the original article Hit count: 380

Filed under:
|
|

My Flash designer is reading an XML stream I'm sending back to the browser (I'm a C# dev). We have this working fine.

He is then selecting into an XMLList where a element has its id a certain value i.e. . This is also working just fine.

In this XmlList, are Events, that look a little something like this:

event
    startdate
      enddate
end event

I don't know how to use the formatting here - but each of those items is an element. startdate would have a value such as 04/02/2010 and enddate 6/30/2010.

Now, from this XmlList I do have of Events, I need to select all Events where a new variable myDate, falls in between the startdate and enddate.

I'm not sure how to do this in AS3 - can anyone help me?

Thank you very much in advance!

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3