Anyway to trace who calleded the function?

I have a function firing 2 times in a row when it should only be firing once. Is there a way to have a function trace the callee.

thankx
--steve...
juststeveAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
stef4sConnect With a Mentor Commented:
I think in Flash MX there is a way. something .caller. What you can do is this (Flash 5).

add another parameter to the function ie


function blah(par,par2){
trace(par2)

}


now when calling the function you can have the caller ID itself.

blah(mypar,"its me");

or
blah(thisvar,"its the other guy")
0
All Courses

From novice to tech pro — start learning today.