_root and the like

OK guys, im gona try and explain this as well as i can

I have 4 movies files, named jacket.swf, jacket1.swf, jacket2.swf, jacket3.swf.
jacket.swf is embedded in an aspx page and gives the user the choice of chosing one of the other files.

Now if starting with jacket.swf I can use _root and have functions work without a problem. But if i use _root in say jacket2.swf it wont work.

My Question is how can i referacne function in jacket2.swf??

Please help.

_root.jacket2. should do it. can you explain your setup a bit more, like do you use loadmovie or what and what are the instance names?

i use the following code

on(release){

loadMovie("jacket2.swf",0);

}

so if i wanted to use the getbytesloaded function
would i use

_root.jacket2.swf.getbytesloaded???

no. You have to assign it an instance name. Then the code would be _root.instanceName.getBytesLoaded();
When you load, all you specify is a target level, not a container to load it into. The only way I know how to do it is to load it into a container clip with an instance name and then target that clip.

In that case how can i make an existing file a movie clip??

can you email me what you have or post a fla? I’m not very good at explaining. Basically what you do it have a temporary placeholder movie clip that gets unloaded and your movie loads in instead. The other thing you could do is put a preloader in each of your movies…jacket2, jacket3, etc and use this.getBytesLoaded. That would be the easiest way

well the reason im askin is cause im trying to get my preloaders to work.

check this thread by me to catch up
Preloader Question ( 1 2 )