Some error occurred. ExternalInterface doesn't work in Standalone player.

2091
3
03-01-2012 12:07 PM
XiaodiYu
New Contributor
Hi

I'm new to flexviewer. I just downloaded the source code and import into flex builder. Run. However, I got an error in my browser.

ViewerContainer:
Some error occurred. External Interface doesn't work in Standalone player.

Anyone knows what's wrong with it? Thanks!!!
Tags (2)
0 Kudos
3 Replies
JasonTaylor
New Contributor
Same here. Downloaded the viewer, pointed to the in the viewer folder index.html, and all the widgets are broken. The base map loads, but that's about it.
0 Kudos
YueGuan
New Contributor
Same error message, except the title of mine is "Application Error". Anyone has a solution?
0 Kudos
BryanPrice1
New Contributor II
Basically you're running it locally from the bin-debug folder e.g. C:\Users\Windows User\Adobe Flash Builder 4\ArcGISViewerForFlex\bin-debug\index.html and your web bowser doesn't like ExternalInterface call. To solve this problem you have 2 options either Export Release Build the application and then it will run properly as it is fully built or secondly and more preferably build it on your web server and run it from there. e.g. Right click on the FlexViewer Project -> Click Properties -> Click Flex Build Path.
In the Output folder textbox at bottom, specify the location of your web server where your Flex Viewer should be deployed, e.g. in case of IIS web server, C:\Inetpub\wwwroot\flexviewerdebug
In Output folder URL text box, specify the URL that matches with your output folder specified in last step, e.g. http://localhost/flexviewerdebug/
For more step by step instructions for setting up ArcViewer for Flex please see http://help.arcgis.com/en/webapps/flexviewer/help/index.html#//01m30000001q000000
0 Kudos