Skip to main content
Inspiring
May 20, 2024
Question

code to make a calender auto update

  • May 20, 2024
  • 2 replies
  • 259 views

im wondering how you code the text boxes once you know the base portion of a month to update the other days. also seeing a 31 vs 30 problem but thats not a huge issue here.  i can update this manually but its geting to be  a pain and clearly some coding exists for *variable* plus one , plus 2 etc. planning this in as3 coding but also could do in html5 as well since i also got a project id like to do where all the files are numbered 1 to 1000ish for both the thumbnails and the swf.

 

 

 

    This topic has been closed for replies.

    2 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    May 20, 2024

    Hi.

     

    If you opt for AS3, this seems to be a good tutorial:
    https://code.tutsplus.com/understanding-date-making-a-calendar-in-as3--active-9628t

    Please let us know.

     

    Regards,

    JC

    kglad
    Community Expert
    Community Expert
    May 20, 2024

    from where are you retrieving the date?

     

    local system clock? server?

    Inspiring
    May 20, 2024

    it would be set in a variable for now. i would love to do localtime as well.

    kglad
    Community Expert
    Community Expert
    May 20, 2024

    in as3, usse the Date class.