A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: z-depth ordering

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    341
    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.



  2. #2
    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.

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Posts
    341
    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.


  4. #4
    Senior Member
    Join Date
    Mar 2000
    Posts
    341

    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

    The FLA:
    http://www.triadis.net/public/flash5...refreshfix.fla



  5. #5
    Senior Member
    Join Date
    Aug 2000
    Posts
    139
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center