Functions do not have a name. Variables are what can have a name (and
store a reference to a Function object, and unlimited variables can
hold reference to the same object). But a function doesn't know
the name of the variable it was referred through.

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:    Mendelsohn, Michael <[EMAIL PROTECTED]>
To:      [email protected] <[email protected]>
Date:    Monday, July 16, 2007, 7:04:52 PM
Subject: [Flashcoders] Arguments.callee._name?
--====----====----====----====----====----====----====----====----====----===--
Hi list...

Is it possible somewhere to get the name of the function being called,
i.e. return "onPress" or "onRelease"?

- MM
_______________________________________________
[email protected]
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
[email protected]
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

Reply via email to