flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34002) Adding combobox in module and load with external library,throwing run time error
Date Tue, 17 Dec 2013 18:02:07 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850724#comment-13850724
] 

Alex Harui commented on FLEX-34002:
-----------------------------------

Apache Flex does not use RSLs by default.  Are you sure you are configured to use them?

Does the sub-application run fine by itself?

What happens if you don't use RSLs and statically link everything but the library?

> 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
>            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.4#6159)

Mime
View raw message