flex-issues mailing list archives

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

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

Kiran Kumar Potnuru commented on FLEX-34002:
--------------------------------------------

I don't know apache flex does not load rsls by default.Please let me know how can I configure.

when ever I am using  -external-library-path+="sample.swc" in sub application,sub application
itself not working.

mxmlc -warnings=false  -external-library-path+="sample.swc" -theme+=${flexlib}/themes/Halo/halo.swc
PCO_1_9.mxml -output="child.swf"

I am using including libraries its working fine.

For main application I am compiling like this.
mxmlc -warnings=false -runtime-shared-libraries=sample.swf -theme+=${flexlib}/themes/Halo/halo.swc
Sample1.mxml -output="Sample1.swf"

> 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