Return to Snippet

Revision: 40654
at February 4, 2011 21:49 by adrianparr


Initial Code
function methodToCall():void
{
    calledMethod();
}

function calledMethod():void
{
    try
    {
        throw new Error("my error");
    }
    catch (e:Error)
    {
        trace(e.getStackTrace());
    }
}

methodToCall();

Initial URL
http://blog.comtaste.com/2008/11/how_to_know_who_called_my_acti.html

Initial Description

                                

Initial Title
AS3 Who called my actionscript method?

Initial Tags
error

Initial Language
ActionScript 3