Hi!
I have a problem with loading fading out menu content (website) animation, after clicking the button, before loading animation that i need.
That sound confusing. What i would like to do is: lets say were on my HOME webpage and i would like to go to PORTFOLIO, so what i need is:
click PORTFOLIO button - fade out HOME content area - load PORTFOLIO content area.
Ive seen post with the same problem and did everything that was advised so on every last frame of my fading MyMC:
stop();
if (_root.page=="home") {
this.gotoAndPlay ("homeIn");
}
if (_root.page=="portfolio") {
this.gotoAndPlay ("portfolioIn");
}
and on every button:
on (press)
{
_root.page="home"; //or "portfolio"
MyMC.play();
}
It doesn't work. Can the problem be my MC, because i use the same MC (MyMC) for content area that is fading out as well as loading, only with different type of motion tween.
Oh yeah, should my "page" variable be defined enywhere else besides the buttons?
Appreciate any help,
Aga





Bookmarks