I have a main flash file which has 2 blank container mc’s one loads the external navigation swf, the other loads the external content swf. I have another invisible mc off the main stage which contains the actionscript transition for the page content.
When I press a button on the navigation is sets a variable _global.newpage it then tells the transition to go to the frame “fade out” where I have this script…
if (this._parent.pagecontent._alpha>=1) {
this.gotoAndPlay("fadeout")
}
So once it has faded out completely, the movies goes on to this frame where it loads the _global.newpage variable & should set the alpha of the page to 100%…
I have replaced the transition mc in my file, and put the code into all the other buttons & now I have to double click the other buttons for the transition to happen! Any ideas? Sorry to be a pain!!!
Here are the fla’s. I think the bug was in transition mc, the delete onEnterFrame… Now, after the pic has loaded, it goes back to frame 1, when it’s called the enterframe exists again:)
Also changed the AS in navigation.fla, it’s all commented, if you have question, just ask;)
Learning actionscript takes some time, but you’ll find great examples/tuts here on kirupa (and off course other sites/forums) which will let you learn it quickly;)