0 Replies Latest reply on Jun 26, 2008 2:30 AM by dodgetigger

    ExternalInterface with multiple swfs on page

    dodgetigger
      I need to have several swfs on one html page, all using ExternalInterface to communicate with js.
      Some of the swfs might be exactly the same swf, but I need to know which one on the page was calling the javascript function.

      Is there any easy way to do it?

      The thing I come up with is to give every swf an id in the pages onload function (Like in the attached code).
      But maybe there is an easier way. Can I get the id of the object tag in the html dom from flash directly?