Finding Elements by Name
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 ); } } }