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

moduleManager loading a module containing a TitleWindow receive runtime error: Error #2004: One of the parameters is invalid.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1.compile SimpleTitleWindow.mxml(it is a TitleWindow component)
      2.compile TitleWindowModule.mxml(it is a Module which creates a TitleWindow at creationComplete)
      3.compile ModuleLoaderApp.mxml(it is a moduleLoader which loads TitleWindowModule through moduleManager)
      4. run ModuleLoaderApp.swf

      Actual Results:
      receive a runtime error:
      ArgumentError: Error #2004: One of the parameters is invalid.
      at flash.display::Graphics/drawRect()
      at spark.components.supportClasses::TextBase/updateDisplayList()
      at mx.core::UIComponent/validateDisplayList()
      at mx.managers::LayoutManager/validateDisplayList()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()

      Expected Results:
      no error, the TitleWindow should be a child of VBox.

      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: