public class Main extends Sprite{ public function Main(){ var msg1:XML = <GREETING> <TO>A</TO> <FROM>Programmer</FROM> <MESSAGE>Hello</MESSAGE> </GREETING>;
var msg2:XML = <GREETING> <TO>A</TO> <FROM>Programmer</FROM> <MESSAGE>Hello</MESSAGE> </GREETING>;
trace(msg1.* == msg2.*); // Displays: true
} } }
Related Scripts with Example Source Code in same category :