Error when loading gallery - I dont know how to load mc before as

Hi!

first of all: sorry my English

I have problem with loading gallery - null object error.
I don’t know where I’m supposed to add code

 addEventListener[COLOR=#66CC66]([/COLOR]Event.[COLOR=#006600]ADDED_TO_STAGE[/COLOR],Init[COLOR=#66CC66]).......[/COLOR] 

in this gallery are many *.as files and I’m noob in as3.

the gallery works when is execute by its own swf.

The main page is named Page.swf/fla (I created a new doc)
the gallery is named gallery.swf/fla

this is not commercial project, pleas help