/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function methodToCall():void { calledMethod(); } function calledMethod():void { try { throw new Error("my error"); } catch (e:Error) { trace(e.getStackTrace()); } } methodToCall();
URL: http://blog.comtaste.com/2008/11/how_to_know_who_called_my_acti.html