![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 595](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_687537595.webp)
Function
595
Property summary
Properties inherited from class Object
Method summary
Methods inherited from class Object
apply (Function.apply method)
public apply(thisObject:Object, [argArray:Array]) : Void
Specifies the value of
thisObject
to be used within any function that ActionScript calls. This
method also specifies the parameters to be passed to any called function. Because
apply()
is a
method of the Function class, it is also a method of every Function object in ActionScript.
The parameters are specified as an Array object, unlike
Function.call()
, which specifies
parameters as a comma-delimited list. This is often useful when the number of parameters to
be passed is not known until the script actually executes.
Returns the value that the called function specifies as the return value.
Availability:
ActionScript 1.0; Flash Player 6
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Modifiers
Signature
Description
apply
(thisObject:Obj
ect,
[argArray:Array]) :
Void
Specifies the value of
thisObject
to be used within
any function that ActionScript calls.
call
(thisObject:Obje
ct,
[parameter1:Object])
: Object
Invokes the function represented by a Function
object.
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...