Select to view content in your preferred language

RE:  Weather Underground Widget Error

629
3
08-22-2011 08:36 PM
DonaldCatanzaro
Emerging Contributor
Hi All,

I tried to put the Weather Underground widget in my SFV and I am getting the following error:

Description Resource Path Location Type
1061: Call to a possibly undefined method addListener through a reference with static type Class. WUndergroundWidget.mxml /NGFlexViewer/src/widgets/WeatherUnderground line 235 Flex Problem


Line 235 in the widget states:  AppEvent.addListener(AppEvent.DATA_PUBLISH, sharedDataUpdated);


The error prevents the widget from functioning.  All I did was download the zip file, unzip it, put the uncompiled folder in my src, update the Flex Modules, add the text to the config.xml.  Any ideas ?

Thanks in advance
Tags (2)
0 Kudos
3 Replies
DonaldCatanzaro
Emerging Contributor
Hi All,

Upon further review it also appears that there is no SWF file in the directory C:\Inetpub\wwwroot\flexviewerdebug\widgets\WeatherUnderground so it appears to not compiling ?

-Don
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Don,

  Flex Viewer/Widget questions belong in the Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

It sounds like you missed this part of the readme.txt.

For the Uncompiled you need to copy the WeatherUnderground folder to src/widgets then
add WUndergroundWidget.mxml to your flex projects modules list
, and compile your
project as well as add the widget line above to your config.xml.
0 Kudos
DonaldCatanzaro
Emerging Contributor
0 Kudos