RE: [flexcoders] NaN Undefined

2005-08-02 Thread Simard, Ghislain
That's what I did...but I have this message in my debugger: the variable myField is required but was not passed in. and yes in the Call, I can see it as undefined. Why it is not goinf throughtout my condition?? Here is the info that I received: The Call: MethodName:

Re: [flexcoders] NaN Undefined

2005-08-02 Thread Aldo Bucchi
hi, For consistency, I always use the core typeof() function. I have a CoreUtil class with some static constants that hold the strings. CoreUtil.TYPE_NUMBER; // string: number CoreUtil.TYPE_UNDEFINED; // string: undefined etc... usage: if ( typeof( myNumber ) === CoreUtil.TYPE_NUMBER )