I am using ExtrernalInterface.call(javascript_function, args);
to call javascript functions from Flex. But this fails in case of browsers that have javascript disabled.
Is there any other way to call javascript functions from flex?
I am using ExtrernalInterface.call(javascript_function, args);
to call javascript functions from Flex. But this fails in case of browsers that have javascript disabled.
Is there any other way to call javascript functions from flex?
If JavaScript is disabled in the browser then there is no way to invoke it from Flex. In fact, if you were to find a way it would be a security hole.
Unfortunately, no. ExternalInterface is the only way to communicate with JavaScript.
What do you mean, in browse, javascript are disable
Prior to AS3, fscommand
was used to call javascript functions from flash. But no matter what method you use to call javascript, it won't work if the user has disabled javascript in the browser. Because javascript has been disabled in that browser to begin with.