What adobe does is declare the property as type Object and then uses it as a Boolean. Thus is can be null, but you loose the strict typing of that object. Other than that, a boolean is either true or false, the default being false. There's no concept of an uninitialized boolean.
- Dan Freiman On Dec 7, 2007 3:07 PM, Peter Connolly <[EMAIL PROTECTED]> wrote: > They say that we should deal with warnings, but I'm not seeing how to > get around this one... > > I have an AS3 object and several Boolean properties in it that may or > may not be initialized. So I check to see if they are 'null' before > using them. This is a typical Java check that I'm carrying over. Is > there some other way to check for proper initialization of a Boolean > property? One that won't kick off the warning sirens? > >

