Ivan - Problem with the first frame (white screen)
Posted: Fri May 10, 2013 5:18 am
I've been having this problem since some weeks ago. I use Flash CS6.
Developers call this problem 'White Screen of Death'.
I already tried google: http://www.newgrounds.com/bbs/topic/1075398 and http://www.newgrounds.com/bbs/topic/957033
When publishing a flash game, the first frame gets clogged up with 11mb (the size of the whole game!)
The interesting thing: I dont call any function or use any huge MC. Its only a black screen with a preloader.
Frame # Frame Bytes Total Bytes Scene
------- ----------- ----------- -----
1 11615067 11615067 Scene 1 (AS 2.0 Classes Export Frame)
2 35810 11650877
3 133386 11784263
4 659394 12443657
5 49 12443706
6 230 12443936
My current Scene1 frames: (please click to expand). This frame 1 code has: 'stop();'
I tried to:
1 - Make a new empty frame before preloader - FAILED.
2 - Make a new empty frame after the preloader - FAILED
3 - Delete all function calls (#includes) in frame 3 - FAILED
4 - Created a lonely frame, say , frame 10, with the preloader, and put gotoAndPlay(10) in the empty frame 1: - FAILED
5 - Select several movie clips and set 'Export to Frame 1 as 'NO' - FAILED and the game crashed, with no music. Game size went down from 11 to 6mb. (I use huge level MCs, and I use an instance name, but not exactly the 'export to frame1' thing). Anyway, didnt work.
6 - Erase all the frame1 (leaving only the default background color, with only stop() there). - FAILED
7 - Publish Settings - Script: ActionScript AS2 (settings icon) -> Export frames for classes: 2 (also tested 3): FAILED
Frame # Frame Bytes Total Bytes Scene
------- ----------- ----------- -----
1 11614046 11614046 Scene 1
2 133247 11747293 (AS 2.0 Classes Export Frame)
3 659336 12406629
4 49 12406678
I use AS2 and I always export using Flash 11.2, with DEFLATE option and JPEG deblocking on.
Thanks for all the possible help!
Developers call this problem 'White Screen of Death'.
I already tried google: http://www.newgrounds.com/bbs/topic/1075398 and http://www.newgrounds.com/bbs/topic/957033
When publishing a flash game, the first frame gets clogged up with 11mb (the size of the whole game!)
The interesting thing: I dont call any function or use any huge MC. Its only a black screen with a preloader.
Frame # Frame Bytes Total Bytes Scene
------- ----------- ----------- -----
1 11615067 11615067 Scene 1 (AS 2.0 Classes Export Frame)
2 35810 11650877
3 133386 11784263
4 659394 12443657
5 49 12443706
6 230 12443936
My current Scene1 frames: (please click to expand). This frame 1 code has: 'stop();'
I tried to:
1 - Make a new empty frame before preloader - FAILED.
2 - Make a new empty frame after the preloader - FAILED
3 - Delete all function calls (#includes) in frame 3 - FAILED
4 - Created a lonely frame, say , frame 10, with the preloader, and put gotoAndPlay(10) in the empty frame 1: - FAILED
5 - Select several movie clips and set 'Export to Frame 1 as 'NO' - FAILED and the game crashed, with no music. Game size went down from 11 to 6mb. (I use huge level MCs, and I use an instance name, but not exactly the 'export to frame1' thing). Anyway, didnt work.
6 - Erase all the frame1 (leaving only the default background color, with only stop() there). - FAILED
7 - Publish Settings - Script: ActionScript AS2 (settings icon) -> Export frames for classes: 2 (also tested 3): FAILED
Frame # Frame Bytes Total Bytes Scene
------- ----------- ----------- -----
1 11614046 11614046 Scene 1
2 133247 11747293 (AS 2.0 Classes Export Frame)
3 659336 12406629
4 49 12406678
I use AS2 and I always export using Flash 11.2, with DEFLATE option and JPEG deblocking on.
Thanks for all the possible help!