Revision: 14827
Revision: 14827
Author: dloverin@adobe.com
Date: 2010-03-17 12:53:58 -0700 (Wed, 17 Mar 2010)
Log Message:
***********
Fix RTE after re-skinning TitleBar
Re-skinning an AIR Window caused the titleBar part to eventually RTE after minimizing and restoring the window. The problem was caused by the titleBar listening to its parent window for display state changes. When the Window was reskinned the old titlebar was still listening to same window although the window was not its parent anymore. This caused the titleBar to find its window was now null and RTE.
The fix is for the titleBar to listen to the window for removed part events to it can remove its listener on the window.
QE notes: None
Doc notes: None
Bugs: SDK-25875
Reviewer: Alex
Tests run: check in tests, AIR Window
Is noteworthy for integration: No
Ticket Links:
***********
http://bugs.adobe.com/jira/browse/SDK-25875
Modified Paths:
**************
flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/windowClasses/Tit leBar.as