Can someone tell me why my pages fade in the first time through, but then doesnt wait when called again?
function fadePageIn () {
var fadespeed = 5;
function wait() {
_root.pages.onEnterFrame = function() {
if (_root.pages._alpha<100) {
_root.pages._alpha += fadespeed;
}
}
clearInterval(myTimer);
}
myTimer = setInterval(wait, 2000);
};
Thanks!
Rich