| Package | adobe.utils |
| Class | public final class CustomActions |
| Inheritance | CustomActions Object |
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 Universal Description, Discovery and Integration (UDDI) repository and download web services into the Actions toolbox.
| Property | Defined by | ||
|---|---|---|---|
| actionsList : Array
[static][read-only]
Returns an Array object containing the names of all the custom actions that are registered
with the Flash authoring tool.
| CustomActions | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Function | Defined by | ||
|---|---|---|---|
|
[static]
Reads the contents of the custom action XML definition file named
name. | CustomActions | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
|
[static]
Installs a new custom action XML definition file indicated by the
name parameter. | CustomActions | ||
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
|
[static]
Removes the Custom Actions XML definition file named
name. | CustomActions | ||
![]() |
Returns the primitive value of the specified object.
| Object | |
actionsList:Array [read-only]actionsList()
returns a zero-length array. If an error occurs, actionsList() returns the value
undefined.
public static function get actionsList():Array
public static function getActions(name:String):String
name.
The name of the definition file must be a simple filename, without the .xml file extension, and without any directory separators (':', '/' or '\').
If the definition file specified by the name cannot be found, a value of undefined is returned. If the custom action XML definition specified by the name parameter is located, it is read in its entirety and returned as a string.
name:String — The name of the custom action definition to retrieve.
|
String —
If the custom action XML definition is located, returns a string; otherwise, returns undefined.
|
public static function installActions(name:String, data:String):void
name parameter. The contents of the file is specified
by the string data.
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
name, it is overwritten.
If the Configuration/ActionsPanel/CustomActions directory does not exist when this method is invoked, the directory is created.
Parametersname:String — The name of the custom action definition to install.
|
|
data:String — The text of the XML definition to install.
|
public static function uninstallActions(name:String):void
name.
The name of the definition file must be a simple filename, without the .xml file extension, and without any directory separators (':', '/' or '\').
Parametersname:String — The name of the custom action definition to uninstall.
|
| installActions() |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/flashauthoringpreview/adobe/utils/CustomActions.html