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

mx:Container clipContent does not work properly when changed during run time in ActionScript

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • mx: General
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      Test-cases:

      • Test A:
      • open the ContainerClipBug app
      • click the "move left" button
      • [Error] you can see that only the top orange box will be clipped
      • Test B:
      • open the ContainerClipBug app
      • click the "move left" button
      • [Error] you can see that the top orange box will be clipped
      • click clipContent = false
      • click clipContent = true
      • both orange boxed will be clipped now
      • Test C:
      • open the ContainerClipBug app
      • click the "move left" button
      • [Error] you can see that the top orange box will be clipped
      • click clipContent = false
      • click clipContent = true
      • both orange boxed will be clipped now
      • click "move center"
      • click clipContent = false
      • click clipContent = true
      • click "move left"
      • [Error] you can see that both orange boxed are NOT clipped

      Actual Results:

      • clipping doesn't work as expected

      Expected Results:

      • clipping should work as expected!!!

      Workaround (if any):

      • init the orange box with a negative x / y value (see source code)
      • or init another box outside the view (with negative values)

      The http://bugs.adobe.com/jira/browse/SDK-14958 should be the same problem, but in the SDK-14958 is talking about Canvas and this is about Container! I know Canvas extends Container, so the problem already exists in the mx:Container and not only in the mx:Canvas!

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: