|
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." -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Date Class switch? Jonathan Miranda
- RE: [flexcoders] Date Class switch? Geoffrey Williams
- RE: [flexcoders] Date Class switch? Jonathan Miranda

