Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Call to setLayoutMAtrix() with matrix that changes the x/y position from within the layout will cause an inifiite loop.
Repro steps:
1. Compile and run the attached file
2. Click the button to set the layout matrix of the objects
Result:
The parent is invalidated and the red rectangle expands.
Expected:
The parent is not invalidates, since the invalidateLayout parameter was false. The red rectangle should not change.
Work-around:
call move(m.tx, m.ty) on the UIComponent before setting the matrix m.