CustomActions


Object
    |
    +-CustomActions

public class CustomActions
extends Object

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.

Availability: ActionScript 1.0; Flash Player 6

Property summary

Properties inherited from class Object

constructor, __proto__, prototype, __resolve


Method summary

Modifiers

Signature

Description

static

get(name:String) : String

Reads the contents of the custom action XML definition file named name.

static

install(name:String, data:String) : Boolean

Installs a new custom action XML definition file indicated by the name parameter.

static

list() : Array

Returns an Array object containing the names of all the custom actions that are registered with the Flash authoring tool.

static

uninstall(name:String) : Boolean

Removes the Custom Actions XML definition file named name.

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch



Version 8

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00002123.html