The thing is, in Flash everything is an Object...Object is the base datatype from which every other type is subclassed...so if your CookieHandler class is expecting an Object, you can pass it a Date object without it complaining...

K.