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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to