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

loading css style at runtime for window recevies Error #1006: regenerateStyleCache is not a function.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Window
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. compile, run attached test file
      2. when the app is launched, click "load css style" button on windowedApplication
      3.

      Actual Results:
      receives an error:

      TypeError: Error #1006: regenerateStyleCache is not a function.
      at mx.styles::StyleManagerImpl/styleDeclarationsChanged()
      at MethodInfo-4312()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfoProxy/moduleEventHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfo/readyHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::FlexModuleFactory/update()
      at mx.core::FlexModuleFactory/timerHandler()
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Expected Results:

      no error, style should be applied, UI will be same(as same style is applied, I simplify the test file, adding button, label, dropdown list, textarea, it will show the change better, expect no style differences with the changes).

      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: