Hi,
just working on a website. Trying to load a simple swf movie into my mc holder. Problem is:
When I preview the page on my desktop the external files loads. On the FTP server it doesn’t. Why?
I tried 2 scripts for an “onClipeEvent” on the empty mc holder but nothing workes.
onClipEvent (load) {
trace(targetMc);
loadMovie(“floorplans/301.swf”, “targetMc”);
}
Then I got recommended to use this script on an empty keyframe. It works but again, only offline.
targetMc.loadMovie(“floorplans/301.swf”);
I am not good enought in scripting to see what I do wrong. Can you help?
Thanks,
Dave
hmmm … only thing i can think of is …
-
Is 301.swf a big file, are you waiting long enough for you to download the swf so that it can be loaded into targetMC
-
On your server make sure 301.swf is in a folder called “floorplans” and outside this folder is the the swf that is calling for 301.swf
Thats the only things i can think of that could make it go wrong
Hope it helps. Good Luck.
hi, sure I thought about this. Really. It even has a preloader in it. Also the FTP have the same folder. So i still look for a solution.
Thanks
Dave
I just see that the problem only occurs when I preview the files with a browser. With just the .swf files it works. Could it be that I have to set the path different?
Thanks