Re: [flexcoders] Booleans and Stardust

2007-04-22 Thread Manish Jethani
> > regards, > Muzak > > > > - Original Message - > From: "Shannon" <[EMAIL PROTECTED]> > To: > Sent: Sunday, April 22, 2007 8:11 AM > Subject: [flexcoders] Booleans and Stardust > > > I wrote a function to change state of details b

Re: [flexcoders] Booleans and Stardust

2007-04-22 Thread Muzak
Use int instead of Boolean ? -1 (instead of null) 0 (instead of false) 1 (instead of true) regards, Muzak - Original Message - From: "Shannon" <[EMAIL PROTECTED]> To: Sent: Sunday, April 22, 2007 8:11 AM Subject: [flexcoders] Booleans and Stardust I wrote a fu

[flexcoders] Booleans and Stardust

2007-04-21 Thread Shannon
I wrote a function to change state of details based on arg[0] (off_on): true - show false - hide null - toggle Seems ok, but if off_on is declared Boolean we get a warning: "1096: Illogical comparison with null. Variables of type Boolean cannot be null." Shucks ... ":(~ So I now have