Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preloader problem

Status
Not open for further replies.

QTip

Programmer
Mar 7, 2001
66
BE
Hi,

I have a flash movie with 2 scenes. scene 1 is preloader, scene 2 is main movie.
My problem:
The frame that needs to be loaded before people can see my site, is not directly in the root of scene 2. The frame is frame 144 in "_root.block.zohra".

How do I have to tell this to the first scene.
I already did this:

ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay (1);
}

-> But where do I tell that the frame that needs to be loaded is frame 144 of "_root.block.zohra" (this is an instance in scene 2).


If somebody can help me, please do!!
thnx!!
 
How many frames in scene 2?
mywink.gif
ldnewbie
Hope that this
was helpful!
 
scene 2 has starts with only one frame. But in that frame there is a movie. That movie has 144 frames. I need that 144th frame to be loaded in advance.

So: Scene 2 : 1 frame
Movie in scene 2: 144 frames

Does anybody has an idea?
THNX!
 
You need to use a loadMovie script earlier on, that addresses it.
 
Are you in fact loading a movie on another level, or just have an instance (or several) of a mc on stage in scene 2?
Is your .fla available?
mywink.gif
ldnewbie
Hope that this
was helpful!
 
it's an instance in scene 2.

fla is not available (7mb).

Another question?

How can I preload instance A without loading instance B? I want instance A to load immediately, and instance B to load when I push a button.
Can somebody help?

Do you still understand my problem? :))

Thnx!!
 
If you're NOT using the loadMovie action, and that the others mcs you're referring to are instances dragged on stage, your preloader should be preloading all of it.
One thing I think may be happening, is that your looping back your preloader to itself with your action inside the ifFrameLoaded action.
Try:

ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay ("Scene 2", 1);
}

Also make sure that your "Scene 2" is exactly the name of that scene.
mywink.gif
ldnewbie
Hope that this
was helpful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top