Reputation: 2604
Upvotes: 0
Views: 250
Reputation: 14221
You can listen to systemManager
's resize
event and then iterate all the pop ups the following way (in resize handler):
for (var i:int = 0; i < systemManager.popUpChildren.numChildren; i++)
{
var popup:DisplayObject = systemManager.popUpChildren. getChildAt(i);
if (popup is TitleWindow)
{
var window:TitleWindow = TitleWindow(popup);
// Your move operations here
}
}
Upvotes: 2