# Defining variables for buttons for next movie to load

**URL:** <https://forum.kirupa.com/t/defining-variables-for-buttons-for-next-movie-to-load/152976>\
**Category:** Uncategorized\
**Created:** [June 28, 2005, 2:57pm UTC](https://forum.kirupa.com/t/defining-variables-for-buttons-for-next-movie-to-load/152976 "2005-06-28T14:57:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [June 28, 2005, 2:57pm UTC](https://forum.kirupa.com/t/defining-variables-for-buttons-for-next-movie-to-load/152976/1 "2005-06-28T14:57:33Z")

</div>

Hi! 🙂

I´m planning to make a magazine in Flash, and I would have to load several pages of it in order. But I´d like to put the buttons \*forward \*and \*previous \*on the main movie and make then load each page in a container.

Is there a way to set variables for each page so the main movie “knows” what movie is loaded at the moment and what page it has to load next.
