Inserting Photoshop Flash Web Gallery into another SWF

Hi guys, just looking for a bit of help.

I’ve created a flash web gallery using the automation ‘function’ in photoshop. I’ve then tried to insert the generated swf into a swf that is my website. I have used the loader component and routed it to the gallery swf…

I keep getting an error message saying…

configXmlFile is galleryconfig.xml
drawBox
drawBox
drawBox
build from _level0.loadergallery.contentHolder.rap_mc.nav_mc
drawBox
new TextScroll created:
targWidth is 12 and targRange is 1000
Kill Scroll

can anybody help me get around this??

thanks in advance