Access one class from another

Hello!
I’m trying to build a website using as3 and now i’m stuck so i thought u guys could help me.

I would like to know how i can access an array in my main-fla from an external-fla. Both the main and the external have their own documentclasses.

This is my structure:

indexLoader.swf
indexLoader.as(documentclass to indexLoader. preloads xml, images and the main.swf)

main.swf
main.as (documentclass to main. shows the menu, content. All the eventhandlers are in here too)

indexLoader.swf loads the main.swf.

So my question is, how can i access an array in indexLoader.swf from main.swf?

thanks!

//Johan