ViewerContainer.addEventListener(AppEvent.DATA_PUBLISH, sharedDataUpdated);
AppEvent.addListenerchange it to
ViewerContainer.addEventListener
http://gis.calhouncounty.org/FlexViewer2.5/index.html?config=config-weather.xml
<configuration> <apquery>http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=[value]</apquery> <obquery>http://api.wunderground.com/auto/wui/geo/GeoLookupXML/index.xml?query=[value]</obquery> <pwsquery>http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=[value]</pwsquery> <forcastquery>http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=[value]</forcastquery> <zoomscale>10000</zoomscale> <geometryservice>http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer</geometryservice> <!-- valid values are f for Fahrenheit and c for Celsius --> <tempdefault>c</tempdefault> <!-- enter either the zip code, airport code, or city and state to enter in the search textbox when widget is opened. --> <defaultsearch>CYYG</defaultsearch> <!-- if a defaultsearch value is entered do you want to automatically search for it? --> <autosearchdefault>true</autosearchdefault> <!-- if you do not want to allow the user to change the search then set to false. --> <showsearchoption>true</showsearchoption> <!-- if you want to show personal weather station observations by default. --> <showpwsdefault>true</showpwsdefault> <!-- if you want to show current temp at the observations along with the weather condition icon by default. --> <showtempsdefault>true</showtempsdefault> <labels> <loadinglabel1>Retrieving List Of Weather Stations...</loadinglabel1> <loadinglabel2>Retrieving Airport Weather Observations...</loadinglabel2> <loadinglabel3>Retrieving Personal Weather Observations...</loadinglabel3> </labels> </configuration>