Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-13-2005, 10:44 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default too much use of cpu

I have a swf project that I have made into a stand alone exe file.

When I run my application my cpu use goes up with around 50 procent eventhough the original swf only uses about 7-10 procent.

In another swf to exe program it only used about 16-20 procent of the cpu power.

How can I change this??

Kind regards

Godowsky
Reply With Quote
  #2 (permalink)  
Old 01-14-2005, 01:58 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:too much use of cpu

Could you please send us your projector? Thank you.
Reply With Quote
  #3 (permalink)  
Old 01-14-2005, 06:38 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:too much use of cpu

Hi and thankx for your reply, - I can't send my file to you, - it's not yet gone public and the customer is very strict on this.

I can tell you that I have set it to be transparent and I have read in another post here that I should consider using at region intead.

When I try this I constantly get a message that my region name is wrong.

Kind regards


Godowsky
Reply With Quote
  #4 (permalink)  
Old 01-15-2005, 03:12 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:too much use of cpu

The real-time transparent feature does cause a high cpu usage, for it actually renders each frame for three times.

The swf to exe tool of flashants has a lower cpu usage for it only renders each frame twice. But swfkit cannot use the technic.

If you are not working with a movie with mutable shape(e.g. a desktop toy, its shape keeps changing), you can make it transparent by building a clip region. The clip region feature does work and it causes no extra cpu usage. Please try it again.

In the next version we will improve the feature without building a clip region. If the shape of a movie doesn't change, we will only render the first frame for three times to make it transparent, for the shape won't change, it won't be necessary to calcute the other frames. Then the projector can be transparent without a clip region, with very low cpu usage, supports alpha blending and anti-aliasing under win2000 and XP.

Reply With Quote
  #5 (permalink)  
Old 01-18-2005, 07:53 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:too much use of cpu

can you tell me how to do it, i have this script:

//script 1
Application.Appearance.windowShape = "Region 0"


I get an error "invalid clip region name"

my clip is calle "Region 0"


Så how does it work?
Reply With Quote
  #6 (permalink)  
Old 01-18-2005, 07:57 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:too much use of cpu

and also in the appearance under aplication definition there is nothing in set clip shape...
Reply With Quote
  #7 (permalink)  
Old 01-18-2005, 08:02 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:too much use of cpu

I want it to be transparent without too much cpu load and slowing down

So do I change this to:

//script 1
Application.Appearance.windowShape = true

??
Reply With Quote
  #8 (permalink)  
Old 01-18-2005, 01:34 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:too much use of cpu

Sorry, it's a bug of v2.2, in v1.1 it works well. However, you can save your project and closes swfkit then open it again, it will work.

Or set the windows shape to rectangle in
[Operation panel]->[Application definition]->[Appearance]

and insert the following code into the "initialize" script
Code:
Application.Appearance.windowShape = "Region 0";
v2.2 cannot update the clip regions when a new clip region is created. Sorry for the inconvenience again, we will correct it in the next version.
Reply With Quote
  #9 (permalink)  
Old 06-29-2007, 07:38 AM
Junior Member
 
Join Date: Jun 2007
Posts: 10
Default Re:too much use of cpu

Hi,

in Version 3.1 of SWFKit Express , there still is the same update error - why didnt you correct this as promised and why didnt you reduce the CPU Power usage for transparent windows ???
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:35 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.