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

loading css style at runtime for window recevies Error #1069:setStyle not found on mx.styles.CSSStyleDeclaration and there is no default value.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • Runtime CSS
    • 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
      ->receive following:

      ReferenceError: Error #1069: Property http://www.adobe.com/2006/flex/mx/internal::setStyle not found on mx.styles.CSSStyleDeclaration and there is no default value.
      at MyWindowStyle2()
      at MyWindowStyle2_mx_core_FlexModuleFactory/create()
      at MethodInfo-4227()
      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:

      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: