Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] Extreme preload! FAST HELP NEEDED!!!
From: Ofir A.
Date: Thu, 01 Feb 2001 07:23:51 -0000

ok, i am not a flash god. i am not even an angel (regarding your question),
but goes my try:

the movieclip.getBytesTotal(), and getBytesLoaded(), can help you in this
case i think. here is the description from the manual:
getbytestotal() - Method; returns the size, in bytes, of the specified Movie
Clip object. For movie clips that are external, (the root movie or a movie
clip that is being loaded into a target or a level) the return value is the
size of the SWF file.


there is another way you can use - you can make a preloader inside the
external swfs: so it would be like -
preloading main - 60k... please wait...
preloading graphics - 400k... please wait...


but i think the getbytesloaded is the most appropriate method to use here.

hope I helped

ofir


----- Original Message -----
From: <Ujv�ryatmail [dot] bezeqint [dot] net>; "B�la Istv�n" <silveratmail [dot] datanet [dot] hu>
To: "flasher from chinwag" <flasheratlists [dot] chinwag [dot] com>
Sent: Wednesday, January 31, 2001 6:50 PM
Subject: [flasher] Extreme preload! FAST HELP NEEDED!!!


> Hi everyone!
>
> Unfortunately noone answered my desperate question, now I ask again for I
need a fast answer as I have a deadline
> this evening and still not found a solution.
>
> I have three swf-s as parts of a flash game. One of them (let's call is:
main.swf, 60k in size) uses exported symbols from
> the other two. The thing is that main.swf seems to automatically load the
other two swfs, wait for them to download and
> THEN start to run. If I use a preloader in main.swf it shows only the
loading of itself (60k) and then I get a blank screen
> while the other two swfs download.
>
> Now, this is the problem as these other two files accumulating over 400k
in size and users might not wait for them to
> download thinking that something went wrong...
>
> How can I preload the files that I use exported symbols from?
>
> Please help me Gods of Flash! :)
>
> b.
>
>




[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]