Movie layers question

So I have this code right?

i = "1";
alpha = ".3";
maxlight = "15";
while (Number(i)<=Number(maxlight)) {
    duplicateMovieClip ("ray0", "ray" add i, 800-i);
    setProperty ("/ray" add i, _xscale, getProperty("/ray" add (i-1), _xscale)+i*alpha);
    setProperty ("/ray" add i, _yscale, getProperty("/ray" add (i-1), _yscale)+i*alpha);
    setProperty ("/ray" add i, _alpha, 10-i*(0.5/50));
    i = Number(i)+1;
}
setProperty ("ray0", _visible, "0");
stop ();

and i have it in a .swf and it works to make my letters light up all cool.
but I’m having a simple path problem when I display it inside the main swf. for my whole site (the stage if you will)(swf inside a swf). Obviously .swf(1) can’t read the code in .swf(2) so I put a (this._lockroot=true) AS on .swf(1) and it works.
The problem is this : Using a “lockroot” comand causes the main swf to not load any other movies (via my Nav. tabs). Is there an effective way to get the code to work in the main swf without “lockroot”?