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

Scroller containing Group causes blank display IF Group has an id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Scroller
    • None
    • Affected OS(s): Windows
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      The following application shows "Hello..." on one line, and "...world" on the next. However, add id="contentGroup" to the second Group, and nothing displays, not even "Hello...". The window will be blank even if the visible property of the first Group is set to false.

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application
      backgroundColor="0x00ff00"
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx">

      <s:Label
      x="100" y="100"
      fontSize="24"
      text="Hello..."/>

      <s:Group id="scrollerParentGroup"
      visible="true">

      <s:Scroller>

      <!-- add id="contentGroup" to the following, and the whole screen is blank-->
      <s:Group>

      <s:Label
      x="100" y="150"
      fontSize="24"
      text="...world"/>

      </s:Group>
      </s:Scroller>
      </s:Group>

      </s:Application>

      Expected Results:

      "Hello..." and "...world" should both be displayed, even if the second group has an id. However, if it's not legal to set the id of a Group inside a Scroller, then Flex should throw an error.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: