all groups > flash actionscript > may 2004 >
You're in the

flash actionscript

group:

date = _root.today() problems



Re: date = _root.today() problems Rod
5/26/2004 7:45:53 PM
flash actionscript: Just change the name of your variable. Since there's a Date object in flash,
you can't use the word 'date' to name a var.

date = _root.today() problems nfrared
5/26/2004 10:33:34 PM
Hi. I'm not that great with Flash yet, as I am relatively new to it, thus I was
wondering if you could help.
I have a relatively complex mini-blogger, but it wont load, since the date =
_root.today(); command used to get and display the date won't work. The
debugger says as follows:

**Warning** Symbol=addentry, Layer=actions, Frame=10: Line 8: Case-insensitive
identifier 'date' will obscure built-in object 'Date'.
date = _root.today();

**Warning** Symbol=addcomment, Layer=actions, Frame=10: Line 7:
Case-insensitive identifier 'date' will obscure built-in object 'Date'.
date = _root.today();

Of course, that is mentioned in the error message index, but I don't know what
to do to fix it. This is probably really simple, but I would appreciate it if
somebody could help me out. Thanks alot for your time.
Re: date = _root.today() problems nfrared
5/26/2004 11:09:26 PM
AddThis Social Bookmark Button