super. works great.  thanks

On Mon, Feb 2, 2009 at 11:35 AM, FSThomas <[email protected]> wrote:

> John Waggener wrote:
>
>> Is it possible to cast a string as a Boolean?
>>
>
> Try something like this:
>
> var _autoplay:Boolean = String( elementNode ).toLowerCase() == "true";
>
> -f.
>
> --
> FS Thomas
> Principal Interactive Developer
> Left Brain Games
>
> 404.758.8616 (home/office)
> 404.274.1632 (cell)
> ferraatu (AIM)
>
> Work smarter, not harder.
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>


-- 
Johnny Waggener
Software Developer
Multicast Media
678-592-2650

Reply via email to