I want to know how to do the following:
I have a website and when you click on a button a box slides in from the left and it says loading then it shows the stuff. On the top there is a home button. When someone clicks the home button it just straight away goes to home.
Is there a way to tell it to fade whatever is there on the screen when you press home. Because it looks very bad when it just straight away goes to the Home page.
I tried putting a tween on the end where it shows the box going out but it would be silly if someone clickes on home while it says loading and then it just goes to a frame where that thing is going out. So basically I need to knnow a way of fading whatever there is on the screen.
Thanks