This is weird...
I'm linking to a coldfusion component I'm creating.
For the sake of playing around a bit, I created the variable rc
The following AS3 function queries the CF server to see if the user is
logged in or not; returns true for yes, false for no
public
It appears to me, that your Coldfusion script returns a string instead
of a boolean. Every string with a length 0 evaluates to true in a
boolean expression.
Cheers
Ralf.
On Mon, Jul 14, 2008 at 4:05 PM, Scott [EMAIL PROTECTED] wrote:
This is weird…
I'm linking to a coldfusion component I'm
: [flexcoders] AS3 function returning true when it only can be false
It appears to me, that your Coldfusion script returns a string instead
of a boolean. Every string with a length 0 evaluates to true in a
boolean expression.
Cheers
Ralf.
On Mon, Jul 14, 2008 at 4:05 PM, Scott [EMAIL PROTECTED] wrote
=boolean
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Bokelberg
Sent: Monday, July 14, 2008 8:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3 function returning true when it only can be
false
It appears to me
: Monday, July 14, 2008 8:58 AM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: Re: [flexcoders] AS3 function returning true when it only can be
false
It appears to me, that your Coldfusion script returns a string instead
of a boolean. Every string with a length 0
5 matches
Mail list logo