How to identify which 3rd party flash object called a Javascript function? -


i have page multiple flash objects written third party , can't changed. call js function don't seem pass identifying parameters. there way determine inside function flash object called it?

this may not cross-browser compatible, , in end may find "flash" calling function, rather specific movie, way can think of:

function myfunction() {    if (myfunction.caller) {       console.log("this function's caller " + myfunction.caller);     }      else {       console.log("this function called directly");     }     /* rest of function */ } 

this should run in firefox , log console.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -