开发者

Loading a slide depending on what day it is?

开发者 https://www.devze.com 2023-02-08 04:54 出处:网络
Is there any way to show a certain slide in flash CS5 depending on what day of the week it is? Say for example its Monday the flash file on load will show a slide de开发者_StackOverflowsigned for Mond

Is there any way to show a certain slide in flash CS5 depending on what day of the week it is? Say for example its Monday the flash file on load will show a slide de开发者_StackOverflowsigned for Monday.


yes, use the Date() class to find out what date it is (according to system clock) and use the day (number 0 to 6) to find out which day of the week it is and load according to that.

0

精彩评论

暂无评论...
验证码 换一张
取 消