Return to bugs.adobe.com
  Log In View a printable version of the current page.  
  Tips for writing a good Bug Report and Bug Report Standards

Flex Wiki Home

A Model Bug Report - Reproduction Steps

Steps to reproduce:

1. Create a simple TitleWindow component with one state the changes the 'height' property and one Resize transition defined

<states>
    <State name="small">
      <SetProperty name="height" value="100"/>
    </State>
  </states>

<transitions>
    <Transition fromState="*" toState="*">
      <Resize target="{this}" duration="1000"/>
    </Transition>
  </transitions>

2. with the attached example, change the size of the left titleWindow using the comboBox

3. notice that every ~5th resize the transition flashes the component in the final state
just prior to running the transition itself. doesn't happen every time, but it's obvious when it does happen.

Actual Results: transition flashes target state prior to executing

Expected Results: transition should display smoothly

Workaround (if any): If the SetProperty is removed from the State and each state change
is explicitly coded into the transitions, it works as expected. But this is too much extra code to be a scalable solution.

<states>
    <State name="small">
    </State>
  </states>

<transitions>
    <Transition fromState="small" toState="">
      <Resize target="{ this }" duration="1000" heightBy="500"/>
    </Transition>
    <Transition fromState="" toState="small">
      <Resize target="{ this }" duration="1000" heightBy="-500"/>
    </Transition>
  </transitions>
When including source code in your bug report...

Remember - don't submit proprietary or confidential source code in your bug report.

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.5 Build:#708)

Adobe Terms of Service
    Adobe Privacy Policy