the "null" is maybe a string if it's from url variables.

Alexander Farber wrote:
Hello,

does anybody please have an idea, why would this code:

private function handleComplete(event:Event):void {
        var urlvars:URLVariables = event.target.data;
......
        if (urlvars.bids != null && urlvars.bids != 0) {
                trace(urlvars.bids);
                .....
        }
}

still print out "null"? Is it maybe because null != null in AS3
and I have to perform some other check similar to isNaN()?

Thank you
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to