|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
preloader
Hi. I have a preloader attached to the first frame of a movie that is about 550Kb
the preloader isnt loading in right away it loads about 256Kb before the preloader loads. i know this by looking at the bandwith profiler and the first frame is 256Kb if i put the preloader on its own it is nice and small size wise. anyone tell me why this is or how i can get the preloader to reduce in size on the first keyframe. Hope this made sence if not let me know i will try and elaborate. Thanks. |
|
#2
|
|||
|
|||
|
try this
try this. This might help it to make sure all of the frames and bytes are loaded. Place a stop() action on the first frame of your movie's main timeline. Following that stop() action, enter code taht checks to see if all the bytes in the movie are have been loaded. Place an empty movie clip on the Stage and place this script on it:
OnClipEvent (load) { total= int (_root.getBytesTotal()); } onClipEvent (enterFrame) { loaded = Math.ceil(_root.getBytesLoaded()); percent = Math.ceil(loaded/total*100); if (percent >+ 100) { _root.play(); } } |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > preloader |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|