Flash Player 6 (6.0 79.0).
Flash MX Professional 2004.
Delegate.create(scopeObject,function)
scopeObject A reference to an object. This is the scope in which to run the function.
function A reference to a function.
Method (static); allows you to delegate events to specific scopes and functions. Use the following syntax:
import mx.utils.Delegate;compInstance.addEventListener("eventName", Delegate.create(scopeObject,function));
The scopeObject parameter specifies the scope in which the specified function is called.
For examples of Delegate.create(), see Delegating events.
EventDispatcher.addEventListener()
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00002401.html
Comments
iszzz said on Aug 23, 2004 at 8:17 AM :