Posted By

Bonky on 06/12/07


Tagged

function scope Delegate


Versions (?)

Delegate


 / Published in: ActionScript
 

Use Delegate to run functions in the scope you specify.

  1. import mx.utils.Delegate;
  2. this.contentLoaderListener.onLoadInit = Delegate.create(this, this.onContentInit);
  3. function onContentInit(){}

Report this snippet  

You need to login to post a comment.