Mega Code Archive

 
Categories / Flash ActionScript / Data Type
 

If you convert the string values of true and false, they will both convert to the Boolean true value because both string values

package{   import flash.display.Sprite;      public class Main extends Sprite{     public function Main(){         trace(Boolean("true"));  // Displays: true         trace(Boolean("false"));  // Displays: true     }   } }