Hi,
here is an as2 method, maybe it's portable:
http://objectpainters.com/blog/2007/07/16/argumentscallee_name/

greetz
JC

On Tue, Sep 16, 2008 at 1:24 PM, Jiri Heitlager
<[EMAIL PROTECTED]> wrote:
> Does somebody now if it is possible to get the name of a function from the
> scope of that function.
>
> function doSomething():void
> {
>        trace('the name of this function is ' , $$name$$)
> }
>
> Where the trace would be :
> the name of this function is doSomething
>
> In Java one has acces to stack traces, does AS3 provide acces to this?
>
> Jiri
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to