There is a hack to do this with a debug build and player only. Throw and
catch an Error. From that error object you can call error.getStackTrace().
You can then parse the stack trace. Again, this only works with the debug
player.
- Dan Freiman
On Jan 9, 2008 11:41 AM, Josh Tynjala <[EMAIL PROTECTED]> wrote:
> That is not possible.
>
> -Josh
>
>
> learner wrote:
>
> Hi all,
> Is there any way in which I get the caller function name. As in :
>
> class Aclass{
>
> instanceB:Bclass;
> function a(){
> instanceB.b(this)
> }
>
> }
>
> class Bclass{
> function b(Obj){
> // How to trace function name and class name
> }
> }
>
>
> I have traced out class name by getFullyQualifiedClassName(Obj) but how to
> trace function name ???
>
> Please somebody guide me .. its very important for me.
>
> Regards
>
>
>
>