Read "true" as true

I am pulling the words “true” and “false” from a query, but in flash I need them to be the values of true and false, not strings, is there a way to convert this datatype?