The double-dot operator works for any level of nesting : Double dot : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » Double dot »

 

The double-dot operator works for any level of nesting


 


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

        var author:XML = <author><name><firstName>Darron</firstName></name></author>;
        
        traceauthor..firstName );
  

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo XML
» Double dot