well, when I went to test it with a simple object returned from flash with one undefined member, isdefined() did report NO as you'd expect.
However, I was experiencing the situation with a very large object
that actually originated as a CF-xmldoc, which was passed to flash,
manipulated, and then sent back to CF. I did take a screenshot so no one
thinks I'm crazy, but I haven't been able to reliably reproduce it
(especially since I eliminated the chance for the null values to make
the trip back)
-dave
>>> [EMAIL PROTECTED] 2/28/2004 12:29:44 AM >>>
On Feb 26, 2004, at 5:50 AM, David Ross wrote:
> Anyways, isDefined("thing.foo") returns TRUE, not false, so this is
why
> the only way I can test for it is by using try/catch.
Can you provide a reproducible test case for this? I can't get
isDefined() to return true for any situation where the variable is
actually null...
Regards,
Sean
<<attachment: badStruct.gif>>
