Ok I have designed a nav bar in MX. In a layer, on a frame, I have the following AS:
loadMovieNum("banner1.swf", 1);
It’s aim is to load in a banner. It does this fine locally, but not when uploaded to a server… ned ideas why? I mean I havent used an absolute location just a relative, so it should work right??
Does this happen in an enterFrame or loop of some kind?
If so that’s your problem, It keeps trying to load it all the time.
the solution is to make it happen (loadMovieNum command) just once.
Something like this would do it:
if(!alreadyLoaded){
loadMovieNum(“banner1.swf”, 1);
alreadyLoaded = 1;
}
Cheers
And relative path will work if the swf’s location is relative to the main movie (same dir/folder) …double check the heirarchy within your servers folders to verify if you need to adjust the location or the path …
Remember as well that your paths should be relative to the HTML
page your movie is embedded in. Even if your two movies are in the same folder if the HTML page is, for instance, one level up in the folder hierarchy; the path from one movie to the other should
be “yourMoviesFolder/yourMovie.swf”.