1 person found this helpful
do you see the load progress of your swf when you display the bandwidth profiler?
Didn't think to check that -- OK, so I can see that it's loading, but it's loading while just sitting on frame zero. It doesn't
load from the frame my preloader is on, which completely defeats the purpose that I am using the simulate download function for.
Ah, patience is a virtue. It finally showed when it was loaded to 75% or so, but the bar didn't load correctly -- probably more a coding issue than anything else. The main thing I just learned was that I might need to cut down the export quality just a touch...
Anyway, is it common for the simulate download to sit on frame zero for that long? If you download a swf, doesn't it usually stream up to a point where it either has to load, or the program tells it to pause (due to the actionscript code)
no, it's not common.
it means you have a lot of stuff loading before your first frame can play. that would include everything that's set to export of use with actionscript in frame 1.
ie, you must have some large bitmaps and/or sound files.
I do have a lot of audio files, but they aren't accessed through actionscript until later frames. The first frame contains nothing, the second frame is the preloader, and the actual beginning of the project doesn't start until frame 5. Frame 6 has the first occurrence of a sound accessed through actionscript.
that doesn't matter to flash. you're exporting for use in frame 1. whether you use them or not isn't the issue.
for those assets you don't need in frame 1, you can:
1. untick export in first frame and
2. in your publish settings/flash/actionscript settings change the frame to export classes to 2.
Alright, I went through and unchecked all of the "export on frame one" boxes in my audio files (there are roughly 50). Now, when I test the movie, it says that I'm making a call to a possibly undefined method, and points at a random audio file. Since the file is no longer exported on frame 1, is Flash getting confused as to whether that object exists now?
I also tried putting the frame to export classes back to 1, and that didn't help.