both methods work nicely. thank you.
On 10/28/05, Ian Thomas <[EMAIL PROTECTED]> wrote: > What's wrong with the following? > > var my_bool:Boolean=(flashvar_bool=="true"); > > Ian > > On 10/28/05, Steve Mathews <[EMAIL PROTECTED]> wrote: > > > > Try: > > var my_bool:Boolean = flashvar_bool=="false"?false:true; > > > > The basic problem is creating a Boolean with any string makes it true. > > So creating it with the string "false" still makes it true. > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders