-
Here is my take at z-depth ordering:
[swf height="400" width="550" background=#FFFFFF]http://www.triadis.net/public/flash5/alex_windows.swf[/swf]
Here's the FLA:
http://www.triadis.net/public/flash5/alex_windows.fla
Let me know if you have any Questions.
-
You might want to check out the example I have up at
http://www.figleaf.com/development/flash5/
If you mess with yours for a bit you see that you have some funky redraw problems. Mine adjusts this by "bubbling" the selected window to the top rather than directly swapping it up.
-
Yeah I saw that one. I'm on the Flash Coder list. I made this one cause the code isn't as hefty. Plus I find it easier to manage content this way.
But yours does rock though!
The redraw/refresh thing is a bummer though.
-
Refresh/Redraw fix
I used the same code and added a work-around for the refresh/redraw issue.
[swf width=550 height=400 background=#FFFFFF]http://www.triadis.net/public/flash5/alex_windows_refreshfix.swf[/swf]
Now they swap positions fine. They just don't behave the same way as yours. It works though :D
The FLA:
http://www.triadis.net/public/flash5...refreshfix.fla
-
I honestly don't get it. The first example looked fine to me, and when I clicked on a window it came to the top leaving the others in place.
The last example changes position of other windows when you click on a window. is this something just I see?