Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-23-2008, 12:26 PM   #1
zkrg
Guest
 
Posts: n/a
Default Slow moving of a Flash application from background to foreground

I have created a Flash application running in a browser (Firefox 3 on Windows XP). When I move this application from foreground to background and (after some time) viceversa, I notice a considerable slowdown, i.e. for about thirty seconds the application becomes unusable.

My swf is very small (~200 KB), but this swf creates *many* buttons and *many* other graphical widget (with statical images), so the RAM occupied is considerable (~150 MB).

I initially assumed that was caused by the swap mechanism of the operating system or of the browser. This was *not* true, and it was confirmed by the fact that, by default, Mozilla Firefox prevent Windows from swapping out memory when the program is minimized (see config.trim_on_minimize option). Nothing has changed even disabling the paging system of Windows.

Later, I noticed that during the thirty seconds in which the application is unusable, the cpu usage is close to 100%. Weird, right?

The same problem occurs using:

- Microsoft Internet Explorer 6 or Mozilla Firefox 3 on Microsoft Windows XP
- Mozilla Firefox 3 on Linux, or
- Air on Linux and on Windows

so I am reasonably sure is not a problem of the operating system or of the browser.

Do you have any suggestions?
  Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
one template, many looks? subquark ActionScript 1.0 (and below) 1166 10-29-2013 06:18 PM
Creating Flash 10 content using Flash CS3 patrickbay ActionScript 3.0 19 10-31-2008 12:51 PM
How to Create a Quiz with Free Quiz Template in Adobe Flash W.Peterson Flash 9 General Questions 0 10-08-2008 09:41 AM
Flash background 100%, move while mouse over Creasy Other Flash General Questions 2 09-13-2008 06:03 AM
Is this a possible Flash application? SammyIshere Other Flash General Questions 0 09-17-2004 03:24 PM


All times are GMT. The time now is 11:34 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.