getHours flash Cache issue AS3.0

hello,

I am trying to get time from users PC, and change contents depending on if its day or night.

the following code works perfectly when I preview within flash.
it updates everthing when an event occurs.

BUT it only works first time when I open it from HTML,
unless I clear browser`s cash.


var nowStat:String;

stage.root.addEventListener(Event.ADDED, getTime);


function getTime(e:Event):void
{
var hour:Number = now.getHours();


if (hour > 6 && hour < 18){
nowStat = "day";  

trace(nowStat);


}else {
nowStat = "night"; 

trace(nowStat);
    }
}



can anybody help me?

P.S. I`m using AS 3.0

Thank you.