Swfs work offline but load funny online

http://www.dovecoteweddingcars.co.uk/

Offline, each section of this site works fine. Each section is an externally loaded swf and they load in their entirety. But when it’s online, only parts of the swf are visible when it’s first loaded. Check the contact section for example. There should be a map image that’s missing. Click contact again, and it appears. Any thoughts? Thanks in advance.

I know I had a similar problem in the past and it had to do with my paths. I was using _root in the loaded swf’s and had to change to _this so that it loaded things into the proper timeline. I believe it has something to do with you main movie becoming _root when the swf’s are loaded into it. Let me see if I can find the old thread that would explain correctly for certain.

found it: http://www.kirupa.com/forum/showthread.php?t=89480

Thanks for the help! But I can’t quite work out what part to change. This is my code:

this.createEmptyMovieClip(“content”, 2);
with (“content”) {
_x = 0;
_y = 0;
_root.content.loadMovie(“home.swf”)
}

and then on the buttons:

on (release){
_root.content.loadMovie(“coaches.swf”)
}
So I change _root.content.loadMovie(“coaches.swf”)
to
_this.content.loadMovie(“coaches.swf”) ?

Thanks again!

FlashFish-

I don’t mean the code in your main movie, that should be fine. I am talking about where _root is addressed in the loaded movies (like in your example the coaches.swf movie)

Uhm, I don’t have any code in my loaded movies! Should I have?! I think we may have different problems…

Yes you are right this is not the problem then. So sorry I could not help.

Never mind, thanks for the effort!

Anyone else?