public var test:XML; private function initapp():void { test = new XML(bobjoe); if (test is XML) { trace (test); }