View Full Version : N00b Preloader Question
r3kl355
03-29-2003, 07:02 AM
Hey all. Im in the process of building my 1st site at the moment, and have a question about preloaders.
When flash is loading your movie, does it do so sequentially, eg, in a linear fashion from the 1st scene right through to the last scene you have. EG, Scene 1 , then Scene 2, then Scene 3?
The thing is, I have adopted a preloader for the site Im making (my 1st), and Im wondering that If I set it to check 'IFFRAMELOADED' for the LAST FRAME of the LAST SCENE of my movie, then will this insure that my preloader will not finnish until EVERY SCENE is loaded??
I use flash MX
Any comments are appreciated more than you know :-)
Billy T
03-29-2003, 03:27 PM
yeah when you export the swf then flash puts all the scenes together in one long timeline so checking if the last frame of your last scene is loaded will indeed ensure that your whole movie is loaded
having said that, don't use scenes as they will cause you grief in the long run
also, use getBytesLoaded etc for a more accurate preloader
see the one here - http://www.tableau.com.au/tutorials/basic_flash_tute2/
cheers
r3kl355
03-29-2003, 05:52 PM
cheers man.
Thanks for the reply. I will try your IFBYTESLOADED, cause hey, my current preloader is A.I> and does some weird **** sometimes that it shouldn't. I really do need another. :)
One other question for ya...
How will scenes cause me grief?
My website conatains 5 scenes which all have about 2 frames each, and everthing else like mp3 and tweens are all loaded movies, or movie symbols. How Can I expect grief from having this many scenes??
thankyou
P.s. Glad to meet another Melbourne-ite.. I have been away from my Melbourne home for about 3 years, I really miss it :(
Billy T
03-30-2003, 12:02 AM
Hi there
where are you now?
Scenes have a tendancy to stop actionscript working for no logical reason - if you do a search you will find some examples
scenes can also get confusing because your frame numbers change
eg
in scene 3 you might want to just to the second frame with
_root.gotoAndStop(2);
but this will actually jump you to the first scenes because all the frames get put int one timeline
using unique frame labels in each scene can avoid this problem
cheers
r3kl355
03-30-2003, 02:14 AM
I'll do a search for some examples. Thanks for the heads up on this potential problem :cool:
Im in Hollywood, damn it..
Employment can take you some strange places, and sometimes where you don't want to be. ;)
:D
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.