private function treeChanged(event:Event):void { var nodeApp:String = compLibTree.selectedItem.@app; if (nodeApp != null && nodeApp != "") { swfLoader.loadApp(nodeApp + ".swf"); vs.loadSource(nodeApp, compLibTree.selectedItem.@src); }
private function init():void { service = new PhotoService("data/galleries.xml"); }