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 9193999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:17:55+00:00 2026-06-17T21:17:55+00:00

Ok there is a pretty complicated thing I need done in Flash CS4 with

  • 0

Ok there is a pretty complicated thing I need done in Flash CS4 with as3. I’ve looked around the web but I couldn’t find much useful info.

Basically I have 3 ComboBoxes, one for the UTC date, another for the UTC month and another for the UTC year. I need it to be done so that the comboboxes will show the dates inbetween a set date (a date which I initially set in the flash script) and the current UTC date. For example, if I put the set date as 1st of Feb 2013, and the current date is 4th of March, I want the user to only be able to select February and March in the ‘month’ combobox. If they select February, then the available dates in the ‘date’ combobox should be 1 – 28, but if March is selected then only 1 – 4 should be available. This should be able to update every day automatically, so for example on March 5th, the number 5 should be added so it should be 1 – 5 available on the ‘date’ combobox if March is selected and so on…

I honestly have no idea how to go about this, but I really need it done one way or another. If anyone could help me I would be thankful.

  • 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-06-17T21:17:57+00:00Added an answer on June 17, 2026 at 9:17 pm

    When you select a new month, your two boundary dates can update accordingly, then this function can help you generate the date in between

        private function test():void
        {
            var date1:Date = new Date(2012, 11, 25);
            var date2:Date = new Date();
            generateDateBetween(date1, date2);
        }
    
        private function generateDateBetween(date1:Date, date2:Date):void
        {
            for (var i:Number = date1.time; i < date2.time; i+= 3600*24*1000)
            {
                var date:Date = new Date();
                date.time = i;
                trace(date);
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pretty sure there is an easy answer to this, but just can't find the
I'm new to Drupal but I've found my way around it pretty easily. There's
I'm pretty sure there's some quick and easy error in this code but somehow
I'm pretty sure there is no way, but i'm putting this out there for
I'm pretty sure there is a very simple solution here but I can't seem
I feel like there's a pretty simple way to do this, but I'm not
I have a workable solution but I'm pretty convinced there's a better way of
I need to draw a complicated object with Qt primitives using QPainter. The thing
Is there a pretty way to make a series of method calls in ruby
Is there a pretty printing function in Clojure that would output data-structures like lists

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.