This content has been marked as final.
Show 3 replies
-
1. Re: check a date
kglad Jan 25, 2011 11:03 AM (in response to leaflashdev)if you can accept the date on the user's system, you can use the flash Date class:
var d:Date=new Date();
if((d.getMonth()==0&&d.getDate()>=25) || (d.getMonth()==1&&d.getDate()<=25)){
yourelement.visible=true;
} else {
yourelement.visible=false;
}
if you can't, then you'll need to use server-side script and the urlloader class.
-
2. Re: check a date
leaflashdev Jan 25, 2011 2:12 PM (in response to kglad)Thanks a lot exactly what I was looking for
-


