|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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"; |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|