Hi,
Every-time I create an exterior SWF, I can never seem to load it into my main flash index file through a placeholder or loadMovienum.
I create the file, add a loader but when I try to open it in my main file only the loader appears without going any further - there are labels attached and it’s only a very simple code for the loader?
onClipEvent (load) {
totalBytes = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loadedBytes = _root.getBytesLoaded();
percentLoaded = Math.round(loadedBytes/totalBytes*100);
gotoAndStop(percentLoaded);
percentLoaded_txt.text = percentLoaded;
if (loadedBytes == totalBytes) {
_root.gotoAndPlay(“home”);
}
}
Has anyone got any ideas.
The exterior file DOES work when played on its own in flash - just when played online and through the main index file it doesn’t work.
Thanks
G27