CallFunction

Syntax

string CallFunction(string request);

Description

Executes an ActionScript function in the Flash movie. The method takes an XML string in <invoke> format that specifies the function name and arguments, calls the corresponding ActionScript function inside the SWF, and returns the result as XML. This provides synchronous communication with the movie, unlike fscommand, which does not return values.

Supported Flash versions

Flash versionStatus
3
4
5
6
7
8
9
10
11
12+