ExternalInterface::Callback

ExternalInterface::Callback
virtual void Callback(Movie* pmovieView, const char* methodName, const Value* args, unsigned argCount) = 0;
Description

ExternalInterface::Callback is a callback for ExternalInterface.call. The value, returned by this callback will be returned by 'ExternalInterface.call' method. To return a value, use Movie::SetExternalInterfaceRetVal method. ExternalInterface::Callback is invoked when ActionScript invokes "flash.external.ExternalInterface.call".

Parameters
Parameters 
Description 
Movie* pmovieView 
A pointer to a Movie instance. 
const char* methodName 
The name of the method used by ExternalInterface.call. May be NULL, if ExternalInterface is called without parameter. 
const Value* args 
Arguments passed to the callback as Value. May be NULL, if argCount is 0. 
unsigned argCount 
The number of arguments passed.