TypeError: Error #1007: Instantiation attempted on a non-constructor.
at com.esri.ags.symbols::SimpleFillSymbol/updateStyleImpl()[C:\checkout\flex_api3\api\src\com\esri\ags\symbols\SimpleFillSymbol.as:437]
at com.esri.ags.symbols::SimpleFillSymbol/set style()[C:\checkout\flex_api3\api\src\com\esri\ags\symbols\SimpleFillSymbol.as:245]
at mx.binding::Binding/defaultDestFunc()
at Function/http://adobe.com/AS3/2006/builtin::call()
at mx.binding::Binding/innerExecute()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Binding/wrapFunctionCall()
at mx.binding::Binding/execute()
at mx.binding::BindingManager$/executeBindings()
at widgets.SelectBufferFind::SelectBufferFindWidget/_SelectBufferFindWidget_SimpleFillSymbol1_i()[C:\Data\Development\Projects\Wairarapa Combined District Map Viewer\Wairarapa Internal Viewer\src\widgets\SelectBufferFind\SelectBufferFindWidget.mxml:48]
at widgets.SelectBufferFind::SelectBufferFindWidget()[C:\Data\Development\Projects\Wairarapa Combined District Map Viewer\Wairarapa Internal Viewer\src\widgets\SelectBufferFind\SelectBufferFindWidget.mxml:48]
at _SelectBufferFindWidget_mx_core_FlexModuleFactory/create()[_SelectBufferFindWidget_mx_core_FlexModuleFactory.as:51]
at com.esri.viewer.managers::WidgetManager/createWidget()[C:\Data\Development\Projects\Wairarapa Combined District Map Viewer\Wairarapa Internal Viewer\src\com\esri\viewer\managers\WidgetManager.mxml:1052]
at com.esri.viewer.managers::WidgetManager/runWidget()[C:\Data\Development\Projects\Wairarapa Combined District Map Viewer\Wairarapa Internal Viewer\src\com\esri\viewer\managers\WidgetManager.mxml:1133]
at com.esri.viewer.managers::WidgetManager/widgetReadyHandler()[C:\Data\Development\Projects\Wairarapa Combined District Map Viewer\Wairarapa Internal Viewer\src\com\esri\viewer\managers\WidgetManager.mxml:1201]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfo/readyHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::FlexModuleFactory/update()
at mx.core::FlexModuleFactory/docFrameHandler()
at mx.core::FlexModuleFactory/docFrameListener()
It appears to be something to do with the SimpleFillSymbol as if I remove the references to it out of the code it works, however it removes some of the necessary functions - it's a drawing tool. So I'm not quite sure what has changed between the Flex API 2.4 to 3.1 that may be causing an issue with this, any ideas?