Hey, I’ve delt with the problem before and somehow, I managed to solve it, but then I forgot how. Now since I’m revisiting Flash, I get it again…Anyways…I recently tried to do a bar preload by the kirupa tutorial (beautiful), which taught me a lot, I can’t test it out though. The actual movie is somewhere around 1.5mb. The actual content isn’t that big, but I had to put a music file in there to see if the preloader actually works. Now, in Dreamweaver, I created a link to the swf file:
But when I click on the link, a new window pops up (suppose to), but nothing happens. I think my IE is trying to load the entire movie first and not let the movie load it self. I doubt that I’m right, but any clues?
ok do this go flash and hit ctrl + enter to test your movie. go to bandwidth profiler and change you connections speeds. slow them down and then hit ctrl + enter twice to see your preloader
Ok, thanks anyways, but I have solved that problem, but neways…i hav other problems now…i dunno if neone has had this problem before, but when i tried to make a file bigger, the fla went really big, and i had warnings by flash that the source code is unstable if i run it, i tried to take out most of the contents, but the fla size doesn’t decrease even after i restart…
mmh that never happened to me
-try saving all your sound files/big images in anothr flash library that you then import, maybe that might save some space…
FLA size will not be reduced, EVEN if you delete objects from your library. The swf will be reduced however, even if the FLA is not reduced. To tell what the produced swf file size will be, do a test and then look in the bandwidth profiler.
Well, ok, but lets say I deleted a real big file from the library and the fla is still say…4mb…what if i add more stuff to the fla?..will it go from 4mb?..or is it going to get larger once it fills up the 4mb?
no one cares about the fla file… that is just your source file… if you want to edit, create and such.
the size that you DO worry about is the swf… the swf only save the info that is needed. you can have a million-and-ten unused items in the library, and swf will not include it.
if you want to make sure the swf file is smaller you can change the mp3 quality and jpeg quality in the publish settings dialog box.
try to edit your mp3’s in cooledit or something… try and stick to smaller loops (instead of an entire song (watch out for copyright)). a smaller mp3 loop will help with the file size as well.
erm… what else thinking
…
watch out for infinite loops in the actionscript like david said… this can cause quite a mess. generally it will freeze the computer up for a bit, then you will get a pop-up message telling you that there is a loop running, and it will ask you if you wish to continue running the loop… JUST SAY NO!!! else you might bomb your computer out.