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

Binding in filter throws RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • Spark: Group
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the application

      Actual Results:
      Get RTE

      ArgumentError: Error #2005: Parameter 0 is of the incorrect type. Should be type Filter.
      at flash.display::DisplayObject/set filters()
      at mx.core::UIComponent/set filters()[C:\src\flex_opensource\super_hero\frameworks\projects\framework\src\mx\core\UIComponent.as:3538]
      at mx.binding::Binding/defaultDestFunc()[C:\src\flex_opensource\super_hero\frameworks\projects\framework\src\mx\binding\Binding.as:270]
      at Function/http://adobe.com/AS3/2006/builtin::call()
      at mx.binding::Binding/innerExecute()[C:\src\flex_opensource\super_hero\frameworks\projects\framework\src\mx\binding\Binding.as:475]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.binding::Binding/wrapFunctionCall()[C:\src\flex_opensource\super_hero\frameworks\projects\framework\src\mx\binding\Binding.as:385]
      at mx.binding::Binding/execute()[C:\src\flex_opensource\super_hero\frameworks\projects\framework\src\mx\binding\Binding.as:321]

      Expected Results:
      No RTE

      Workaround (if any):

      Use creationComplete handler

      <s:Label id="l" text="test" creationComplete="l.filters = [gF]"/>

      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: