I'm not sure what version of actionscript you're using, but in AS2, you can refer to the main swf from a child swf using the scope _root

Like, inside your child swf, you use something like:...