0 Replies Latest reply on Nov 30, 2009 3:39 AM by pak.daniel

    Why can't I call the function in the swf from the javascript?



      I have an html file that calls the function in swf file. In the swf file, I registered the function to be called using ExternalInterface.addCallback, as the book says.

      And I put this swf file in the html file using <object> tag and attempted to call the function using this object's id attribute.

      But every time to run this file, what I see is the error message such as "test1.show is not a function".

      Why is it?

      Please anyone help me. I am enclosing my work file. It's very simple one.

      Thank you.