all groups > flash (macromedia) > february 2006 >
You're in the

flash (macromedia)

group:

pre loader hell !!!!!!


pre loader hell !!!!!! bwclan
2/27/2006 11:48:27 PM
flash (macromedia):
hi all ..... i am using a simple preloader on my site ...except it wont work !!
my movie starts on frame 6 - i have a preloader mc over frames 1 to 5 with

ifFrameLoaded ("21") {
gotoAndPlay("6");
}

on frame 1 and

gotoAndPlay("1");

on frame 5 ...... this should work right ?
i have even put a 2mb pic on frame 21 just so theres something heavy to load !
what happens is (when i put the movie on my site to test) the movie opens ,
plays the preloader animation for a few seconds then goes straight to frame 6
........ whilst on this frame the browser is still showing as loading (the large
jpg) .surely it shouldnt go to frame 6 till this large jpg has loaded ?
i have tried creating a new scene , making it the first scene to open and then
goto and play scene two (obviously not the actual script i put in) to see if
that works .... still no joy
this is going to be a photographic site when its finished so will be fairly
byte heavy so need the preloader to function ........
any ideas ?
many thanks
craig
Re: pre loader hell !!!!!! alphadeltago
2/27/2006 11:56:30 PM
Re: pre loader hell !!!!!! bwclan
2/27/2006 11:57:24 PM
thanks alpha , have tried with and without qoutes though ...still no joy
Re: pre loader hell !!!!!! alphadeltago
2/27/2006 11:57:25 PM
Here:

ifFrameLoaded (21) {
gotoAndPlay(6);
}

and

Re: pre loader hell !!!!!! alphadeltago
2/28/2006 12:00:38 AM
I just recreated the flash file and had no problems.
frame 1 code:
ifFrameLoaded (30) {
gotoAndPlay(6);
}
frame 5 code:
gotoAndPlay(1);
frame 21 code:
Re: pre loader hell !!!!!! alphadeltago
2/28/2006 12:07:53 AM
Here are two files, the fla and the swf:
Re: pre loader hell !!!!!! bwclan
2/28/2006 12:08:07 AM
ahhhh i didnt have stop at the frame i had labeled for the ifFrameLoaded
action !!! (although i do have a stop action at frame 6 where the movie starts)
would it make sense that thats where i have been going wrong alpha ?
thanks for the help bud
AddThis Social Bookmark Button