There is a way to this as a hack. No good way though. The hack way is to do a try catch, throw an error in the try and parse the error message in the catch. Only works with the debug player I believe.
On Tue, Jul 28, 2009 at 11:51 AM, Cor <c...@chello.nl> wrote: > Question: Is there a simple way to dynamically capture and display the name > of the currently executing function in the Output panel? > > Sample function: > > function doStuff ():void { > trace ("Function: doStuff()" ); > //run doStuff code... > } > > Without hardcoding the name of the function in the trace statement shown > above, can I somehow display the function name dynamically when it runs? > I've never seen this done but thought I'd ask anyway > > TIA > Cor > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders