TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::VSlider@cd68c29 to spark.components.supportClasses.SliderBase. at spark.components.supportClasses::SkinnableComponent/skin_propertyChangeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at widgets.Navigation::NavigationSkin/set slider() at widgets.Navigation::NavigationSkin/_NavigationSkin_VSlider1_i() at mx.core::DeferredInstanceFromFunction/getInstance() at mx.states::AddItems/createInstance() at mx.states::AddItems/initialize() at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::initialize() at mx.core::UIComponent/initializeState() at mx.core::UIComponent/commitCurrentState() at mx.core::UIComponent/commitProperties() at spark.components.supportClasses::GroupBase/commitProperties() at spark.components::Group/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback()
I tried to point my old widget (2.3 versin) to new flex API 2.4 --I add new swc file to the lib folder and delete the old one. But it throws ActionScript errors as the following: I was wondering, is it possible to let 2.3 widgets pointing to Flex API 2.4? Thanks!TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::VSlider@cd68c29 to spark.components.supportClasses.SliderBase. at spark.components.supportClasses::SkinnableComponent/skin_propertyChangeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at widgets.Navigation::NavigationSkin/set slider() at widgets.Navigation::NavigationSkin/_NavigationSkin_VSlider1_i() at mx.core::DeferredInstanceFromFunction/getInstance() at mx.states::AddItems/createInstance() at mx.states::AddItems/initialize() at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::initialize() at mx.core::UIComponent/initializeState() at mx.core::UIComponent/commitCurrentState() at mx.core::UIComponent/commitProperties() at spark.components.supportClasses::GroupBase/commitProperties() at spark.components::Group/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback()
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.