Good morning, I need Help. I'm having problems with the implementation of ESRI map. I have a modular Flex application, composed of several SWF, which integrate at runtime. One, it is not the principal, is responsible for the map. However, when I try to render the map, the exception below is thrown:
Error: Não é possível localizar capa para AccwebMain.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.modulerLoader.FlexLoader79.instance166.Principal80.ApplicationSkin283._ApplicationSkin_Group1.contentGroup.containerPrincipal.telaPrincipal.Group289.visualiz1.SkinnableContainerSkin350.contentGroup.Group352.areaTrabalho.BorderContainerSkin356.Group357.areaMapa.tabDesktop.canvasMapa.Map655.areaTrabalho.BorderContainerSkin658.Group659.hbMap.EsriFlexMap1380.Map1385.StaticLayer1389.ScaleBar1393.
at spark.components.supportClasses::SkinnableComponent/attachSkin()
at com.esri.ags.components::ScaleBar/attachSkin()
at spark.components.supportClasses::SkinnableComponent/validateSkinChange()
at spark.components.supportClasses::SkinnableComponent/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::UIComponent/addChildAt()
at spark.components::Group/addDisplayObjectToDisplayList()
at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
at spark.components::Group/addElementAt()
at spark.components::Group/addElement()
at com.esri.ags::Map/commitScaleBarProperties()
at com.esri.ags::Map/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
The error happened with the Scale Bar, however, do not need it. But I could not remove it before rendering.Can someone help me?