Flash.CallFunction

string Flash.CallFunction (

string ObjectName,

string XMLRequest )

Description

Calls a Flash actionscript function using Flash's external API (ExternalInterface class) and returns an XML formatted string result.

Note: This action requires Flash version 8.0 or later to be installed on the target system.

Parameters

ObjectName

(string) The name of the Flash object.

XMLRequest

(string) The XML formatted string containing the Flash actionscript function to call. See Flash's actionscript documentation for more information.

Example: "<invoke name=\"functionName\" returntype=\"xml\"><arguments><string>My sample argument</string></arguments></invoke>"

Returns

(string) The XML formatted string returned from the Flash actionscript function. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions