<?xml version="1.0" encoding="UTF-8"?>
<apiPackage xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" id="adobe.utils" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiPackage/apiPackage "><apiName class="- topic/title reference/title apiRef/apiName ">adobe.utils</apiName><apiDetail class="- topic/body reference/refbody apiRef/apiDetail "/><apiClassifier languages="" id="adobe.utils:XMLUI" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">XMLUI</apiName><shortdesc class="- topic/shortdesc ">
 该 XMLUI 类实现与 SWF 文件的通信，SWF 文件用作 Flash 创作工具的扩展功能的自定义用户界面。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">XMLUI
 </keyword></asCustoms></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiFinal class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiFinal "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
 该 XMLUI 类实现与 SWF 文件的通信，SWF 文件用作 Flash 创作工具的扩展功能的自定义用户界面。 
 
 <p class="- topic/p ">Macromedia Flash MX 2004 和 Macromedia Flash MX Professional 2004 以及更高版本附带多种扩展功能，包括“行为”、“命令”(JavaScript API)、“效果”和“工具”。有了这些功能，高级用户可以扩展或自动化创作工具的功能。 “XML 转化为 UI”引擎可以使用这些扩展功能创建用户可以看到的对话框（如果扩展功能需要或接受参数）。可以通过使用 XML 标签或创建要显示的 SWF 文件来定义对话框。 XMLUI 对象提供了一种机制，高级用户可以利用这一机制与以此方式使用的 SWF 文件通信。</p>
 
 </apiDesc></apiClassifierDetail><apiOperation id="adobe.utils:XMLUI:accept" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">accept</apiName><shortdesc class="- topic/shortdesc ">
	
	使当前的 XMLUI 对话框以“accept”状态关闭。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">XMLUI, XMLUI.accept(), accept()
	</keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	
	使当前的 XMLUI 对话框以“accept”状态关闭。 这相当于用户单击“确定”按钮。 
	
	
	</apiDesc></apiOperationDetail></apiOperation><apiOperation id="adobe.utils:XMLUI:cancel" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">cancel</apiName><shortdesc class="- topic/shortdesc ">
	
	使当前的 XMLUI 对话框以“cancel”状态关闭。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">XMLUI, XMLUI.cancel(), cancel()
	</keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	
	使当前的 XMLUI 对话框以“cancel”状态关闭。 这相当于用户单击“取消”按钮。
	
	</apiDesc></apiOperationDetail></apiOperation><apiOperation id="adobe.utils:XMLUI:getProperty" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">getProperty</apiName><shortdesc class="- topic/shortdesc ">
	
	检索当前 XMLUI 对话框的指定属性的值。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">XMLUI, XMLUI.getProperty(), getProperty()
	</keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">属性的值。
	
	</apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要检索的 XMLUI 属性的名称。
	
	</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	
	检索当前 XMLUI 对话框的指定属性的值。
	
	</apiDesc></apiOperationDetail></apiOperation><apiOperation id="adobe.utils:XMLUI:setProperty" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">setProperty</apiName><shortdesc class="- topic/shortdesc ">
	
	修改当前 XMLUI 对话框的指定属性的值。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">XMLUI, XMLUI.setProperty(), setProperty()
	</keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要修改的 XMLUI 属性的名称。
	</apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">value</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要为指定属性设置的值。
	
	</apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	
	修改当前 XMLUI 对话框的指定属性的值。 
	
	</apiDesc></apiOperationDetail></apiOperation></apiClassifier><apiClassifier languages="" id="adobe.utils:CustomActions" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiClassifier/apiClassifier "><apiName class="- topic/title reference/title apiRef/apiName ">CustomActions</apiName><shortdesc class="- topic/shortdesc ">
 
 CustomActions 类的方法使得在 Flash 创作工具中播放的 SWF 文件可以管理任何向该创作工具注册的自定义动作。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">CustomActions object, CustomActions, built-in class
 </keyword></asCustoms></prolog><apiClassifierDetail class="- topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail "><apiClassifierDef class="- topic/section reference/section apiRef/apiDef apiClassifier/apiClassifierDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiFinal class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiFinal "/><apiBaseClassifier class="- topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier ">Object</apiBaseClassifier></apiClassifierDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
 
 CustomActions 类的方法使得在 Flash 创作工具中播放的 SWF 文件可以管理任何向该创作工具注册的自定义动作。 SWF 文件可安装和卸载自定义动作，检索自定义动作的 XML 定义，以及检索已注册的自定义动作的列表。
 <p class="- topic/p ">您可使用这些方法来生成属于 Flash 创作工具扩展功能的 SWF 文件。 例如，这样的扩展功能可使用“Flash 应用程序协议”定位“统一描述、发现和集成 (UDDI)”储备库，并将 Web 服务下载到“动作”工具箱。</p>
 
 </apiDesc></apiClassifierDetail><apiOperation id="adobe.utils:CustomActions:getActions" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">getActions</apiName><shortdesc class="- topic/shortdesc ">
	  读取名为 name 的自定义动作 XML 定义文件的内容。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">CustomActions.getActions, CustomActions, getActions
	  </keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">如果找到自定义动作 XML 定义，则返回字符串；否则，返回 <codeph class="+ topic/ph pr-d/codeph ">undefined</codeph>。
	  
	  </apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要检索的自定义动作定义的名称。  
	  </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	  读取名为 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 的自定义动作 XML 定义文件的内容。
	  <p class="- topic/p ">定义文件的名称必须是简单文件名，没有 .xml 文件扩展名，也没有任何目录分隔符（“:”、“/”或“\”）。 </p>
	  <p class="- topic/p ">如果找不到由 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 指定的定义文件，则返回值 <codeph class="+ topic/ph pr-d/codeph ">undefined</codeph>。如果找到了由 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 参数指定的自定义动作 XML 定义，则该定义将被完整地读取，并以字符串形式返回。</p>
	  
	  </apiDesc></apiOperationDetail></apiOperation><apiOperation id="adobe.utils:CustomActions:installActions" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">installActions</apiName><shortdesc class="- topic/shortdesc ">
	  安装由 name 参数表示的新的自定义动作 XML 定义文件。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">
	  </keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">如果安装过程中发生错误，则返回布尔值 <codeph class="+ topic/ph pr-d/codeph ">false</codeph>；否则，返回值 <codeph class="+ topic/ph pr-d/codeph ">true</codeph>，表示该自定义动作已成功安装。
	  
	  </apiDesc><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要安装的自定义动作定义的名称。  
	  </apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">data</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要安装的 XML 定义的文本。  
	  </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	  安装由 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 参数表示的新的自定义动作 XML 定义文件。该文件的内容由字符串 <codeph class="+ topic/ph pr-d/codeph ">data</codeph> 指定。
	  <p class="- topic/p ">定义文件的名称必须是简单文件名，没有 .xml 文件扩展名，也没有任何目录分隔符（“:”、“/”或“\”）。 </p>
	  <p class="- topic/p ">如果已存在名为 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 的自定义动作文件，则该文件将被覆盖。</p>
	  <p class="- topic/p ">如果调用此方法时不存在目录 Configuration/ActionsPanel/CustomActions，则将创建该目录。</p>
	  
	  </apiDesc></apiOperationDetail></apiOperation><apiOperation id="adobe.utils:CustomActions:uninstallActions" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">uninstallActions</apiName><shortdesc class="- topic/shortdesc ">
	  删除名为 name 的自定义动作 XML 定义文件。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">CustomActions.uninstallActions, CustomActions, uninstallActions
	  </keyword></asCustoms></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc ">要卸载的自定义动作定义的名称。  
	  
	  </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	  删除名为 <codeph class="+ topic/ph pr-d/codeph ">name</codeph> 的自定义动作 XML 定义文件。
	  <p class="- topic/p ">定义文件的名称必须是简单文件名，没有 .xml 文件扩展名，也没有任何目录分隔符（“:”、“/”或“\”）。 </p>
	  
	  </apiDesc></apiOperationDetail><related-links class="- topic/related-links "><link href="adobe.utils.xml#CustomActions/installActions()" class="- topic/link "><linktext class="- topic/linktext ">installActions()</linktext></link></related-links></apiOperation><apiValue id="adobe.utils:CustomActions:actionsList:get" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "><apiName class="- topic/title reference/title apiRef/apiName ">actionsList</apiName><shortdesc class="- topic/shortdesc ">
	  返回一个 Array 对象，该对象包含向 Flash 创作工具注册的所有自定义动作的名称。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata><asCustoms class="+ topic/metadata adobe-api-d/asCustoms "><keyword class="- topic/keyword ">CustomActions.listActions, CustomActions, listActions
	  </keyword></asCustoms></prolog><apiValueDetail class="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "><apiValueDef class="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "><apiProperty class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiProperty "/><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiStatic class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiStatic "/><apiValueAccess value="read" class="+ topic/state reference/state apiRef/apiQualifier adobe-api-d/apiValueAccess "/><apiValueClassifier class="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier ">Array</apiValueClassifier></apiValueDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
	  返回一个 Array 对象，该对象包含向 Flash 创作工具注册的所有自定义动作的名称。 该数组元素是简单名称，不得包含 .xml 文件扩展名，也没有任何目录分隔符（例如“:”、“/”或“\”）。如果没有已注册的自定义动作，则 <codeph class="+ topic/ph pr-d/codeph ">actionsList()</codeph> 将返回一个长度为零的数组。如果发生错误，则 <codeph class="+ topic/ph pr-d/codeph ">actionsList()</codeph> 将返回值 <codeph class="+ topic/ph pr-d/codeph ">undefined</codeph>。
  	  
	  </apiDesc></apiValueDetail></apiValue></apiClassifier><apiOperation id="globalOperation:adobe.utils:MMEndCommand" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">MMEndCommand</apiName><shortdesc class="- topic/shortdesc ">
 通知承载 SWF 命令的应用程序已执行一个命令，并表示应用程序是提交还是丢弃 MMExecute() 命令所提交的更改。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="10" class="+ topic/ph adobe-api-d/apiPlatform "/><apiPlatform description="" name="AIR" version="1.5" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS4" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiType value="void" name="type" class="- topic/state reference/state apiRef/apiType "/></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">endStatus</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">Boolean</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "> 一个布尔值；使用 <codeph class="+ topic/ph pr-d/codeph ">true</codeph> 提交更改，否则使用 <codeph class="+ topic/ph pr-d/codeph ">false</codeph>。如果设置为 <codeph class="+ topic/ph pr-d/codeph ">false</codeph>，则将丢弃任何待定更改。 
 </apiDesc></apiParam><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">notifyString</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "> 一个字符串，其中包含错误消息或丢弃更改的原因。如果 <codeph class="+ topic/ph pr-d/codeph ">endStatus</codeph> 参数值为 <codeph class="+ topic/ph pr-d/codeph ">true</codeph>，则为 <codeph class="+ topic/ph pr-d/codeph ">notifyString</codeph> 参数值使用空字符串。
 </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
 通知承载 SWF 命令的应用程序已执行一个命令，并表示应用程序是提交还是丢弃 <codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph> 命令所提交的更改。 
 </apiDesc></apiOperationDetail></apiOperation><apiOperation id="globalOperation:adobe.utils:MMExecute" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d)                              (topic ut-d) (topic pr-d api-d)" class="- topic/topic reference/reference apiRef/apiRef apiOperation/apiOperation "><apiName class="- topic/title reference/title apiRef/apiName ">MMExecute</apiName><shortdesc class="- topic/shortdesc ">
 允许从 ActionScript 中发出 Flash JavaScript API (JSAPI) 命令。</shortdesc><prolog class="- topic/prolog "><asMetadata class="+ topic/metadata adobe-api-d/asMetadata "><apiVersion class="+ topic/ph adobe-api-d/apiVersion "><apiLanguage version="3.0" class="+ topic/ph adobe-api-d/apiLanguage "/><apiPlatform description="" name="Flash" version="9" class="+ topic/ph adobe-api-d/apiPlatform "/><apiTool description="" name="Flash" version="CS3" class="+ topic/ph adobe-api-d/apiTool "/></apiVersion></asMetadata></prolog><apiOperationDetail class="- topic/body reference/refbody apiRef/apiDetail apiOperation/apiOperationDetail "><apiOperationDef class="- topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef "><apiAccess value="public" class="- topic/state reference/state apiRef/apiQualifier adobe-api-d/apiAccess "/><apiReturn class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiReturn "><apiDesc class="- topic/section reference/section apiRef/apiDesc ">JavaScript 语句发送的结果（如果有）的字符串表示形式。
 </apiDesc><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier></apiReturn><apiParam class="- topic/ph reference/ph apiRef/apiDefItem apiOperation/apiParam "><apiItemName class="- topic/keyword reference/keyword apiRef/apiItemName ">name</apiItemName><apiOperationClassifier class="- topic/xref reference/xref apiRef/apiRelation apiOperation/apiOperationClassifier ">String</apiOperationClassifier><apiDesc class="- topic/section reference/section apiRef/apiDesc "> 传递给 <codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph> 的字符串。<codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph> 分析字符串并执行任何 JavaScript 命令。可以为字符串分配一个变量，然后将该变量传递给 <codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph>。也可以将 JavaScript 函数划分为较小的字符串；<codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph> 将返回最后调用的函数的值。
 </apiDesc></apiParam></apiOperationDef><apiDesc class="- topic/section reference/section apiRef/apiDesc ">
 允许从 ActionScript 中发出 Flash JavaScript API (JSAPI) 命令。 在 Flash Professional 中，<codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph> 函数只能由用作 Flash 面板的影片、“XMLtoUI”对话框或组件的自定义用户界面来调用。JSAPI 命令在创作环境外不起作用。 
 <p class="- topic/p ">Flash JSAPI 提供了一些对象、方法和属性，以直接复制或模拟用户可以在创作环境中输入的命令。 通过使用 JSAPI，您可以编写以多种方式扩展 Flash 的脚本：在菜单中添加命令、在舞台上操作对象、重复执行命令序列，等等。</p>
 <p class="- topic/p ">通常，用户通过选择“命令”>“运行命令”来运行 JSAPI 脚本。 不过，您可以在 ActionScript 脚本中使用此函数以直接调用 JSAPI 命令。 如果在文件的第 1 帧上的脚本中使用 <codeph class="+ topic/ph pr-d/codeph ">MMExecute()</codeph>，则会在加载 SWF 文件时执行该命令。</p>
 <p class="- topic/p ">有关 JSAPI 的详细信息，请参阅“扩展 Flash”，网址为 <xref href="http://www.adobe.com/go/jsapi_info_cn" scope="external" class="- topic/xref ">http://www.adobe.com/go/jsapi_info_cn</xref>。</p>
 </apiDesc></apiOperationDetail></apiOperation></apiPackage>