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
-------------------------------------------------------------


Reply via email to