I'm using the script below, yet every time I run or publish it, flash still send to me to the frame corresponding to the date in which I first ran the scrip (August 6th).
How can I make flash update the date and goto the correct frame?
Code:
var augDate:Date = new Date();
var dayNumberaug:uint = someDate.getDay();
switch(dayNum)
{
          case 0:
        gotoAndStop(1,"August");
        break;   
          case 1:
        gotoAndStop(2,"August");
        break;
   ......abbreviated...... 
          case 30:
        gotoAndStop(31,"August");
        break;
}
Thanks