Please help us fix a windowing integration bug in our Adobe Flex application.
All of the Flex windows (Application/Canvas/Panel/TitleWindow/etc) work fine individually when running in a browser (Firefox and Internet Explorer). Now we are trying to integrate all of the Windows together (less than 100 in all) and we are observing some pretty bizarre behavior - sometimes the window will load and other times the same window will not load. But the problem is not intermittent - it happens very often and we can usually force a window failure on demand.
A PowerPoint Presentation has been included that helps explain the problem (the zip file is corrupted so you can view the PowerPoint at this link):
[login to view URL]
## Deliverables
Please help us fix a windowing integration bug in our Adobe Flex application (full description of the problem).
All of the Flex windows (Application/Canvas/Panel/TitleWindow/etc) work fine individually when running in a browser (Firefox and Internet Explorer). Now we are trying to integrate all of the Windows together (less than 100 in all) and we are observing some pretty bizarre behavior - sometimes the window will load and other times the same window will not load. But the problem is not intermittent - it happens very often and we can usually force a window failure on demand.
When the window does not load we observe the CPU usage in Task Manager hitting the maximum, and we believe that the Flex Application has fallen into an endless race condition in which it is constantly resizing the components within the window (we randomly pause the application and usually find the stack doing something like this). When this happens the window's creationComplete event doesn't trigger and we cannot insert a breakpoint.
We make heavy use of constraintRows and constraintColumns and we are suspicious of them. We use a lot of Accordion's as well as the custom HAccordion from Flexlib, but we've had trouble positively identifying them as the culprit. Each window can get pretty buried in a deep hierarchy of windows, but it is not always the deepest windows that will fail to load.
We also implemented a suspicious custom component early on to handle system-wide ToolTips. It is old code and does some funky things, but when we commented it out the behavior didn't dramatically improve.
Our testing has been limited to the Debugger Flash Player, but we've tried both debug and release versions of the application.
A PowerPoint Presentation has been included that helps explain the problem but the zip file was corrupted so you can view the PowerPoint at this link:
[login to view URL]