# Playing outro's between frames

**URL:** https://forum.kirupa.com/t/playing-outros-between-frames/274817
**Category:** flash
**Created:** [November 5, 2008, 11:18am UTC](https://forum.kirupa.com/t/playing-outros-between-frames/274817 "2008-11-05T11:18:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wilsontc](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@wilsontc](https://forum.kirupa.com/u/wilsontc)
#### Post date: [November 5, 2008, 11:18am UTC](https://forum.kirupa.com/t/playing-outros-between-frames/274817/1 "2008-11-05T11:18:22Z")

</div>

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?
