Bracket syntax is required for illegal property name : Bracket syntax : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » Bracket syntax »

 

Bracket syntax is required for illegal property name


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var example:XML = <example />;
        
        example"some-element" "";
        
        traceexample );
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo XML
» Bracket syntax