Although the security settings are set up in the actionscript to allow script access from any domain, I found that adding the allowScriptAccess param to the flash object was the only way I was able to use the flash-javascript interface.
Prior to adding it, the capture method was never accessible from javascript, and the _register function would die before actually defining the public api and calling the load callback.
I might be missing something, but wanted to suggest the fix.
Although the security settings are set up in the actionscript to allow script access from any domain, I found that adding the allowScriptAccess param to the flash object was the only way I was able to use the flash-javascript interface. Prior to adding it, the
capture
method was never accessible from javascript, and the_register
function would die before actually defining the public api and calling the load callback.I might be missing something, but wanted to suggest the fix.