PDA

View Full Version : loadmovie error?


losse
06-20-2007, 11:58 PM
Hi there
Please refer to www.vrtrailwoods.com/dev2 and click on the "models" button on the navigation bar at the top.

As you can see, that page has a loader movie clip that loads in each model home as you click on the buttons on the left hand side. Even when they are fully loaded, as you click from model to model you see a "flash" of the model index page it flashes for like a millisecond and then loads or pulls up the next model...

Is there anyway to have it go straight to the model page without flashing that page? or could I put something on the models.fla (the page that contains the loader clip) so that it shows a background or a blank page??

Thanks

_Aerospace_Eng_
06-21-2007, 12:24 AM
Just use gotoAndPlay(4) where 4 is the frame that the loader is on.

losse
06-21-2007, 12:31 AM
ah! I think I get you... So instead of loading it in frame 1, you load it in frame 4 and then I can use whatever background on there so that the "flash" doesn't appear...

How would I modify this to load it in frame 4?

on (release) {
contents.loadMovie("swf.swf");
}

_Aerospace_Eng_
06-21-2007, 12:34 AM
Umm...frame 4 was just an example. This is what it looks like to me. When you click on the models it goes back to frame 1 then it goes to the loader movie. What frame is the loader movie on? That frame number is what you should use.

losse
06-21-2007, 12:38 AM
Well... The loader is on frame 3 because I'm using frames 1 and 2 for a preloader (since the swf is chunky)

ah! let me clarify something... I have a "main" SWF which loads the "models" swf... then the "models" swf loads the specific model (ie-applewood)...

So I couldn't tell the specific model's SWF to load in a different frame (ie-4) so that it doesn't even look at the content which now flashes?

_Aerospace_Eng_
06-21-2007, 12:46 AM
Thats not what I'm saying. When you load the models it goes back to the the beginning which looks like frame 1. Rather than have it go back to the beginning have it go STRAIGHT to the frame that the loader is on.

losse
06-21-2007, 12:50 AM
ok I get it... So I would have to highlight that instruction on this no?

on (release) {
contents.loadMovie("applewood.swf");
}