The title says it all :)

date.getTime() is supposed to return an integer. Using Flash MX2004 or Flash
8 IDE, when you compile your application for Flash Player 7 or 6 (maybe
lower, I didn't test), and then view your SWF on a Mac (which has player 7
or 8), it returns a float.

You can see it yourself here. One line swf that just shows you the result of
date.getTime();
http://www.rootburn.com/files/timeTest8.swf - compiled for FP8. Integer on
PC and Mac
http://www.rootburn.com/files/timeTest7.swf - compiled for FP7. Integer on
PC. Returns float on Mac
http://www.rootburn.com/files/timeTest6.swf - compiled for FP6. Integer on
PC. Returns float on Mac

This seems to be realted to the problem that is referenced here:
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-March/024660.html

My login procedure has been using the result of date.getTime() as an
argument, and has been failing on Macs when I compiled my app for FP7, and I
couldn't figure out why. My server was choking on the float when it was
expecting an integer.

best, - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to