Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

code to make a calender auto update

Participant ,
May 20, 2024 May 20, 2024

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.

 

terryw30405050_0-1716215586307.jpeg

 

 

268
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2024 May 20, 2024

from where are you retrieving the date?

 

local system clock? server?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 20, 2024 May 20, 2024

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2024 May 20, 2024
LATEST

in as3, usse the Date class.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2024 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines