User Guide
About ActionScript 1 331
For more information, see Function.apply() in Flash ActionScript Language Reference.
To specify the object to which a function is applied using Function.apply():
• Use the following syntax:
myFunction.apply(thisObject, argumentsObject)
The method takes the following parameters:
■ The parameter thisObject specifies the object to which myFunction is applied.
■ The parameter argumentsObject defines an array whose elements are passed to
myFunction as parameters.