[
https://issues.apache.org/jira/browse/FLEX-34002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Harui reassigned FLEX-34002:
---------------------------------
Assignee: Alex Harui
> Adding combobox in module and load with external library,throwing run time
> error
> ---------------------------------------------------------------------------------
>
> Key: FLEX-34002
> URL: https://issues.apache.org/jira/browse/FLEX-34002
> Project: Apache Flex
> Issue Type: Bug
> Components: Runtime Shared Libraries, Spark: ComboBox
> Reporter: Kiran Kumar Potnuru
> Assignee: Alex Harui
> Priority: Critical
>
> I am using run time shared libraries to load application.
> My library containing customcombobox extends saprk combobox.
> In module application, I am loading library as external library.
> whenever i am loading module in application I am getting run time error.
> whenever I am working with 4.6,i am not getting this issue.I am facing this
> issue with 4.10 and 4.11
> I observed in combobox,checkbox.radiobutton,datagrid,getting same error.
> Parent Application:
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx">
> <mx:SWFLoader source="child.swf" width="100%" height="100%"/>
> </s:Application>
> Child Application(child.swf):
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx" xmlns="*">
> <customcombobox />
> </s:Application>
> Librarycomponent(Custom Combobox):
> <?xml version="1.0" encoding="utf-8"?>
> <s:ComboBox xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%">
> </s:ComboBox>
> I am getting error like:
> Error: Skin for
> Sample1_0.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.SWFLoader5.FlexLoader6.instance12.PCO_1_9_8.ApplicationSkin9._ApplicationSkin_Group1.contentGroup.ComboBox12
> cannot be found.
> at spark.components.supportClasses::SkinnableComponent/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/setMXMLContent()
> at spark.components::Group/set mxmlContent()
> at spark.components::SkinnableContainer/set mxmlContent()
> at spark.components::SkinnableContainer/createDeferredContent()
> at spark.components::SkinnableContainer/createContentIfNeeded()
> at spark.components::SkinnableContainer/createChildren()
> at spark.components::Application/createChildren()
> at mx.core::UIComponent/initialize()
> at spark.components::Application/initialize()
> at PCO_1_9/initialize()
> at mx.managers.systemClasses::ChildManager/childAdded()
> at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()
> at mx.managers::SystemManager/initializeTopLevelWindow()
> at
> mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()
> at
> mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.preloaders::Preloader/timerHandler()
> at flash.utils::Timer/_timerDispatch()
> at flash.utils::Timer/tick()
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)