-
special Preloader
I'm very tired of searching how to do a preloader that checks if a frame (by Label) is loaded.
Has someone an exemple?
Now I try with Frame Numbers but I have problems too.
I axplain you what I need to do:
1) The user is in Scene 1.
2) He push a button.
3) The script gives variables to a movie clip. (vScene,vFrameNb)
4) The movie clip checks if the frame is loaded. *
5) if ok it goes to the frame vFrameNb in vScene
*
switch (Scene) {
case "Scene2":
if (_parent._framesloaded>=FrameNb){
_parent.gotoAndPlay("Scene 2",FrameNb);
gotoAndStop(1);
}
}
I see a problem with FrameNb. For me it's the Frame Number of the scene and not of the movie.
Why is that so difficult to test such thing? One big point is that Flash can be streamed but there is no easy way to test if one frame of one scene is loaded.
If someone could help me with this it will be great.
-
Hi Fontaine,
My advice is do not use scenes.
When you publish your movie all scenes are placed on one main
timeline anyway. They are a great tool for the design stage but
can produce bugs that are hard to find. As the references to your
Scene names are washedout.
There is a lot about this on the Macromedia forum and many
members of the Macromedia Team strongly advise not to use
scenes.
Not an answer to your question but something to keep in your
mind. I personaly do not get into Scene problems because there
could be a bug that can take for ever to work out.
Milosav
-
Should I addition the number of frames of each scene to have the right frame number?
I can't imagine why macromedia didn't have a work around for testing a frame if it's loaded.
if you have a better solution for it could you help me.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|