|
Ya… I guess I could workaround it by
hardcoding a variable in the function with the function name… that’s
easiest… I was hoping to create some generic
logging/tracing and error handling code… that would use a a variable for className.functionName. From:
On 6/30/06, Clint
Modien <[EMAIL PROTECTED]>
wrote: Ya… It doesn't show
me the method name… describeType(arguments.callee) I remember there used to
be an ASSetPropFlags hack to explose the function names in an obj…
but I didn't see an equivalent in AS3. From: [email protected]
[mailto:[email protected]]
On Behalf Of Ralf Bokelberg Though i don't think it works, have yout tried
flash.utils.describeType? On 6/29/06, Clint
Modien <
[EMAIL PROTECTED]> wrote: Anyway to do something like this in AS3? pacakge packageName { public class className { private function someFunction():void {
trace(arguments.callee) //??? } } } It doesn't return
"packageName.::className.someFunction" like I was hoping it
might… Is this possible?
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Grabbing the name of the currently executing... Jeremy Lu
- RE: [flexcoders] Grabbing the name of the currently exec... Clint Modien
- RE: [flexcoders] Grabbing the name of the currently exec... Gordon Smith


