On 2/18/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote:
var callback:Function = mx.utils.Delegate.create ( _root, nextFrame ); anyOtherObject.func = function(){ callback () }; anyOtherObject.func ();
You can combine the first two lines (and simplify the second) to just: anyOtherObj.func = mx.utils.Delegate.create(_root, nextFrame); No need for the inline function. -- Mike Keesey _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com