User Guide

CustomActions class 231
CustomActions class
Availability
Flash Player 6.
Description
The methods of the CustomActions class allow a SWF file playing in the Flash authoring tool to
manage any custom actions that are registered with the authoring tool. A SWF file can install and
uninstall custom actions, retrieve the XML definition of a custom action, and retrieve the list of
registered custom actions.
You can use these methods to build SWF files that are extensions of the Flash authoring tool.
Such an extension could, for example, use the Flash Application Protocol to navigate a UDDI
repository and download web services into the Actions toolbox.
Method summary for the CustomActions class
Method Description
CustomActions.get()
Reads the contents of a custom action XML definition file.
CustomActions.install()
Installs a new custom action XML definition file.
CustomActions.list()
Returns a list of all registered custom actions.
CustomActions.uninstall()
Removes a custom action XML definition file.
CHAPTER 2
ActionScript Language Reference