|
Why would you make month zero indexed and
not date? Either way it’s a bit silly I have to do (mySharedObject.data.lastvisit.month+1) _________________________________________ Jonathan Miranda Flexible Master of the Web "In the
game of chess, it's important to never let your opponent see your pieces." From: Well, the month is zero indexed and today
is 2/2 not 2/1 so that might be what your seeing…. From: Alright, I used this in the Alpha
and it worked fine….but in the Beta it’s reversed. var
mySharedObject:SharedObject = SharedObject.getLocal("REQTWA"); if(mySharedObject.data.lastvisit
!= null) { VisitText.text =
"Your last visit was " + mySharedObject.data.lastvisit.month +
"/" + mySharedObject.data.lastvisit.date + "/" +
mySharedObject.data.lastvisit.fullYear; } else { VisitText.text =
"This is your first visit."; } mySharedObject.data.lastvisit
= new Date(); mySharedObject.flush();
} _________________________________________ Jonathan
Miranda Flexible
Master of the Web "In the game
of chess, it's important to never let your opponent see your pieces."
|

