Accessing Object Properties : Object : Class Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Class » Object »

 

Accessing Object Properties


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        var sTitle:String = new String("Bible");
        var sName:String = new String("Lott");
        
        trace(sTitle.length);
        
        if(sTitle.length > 12) {
          trace("The title has more than twelve characters.");
        }
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Class
» Object