MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 348

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

CustomActions.install()
Availability
Flash Player 6.
Usage
CustomActions.install(customActionsName, customXMLDefinition)
Parameters
customActionsName
customXMLDefinition
Returns
A Boolean value of
returned to indicate that the custom action has been successfully installed.
Description
Method; installs a new custom action XML definition file indicated by the
parameter. The contents of the file is specified by the string
The name of the definition file must be a simple filename, without the .xml file extension, and
without any directory separators (':', '/' or '\').
If a custom actions file already exists with the name
If the Configuration/ActionsPanel/CustomActions directory does not exist when this method is
invoked, the directory is created.
CustomActions.list()
Availability
Flash Player 6.
Usage
CustomActions.list()
Parameters
None.
Returns
An array.
Description
Method; returns an Array object containing the names of all the custom actions that are registered
with the Flash authoring tool. The elements of the array are simple names, without the .xml file
extension, and without any directory separators (for example, ":", "/", or "\"). If there are no
registered custom actions,
the value
undefined
348
Chapter 12: ActionScript Dictionary
The name of the custom action definition to install.
The text of the XML definition to install.
if an error occurs during installation; otherwise, a value of
false
returns a zero-length array. If an error occurs,
list()
.
customXMLDefinition
, it is overwritten.
customActionsName
is
true
customActionsName
.
returns
list()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents