SetReturnValue
Syntax
void SetReturnValue(string returnValue);
Description
The SetReturnValue method is used in response to the OnFlashCall event.
When a Flash movie invokes a function in the host application using ExternalInterface.call
, the application receives the request XML string through OnFlashCall. To return a result back to the Flash movie, call SetReturnValue with the appropriate value.
Supported Flash versions
Flash version | Status |
---|---|
3 | ✕ |
4 | ✕ |
5 | ✕ |
6 | ✕ |
7 | ✕ |
8 | ✓ |
9 | ✓ |
10 | ✓ |
11 | ✓ |
12+ | ✓ |