I'm making some test with Boolean Flex cast.

See:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
    initialize="main()"
    >
    <mx:Script>
        <![CDATA[
            private function main():void {
                trace("Boolean: " + Boolean("true"));
                trace("Boolean: " + Boolean("false"));
            }
        ]]>
    </mx:Script>
</mx:Application>


I expect true and false on console.

But I got:
[SWF] C:\framework\workspace\CobaiaFlex\bin\BooleanTest.swf - 445.501 bytes
after decompression
Boolean: true
Boolean: true


What happened?


Marvin

Reply via email to