Yes, that would work, but is there a way to do it automatically and elegantly?
On 10/8/06, Victor Gaudioso <[EMAIL PROTECTED]> wrote:
when you call the function have it pass itself in as a parameter: someFunc(this) function someFunc(caller:Object):Void{ trace(caller) } Therefore who ever calls the function will pass itself into the function. That should work. Victor
-- Ramon Miguel M. Tayag _______________________________________________ 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