开发者

Loading a slide depending on what day it is?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜