Loading external swf doesn't work when uploaded to website until page is refreshed

G’day guys,

Can’t for the life of me figure out what the problem is. I’ve used loadMovie plenty of times before!

Anyway, I’m loading a news ticker swf (“ticker.swf”), which is in the same folder as the main swf. I need it to load in a particular spot, so I’m simply using:

 
loadMovie("ticker.swf", ticker_mc);

Works perfectly when testing, but as soon as I try it on the website, it doesn’t load. It DOES load when I refresh my browser, however :stunned:

Here is the site I’m working on:

http://www.nidelvasapekokeri.no/

The news ticker is meant to be just below the image loader, which incidentally, is using the same loadMovie code with no problems. I’m thinking it’s got something to do with the news ticker code, which is thusly:

Frame 1:

 
var formatObj = new TextFormat();
formatObj.size = 14;
formatObj.color = 0x333333;
formatObj.font = "century gothic";
formatObj.bold = false;
read_txt.text = loadVariables("ticker.txt", this);
read_txt.setTextFormat(formatObj);

Frame 3:

 
stop();
var x = read_txt.textWidth + 10;
this.createTextField("display_txt", 0, 700, 5, x, 30);
display_txt.text = read_txt.text;
display_txt.setTextFormat(formatObj);
onEnterFrame = function() {
 display_txt._x -= 3;
 if (display_txt._x <= -x) {
  display_txt._x = 700;
 }
}

Any help woudl be much appreciated, as I have no idea why this isn’t working!

Boog :slight_smile: