Empty movieclip within an empty movieclip

Ok, here’s my problem:

I have 2 swf files: “fileA” and “fileB” and they both contain empty movie clips (let’s call them clipA for the one in “file a” and clipB for “file b”)

I have a button on fileA.swf that loads fileB.swf into clipA, it also loads a jpg into clipB (the empty movieclip on fileB)

The code I have (on the button in fileA.swf) right now is:


on (press) {
	clipA.loadMovie("fileB.swf");
}

on (release) {
	clipA.clipB.loadMovie("asdf.jpg");
}

I need to put actions in separate events because it doesn’t work if I put them together.

When I run the swf, it works fine, however if I view the swf in a webpage, sometimes the picture shows, sometimes it doesn’t.

Could anyone explain/tell me how to fix it?
thanks a lot

Do you have to keep this structure? It’a bit twisted :slight_smile:

lol, yeah it is twisted almost like a matrix within a matrix… anyways, I’m actually trying to load text into clipB from fileA.swf, but the same thing happens. I prefer it like this because I don’t need to make a separate swf file for every text file I want to load.

so could anyone help me out please?