[FONT=“Franklin Gothic Medium”][SIZE=“1”][COLOR=“Olive”][/COLOR][/SIZE][/FONT]
hi all, i have a question concerning external swf’s in as2. i have a site that is pretty big (4mb)(bricehemmer.com/spunk)(takes about 2 minutes to load, be patient), and i’m trying to find ways to get the size down. i have everything in one fla file right now, so i figured i better create some external swfs to split it up. I took out the main navigation and put it into its own file and managed to load it into the native file using “loadmovie” code.
my question is how do i now communicate with that file? the empty clip that i’m loading the external “nav” swf into is called “holderNav_mc”. do i just add that in front of the original code when talking to the nav in the native file?
(i sorta tried that but i’m not sure if i’m doing it right. the native file can tell when you mouse over a button from the external file, but i can’t get it to control anything i can’t even seem to run a trace through it)
any ideas?
here is some of my code:
holderNav_mc.loadMovie(“nav.swf”);
holderNav_mc.nav_mc.work_btn.onRelease = function() {
navShift();
navTwoEnter();
aboutBoxExit();
linksBoxExit();
clientBoxExit();
videoBoxExit();
navTwo_mc._visible = true;
bbGroupExit();
baGroupExit();
cgGroupExit();
gmGroupExit();
gsGroupExit();
mhGroupExit();
oxGroupExit();
qbGroupExit();
taGroupExit();
umGroupExit();
};