Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20413

[MarshallPlan] Loading and unloading Spark applications into a SWFLoader causes a RTE when you switch to and from compatibililty mode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • Adobe Flex SDK Previous
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Load the bugfile.
      2. Press the button "trusted" to load a trusted child swf (loadForCompatibility=false)
      3.Press the button "compatible" to load a compatible child swf (loadForCompatibility=true)
      4. Repeat step #2

      Actual Results: RTE
      TypeError: Error #1034: Type Coercion failed: cannot convert spark.components::Scroller@b28c3c1 to spark.components.Scroller.
      at spark.components.supportClasses::SkinnableComponent/findSkinParts()
      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 MP_SparkControls_Child/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 RTE

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: