Select to view content in your preferred language

flex widget error "not implemented"

472
1
05-26-2010 07:17 PM
jamieeyre
Deactivated User
My widget always throws a "method not implemented" error.

I am creating a flex widget in a separate project from the flexviewer project. I have been able to create the .swf file in my project without any problems. I then copy it to the bin-debug folder of the flexviewer project, and add the entry in the config.xml file, but when i try to run the widget i always get the following error:

method not implemented com.esri.solutions.flexviewer::IBaseWidget/com.esri.solutions.flexviewer:IBaseWidget::setPreload()
   over-binding 0 in com.esri.solutions.flexviewer::BaseWidget
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.solutions.flexviewer::WidgetManagerDocked/widgetReadyHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()


I am using the following:

Flex Builder 3
Flex SDK 3.4
agslib-1.3-2009-10-31.swc
FlexViewer-1.0.swc

does anyone know what i could be doing wrong?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Jamie,

     Sounds like your widget and your SFV project were built using a different SDK or AGS API. You should add the widget to your SFV project and build both of them together.
0 Kudos