Тема: XML на JSFL
Показать сообщение отдельно
Старый 13.03.2011, 18:08
i.o. вне форума Посмотреть профиль Отправить личное сообщение для i.o. Найти все сообщения от i.o.
  № 2  
Ответить с цитированием
i.o.
 
Аватар для i.o.

Регистрация: Apr 2010
Адрес: Earth
Сообщений: 1,897
Не тестил, но по описанию подходит:

document.xmlPanel()
Availability
Flash MX 2004.
Usage
document.xmlPanel(fileURI)
Parameters
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.
Returns
An object that has properties defined for all controls defined in the XML file. All properties are returned as strings. The
"dismiss" that will have the string value "accept" or
returned object will have one predefined property named
"cancel".
Description
Method; posts an XMLUI dialog box. See fl.xmlui.
Example
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]);  
 }