I use this syntax to embed the swf: http://pastebin.com/qWkGF9bW
then I'll do something like
var swfobj = document.getElementById("swfobj");
alert(swfobj.doSomething)
which will print out something like:
function doSomething() {
[native code]
}
I assume this means the function exists, however I get this error when
I try to call the method swfobj.doSomething(true):
Error calling method on NPObject!
What does this mean? Does it have anything to do with
allowscriptaccess? Is it possible that this is happening because of
something I've done wrong on the javascript side of things?
--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.