Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 709727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:32:07+00:00 2026-05-14T04:32:07+00:00

My Flash designer is reading an XML stream I’m sending back to the browser

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:32:07+00:00Added an answer on May 14, 2026 at 4:32 am

    if i were you id put them all into a array as objects, for example:

    var eventArray = new Array();
    for each(var i=0; i<xmlList.event.length(); i++){
        var object = {startdate : xmlList.event[i].startdate, enddate : xmlList.event[i].enddate,};
        eventArray.push(object);
    }
    

    then using the Array.map call to a function that checks the startdate enddate pair against a time. see the Date class for easy comparason.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've done several flash projects working as the ActionScripter with a designer doing all
In Flash, I have a container with several overlapping children. When I give this
We're making a Flash browser game with a few reasonably complex animations. Our designer
I have Java and Flash client applications. What is the best way for the
I got this flash application where you can click a link while watching a
I have a flash program that loads movie clips dynamically and sometimes they want
i am not an action script developer nor flash designer, i just want to
i hired a designer who knows flash but not flex, is there a way
I'm a web designer. In a effort to make Flash-based sites for my clients
I need to build a room designer, ultimately in Flex (Flash Builder 4). The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.