sorry to bother u again but im having a bit of trouble with this... Instead of using a separate movie for the second part i have added it as a new scene at the end of my first movie. I want the first movie to load all scenes except this one before it begins to run.
The file is around 1.2mb so i have included some of my code below, but if u want to see what happens have a look:
This is the actionscript for my preloader; there are actually 11 scenes in the movie but as i want the last one to remain unloaded until the movie starts playing i have specified 10.(is this where i have gone wrong?)
Frame1:
NumberOfScenes = 10;
iCount = 0;
while (Number(iCount)<Number(NumberOfScenes)) {
TotalFrames = TotalFrames + getProperty("_level" add iCount, _totalframes);
iCount = Number(iCount)+1;
}
iCount = 0;
Frame2:
FramesLoaded = 0;
while (Number(iCount)<Number(NumberOfScenes)) {
FramesLoaded = FramesLoaded + getProperty("_level" add iCount, _framesloaded);
iCount = Number(iCount)+1;
}
Progress = int(FramesLoaded*100/TotalFrames);
iCount = 0;
Frame 3:
// Loop checks value of Progress and tells PreloaderBar what frame to stop at.
if (Number(Progress)<100) {
tellTarget ("PreloaderBar"

{
gotoAndStop (../

rogress);
}
gotoAndPlay (2);
} else {
tellTarget ("/PreloaderBar"

{
gotoAndStop (100);
}
gotoAndPlay ("outside", "start"

;
}
Ok so far? Now, within the movie there is a button which calls the last, partially loaded scene. If the scene is fully loaded it will play it, if not it brings up a window which tells the user to wait for a few moments....heres the actionscript:
on (press, release) {
stopAllSounds ();
ifFrameLoaded ("Fruit Machine", "lastframe"

{
gotoAndPlay ("Fruit Machine", 1);
}
tellTarget ("_base, nofruit"

{
gotoAndStop (2);
}
}
...where 'nofruit' is the popup window.
The problem is that the scene loads with the rest of the movie rather than after the main movie has started playing....any ideas how i could solve this? Any help would be greatly appreciated..
Many thanks,
Nick Price
nick.price@misuk.net