Posted by jvvisser in SWF Studio V3 on Feb 16 2008, 07:15 pm

Hi!
I noticed that my 1280x30 application used only between 0% and 2% of the CPU time when I do not move the main window. When I change the stage size in flash, to 1280x300 the CPU size is more than 5% to 9% and when I put the application window full screen in SWF studio it takes about 30%. Is there a way to reduce this, why does the stage size burns CPU anyway?
I want to add some windows to my app, so I would have to enlarge the flash stage. Or do I have to do this through seperate windows with some northcode code?
Thanks a lot!!!!


Posted by northcode in SWF Studio V3 on Feb 17 2008, 02:22 am

This is how much data Flash has to push around at each of those screen sizes. This is the number of pixels on the screen and rougky the amount memory that each screen requires in MB.

1280 x 30 = 38400 pixels (0.1 MB)
1280 x 300 = 384000 pixels (1.1 MB)
1280 x 1024 = 1310720 pixels (3.75 MB)

If you are using transparency then you are actively updating the entire display frequently to support the transparent effect. That can take up a lot of CPU and the amount used will be proportional to the size of the window.


Posted by jvvisser in SWF Studio V3 on Feb 17 2008, 11:57 am

Thanks Tim.
How do I counterfeit the problem? I want a self made pop-up window to appear in specific situations a bit above the main window. I will need to enlarge the stage to be able to show the additional window or is there another solution?
Thanks again!!


Posted by northcode in SWF Studio V3 on Feb 18 2008, 02:46 am

SWF Studio doesn't support multiple windows so the only solutions right now are to use another SWF Studio application or create the new windows in Flash so they look like separate windows.