Hey all,
I posted this earlier yet it seems to have gone somewhere!!!
I have a main movie which a number of other swf will load into.
These are the actions on each of my menu buttons:
on (release) {
_root.contents.loadMovie(“cv.swf”);
}
where “contents” is the mc being replaced in the main movie.
The actions on the “controller” clip in the preloader scene (first scene) of each smaller swf are:
onClipEvent (load) {
tkb=_root.getBytesTotal();
}
onClipEvent (enterFrame) {
p=Math.round((_root.getBytesLoaded()/tkb)*100);
_root.percent=p;
if (p==100) {
_root.gotoAndPlay(2);
}
}
I think the problem lies in the last line of the controller clips code.
Where do I need to tell the movie to go once it is fully loaded.
The pre-loader works OK when I test the movie by itself, but not when I try to load it into the main movie.
Please help . . . . . . . . ;(