I can’t load external movies.
I have my index.swf and i have a space to load an external swf called “photos.swf”. I have created, inside index.swf, an empty Movieclip and I’ve named it “load_movie_photos”. In a frame in the main timeline of the index.swf I used the code:
loadMovie(“photos.swf”, “load_movie_photos”);
In the “photos.swf” I have a scene with a preloader and a scene with the content, called “photos_content”. In the preloader I have this code:
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent100;
_root.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
gotoAndStop(“photos_content”, 1);
}
When I test my index.swf it doesn’t load the external photos.swf
But if I erase the scene with the preloader from the photos.swf it loads it in index.swf without problems.
What’s happening?