Menu in AS3


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 :slight_smile: