I always manage to over think things and put to much code into my projects(ans you could see). You are so right to have the alpha changes to happen wheather the window is open or not. If its not open its not visible so it its not going to matter DUh. I knew I didn’t need so may if statments so thats why I posted and you have showing me the light. The old x variable for the swap depth was from kirupas tutorial so I didn’t want to mess with it but yor way is much safer to have that variable defined in the first frame. Again Big thanks to you this new code is just great.
I’m so sorry that the link didn’t work in the PM I sent. You really didn’t have to go throug the trouble of finding it on your own. You have went beyond the call of duty on this one. I would still love to see what you can come up with from the code. Thats if you still want to of course.
PS. Every one who has helped will get a big Thank you and mention on this project when I get it finished with out you guys an Kirupa I would be lost. Thank you so much:)