package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var fruit:XML = <fruit><name>Apple</name></fruit>; trace( fruit.name ); var author:XML = <author><name><firstName>Darron</firstName></name></author>; trace( author.name.firstName ); } }}
Name (required)
email (will not be published) (required)
Website