I'm trying to call javascript function from my swf (action script). I'm using ExternalInterface.call
class for this.
In my swf file, I add following code:
ExternalInterface.call("fnname","welcome");
In my html page, I add following js function:
<script>
function fnname(a)
{
alert(a);
}
</script>
When i check whether function is call or not on swf file, it shows following error message on swf file.
"Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. "
Any solutions?