# Menu in AS3

**URL:** <https://forum.kirupa.com/t/menu-in-as3/248528>\
**Category:** flash\
**Created:** [January 9, 2008, 11:01am UTC](https://forum.kirupa.com/t/menu-in-as3/248528 "2008-01-09T11:01:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Topi](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@Topi](https://forum.kirupa.com/u/Topi)\
**Post date:** [January 9, 2008, 11:01am UTC](https://forum.kirupa.com/t/menu-in-as3/248528/1 "2008-01-09T11:01:07Z")

</div>

Hello,

I want to make a multilingual menu for a game in AS3,  
using a frame for each menu page, and reading the texts in a XML file.  
(I’m new to ActionScript 3)

I already do it in AS2, but I have to do it in AS3.  
Is it possible to have all the code outside of the .fla ? (all the code in .as files)  
but without creating buttons or other elements of the menu dynamically,  
because a graphist will place buttons manually on each menu pages.

My problem is that I can’t access the buttons I create in each frames,  
in the document class, I can access the buttons on frame 1, but not for other frames.

the solution I found is to add code in the “Actions - Frame”,  
but it’s not what I want.

Thanks 🙂
