XML availability on all frames

If I have one as3 code frame and multiple layers.
if the xml is loaded into arrays is it available to all layers with something like

MovieClip(root).firstArray[i];

hope I explained it ok :slight_smile:

Layers don’t matter to ActionScript. For example, if you have var n = 5 on layer 1, and trace(n) on layer two (in the same frame), then it’ll all work just fine.

You mentioned loading XML. If you’re loading in asynchronously, you’ll still have to do the usual event handling to access it. Sort of hard to tell if this’ll be an issue for you.