Skip to main content
Inspiring
May 20, 2024 2:35 PM UTC
Question

code to make a calender auto update

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 is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    May 20, 2024 2:47 PM UTC

    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

    Translate
    kglad
    Community Expert
    Community Expert
    May 20, 2024 2:41 PM UTC

    from where are you retrieving the date?

     

    local system clock? server?

    Translate
    Inspiring
    May 20, 2024 3:00 PM UTC

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

    Translate
    kglad
    Community Expert
    Community Expert
    May 20, 2024 3:01 PM UTC

    in as3, usse the Date class.

    Translate