Hello guys,
I’m trying to get some outro’s to play on my Flash pages. It’s a pretty standard fair: separate MC’s for nav and content on the stage. However, due to the scope of variables in AS3, vars in my content_mc can’t be seen by my nav_mc. At the moment I have a hackish, probably frowned upon approach of creating a public class with static vars to emulate global scope. However, I’d really like to learn the correct AS3 way.
The AS2 way I believe was to store the next & loaded page names in variables, play your out transition on the loaded page, and then, using the value stored in nextPage, play the intro to the next page. I guess an alternative would be to have everything in a single MoveClip, as then the variables would be within scope, but that would make things quite messy.
I can’t seem to find any AS3 tutorials on transitions between pages either! I know about the TransitionManager class, but I’m not trying to get PowerPoint type effects here
Any tips here? Does everyone know what I’m going on about?