var DOM = fl.getDocumentDOM(); var xui = DOM.xmlPanel(fl.configURI + "Commands/showCode.xml"); if (xui) { var script = DOM.getTimeline().getFrameProperty("actionScript"); script += xui.out; DOM.getTimeline().setFrameProperty("actionScript", script); }