|
-
Happy FK'er
'Publish In First Frame' mystery
Heya guys.
I'm almost ready to publish a game that ive made, but when bandwidth profiling, I noticed that the preloader was taking a very long time to load, considering it was only 4kbs. (see attachment, frame 1 is a black screen that either opens frame 2 (the preloader) if the whole movie isnt already loaded, or frame 3 (intro animation) if the movie is already completely loaded).
Then I realised, ah, all my movieclips and sounds are set to 'export in first frame'... so I found all of the sounds, turned off the setting, and placed them all into a movieclip with a stop action in the timeline, and put it in the third frame of the movie.
I also placed all the 'first frame' exporting movie clips, and placed them off the stage in frame 3... so that flash realises that all of the data is requested in frame three. (also can be seen in the attachment).
After this, I thought my problems would be over. But when I opened the movie and did a download test, the second frame preloader wont even start until 100kb's are downloaded, even though it is only 4kbs in size.
What else is loading in the first (or prehaps second) frame other then 'export in first frame' sounds and clips?
help appriciated
~TheWaste
Last edited by TheWaste; 01-10-2008 at 06:35 PM.
"Good lord, you're wasting thousands of dollars worth of Interferon!"
"... and you're Interferon with our good time!"
-
Happy FK'er
Solved the problem.
turns out _root._framesloaded equals 0 if the first frame is loaded, hence 1 if the second frame is loaded.
was I crazy to think that _frames loaded was the AMOUNT of frames loaded, and not the number of the frame that flash decided to make it?
"Good lord, you're wasting thousands of dollars worth of Interferon!"
"... and you're Interferon with our good time!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|