No, null==null in AS3.

I suspect that your url variable bids contains the string "null", sent
from the server-side.

HTH,
  Ian

On Thu, Apr 9, 2009 at 2:13 PM, Alexander Farber
<[email protected]> 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