# \[Flash8\]global variables?

**URL:** <https://forum.kirupa.com/t/flash8-global-variables/216359>\
**Category:** flash\
**Created:** [February 15, 2007, 7:57pm UTC](https://forum.kirupa.com/t/flash8-global-variables/216359 "2007-02-15T19:57:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![T3zza](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@T3zza](https://forum.kirupa.com/u/T3zza)\
**Post date:** [February 15, 2007, 7:57pm UTC](https://forum.kirupa.com/t/flash8-global-variables/216359/1 "2007-02-15T19:57:01Z")

</div>

hey guys, ive run out of places to look so i thought it might be a good idea to ask here!  
right, im making a website and at the moment i have designed it so the buttons are in a seperate movie clip to the content. I have managed to get it displaying the correct page but i would like the page to scroll out before scrolling in the correct page. To do this i would have liked to have a global variable that stores a number depending on the page that is currently being veiwed so that it scrolls out the correct page… hope that makes sence! if not hopefully i can clarify! ( this is AS 2, just so you know! )

thanks in advance!
