Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. compile and run following test:
<?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/halo" minWidth=
"1024" minHeight="768">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) h
ere -->
</fx:Declarations>
<s:Slider id="slider2" minimum="100" maximum="600" />
</s:Application>
2.
3.
Actual Results:
receive runtime error:
Error: Skin for slider_issue0.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.slider2 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 mx.core::UIComponent/initialize()
at spark.components::Application/initialize()
at slider_issue/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()
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()
Expected Results:
no such error
Workaround (if any):