( to finish my post, which I posted to soon, by mistake... )
I've noticed that if the other popup instances have their visible property set to false, everything is fine, so it really has to do with the rendering.
Is the only way around this is to create a buffer image of what's underneath the moving window and somehow place that image under it while it moves ?
(this could be triggered on the titleBar mouseDown event, before dragging starts). I use to do that in Java ( with two threads ) but I dunno how to do it in AS.
I hope their is a simpler way, like pretending the other windows are invisible, even if they are not ....
Thanks in advance for any clue !
Use the profiler to see what is taking all the time. It might just be a factor of how many display objects are on the screen. You can try replacing minimized popups with a single display object so all of its controls aren't still on the display list.
Flex SDK Developer
Adobe Systems Inc.
Ok ..., I found just the little trick I was looking for: properties mouseEnabled and mouseChildren. That does it ...
If I set these properties to false for let say, the first 2 windows, than I can drag a third window over them, nice and smooth ... just as if the first 2 window were invisible.
It seems that what's eating the CPU is the mouseListeners of the windows plus all the mouseListeners of all the many children components in each window. Well ..., I'll remember that one for when I want to improve performance ...
So all I have to do now, is: On the titleBar mouseDown event of the window, I set these properties to false for all the other window instances. On mouseUp, I set them back to true.