Flash MX 2004.
document.xmlPanel(fileURI)
fileURI A string, expressed as a file:/// URI, that specifies the path to the XML file defining the controls in the panel. The full path is required.
An object that has properties defined for all controls defined in the XML file. All properties are returned as strings. The returned object will have one predefined property named "dismiss" that will have the string value "accept" or "cancel".
Method; posts an XMLUI dialog box. See fl.xmlui.
The following example loads the Test.xml file and displays each property contained within it:
var obj = fl.getDocumentDOM().xmlPanel(fl.configURI + "Commands/Test.xml");
for (var prop in obj) {
fl.trace("property " + prop + " = " + obj[prop]);
}