flash externalinterface
I need to get the url wherever my Flash widget gets hosted. Using a call through Externalinterface("window.location.href.toString"), but the develop area catches this as a security violation error. And testing from the developer area, I get null returned instead of the url. Any advise?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi Greg,
All flash widgets will receive a parameter called 'widget_location' which is the URL of the page that the widget is installed on. In regards to you using ExternalInterface in your widget, it won't work regardless of where the widget gets installed. The reason is that we add the parameter allowScriptAccess=never to the flash code snippet so that use of the ExternalInterface class is disabled (for security purposes.)
Omar
Loading Profile...




