This content has been marked as final. Show 4 replies
i am not sure wh you want to do this in one movie or swf
you can check bytes loaded by using getbytesloaded function and then if it is 25k start playing ur movie.
also i would suggest to keep the size down
best option is to divide file in variuos sections
Darshan thanks for your reply
after 25k is downloaded do u think the other remaing size 1mb - 25k would be stop downloading?
> I have a file of 1mb
> I want only first 25kb to be loaded and played.
> at the end of this animation there is a button which says view more
> and by clicking that flash loads rest of movie and then shows it.
> but in the start it should only load 25k not whole 1 mb
> I know we can do that by making 2 movies and loading first and then
> on view more i can load 2nd movie but i want this all done in one movie.
Just to clarify, you can't load part of the movie. Once open in browser
it will cache entirely whether you want it or not, that's the default
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
I'm not sure either why you would want to go about this. If you script some action to happen once 25 kb is loaded, the external file will continue to load (unless you unload the movieclip it's loading into, but then again, that would serve no purpose. What could possibly only take up 25 kb that you would have to be included in one swf file and not split it into two?