Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2003, 11:34 AM
Junior Member
 
Join Date: Feb 2003
Posts: 6
Default Flash Speed in SwfKit

Hi.

There is always a difference of speed between a Flash projector made with flash and a projector built with swfkit.
I used swfkit to protect my games and some other stuff but is there any solution or tips or recommendations to increase the speed of the flash (a major issue for games) ?
I tried to increase the fps from the flash before publish it with swfkit (+12 fps). It's better but it seems take more CPU... and it doesn't accelerate buttons inside movie clips as well as movie clips alone... weird.

Thank you for your help.
Reply With Quote
  #2 (permalink)  
Old 04-03-2003, 07:45 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Flash Speed in SwfKit

Hi,

SWFKit won't decrease the playback speed of your movie if the projector does not invoke any complex FFish Script. Only the FFish scripts take more CPU time.

Another situation is that the projector has been set to be transparent. If the transparency is made by a clip region, it won't take more CPU time. But if it is set by the "Transparent background" option, it will take much more CPU time than an opaque projector. For SWFKit needs to calculate the transparent area of every frame in the movie.

Reply With Quote
  #3 (permalink)  
Old 01-18-2005, 08:04 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:Flash Speed in SwfKit

But how do you do it?
Reply With Quote
  #4 (permalink)  
Old 08-11-2005, 04:37 PM
Junior Member
 
Join Date: Aug 2005
Posts: 2
Default Re:Flash Speed in SwfKit

I've been having the same problem.

I'm creating a screensaver but my original flash file is in 30 fps and when I build the screensaver with swfkit, it plays it back at 12 fps. Is there any way to fix this? Thanks.

-Sam
Reply With Quote
  #5 (permalink)  
Old 08-12-2005, 11:39 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Flash Speed in SwfKit

Does the movie run in the default size? Screen savers are playing in fullscreen mode, if the movies are playing in a larger size than normal, the frame rate will be reduced.
Reply With Quote
  #6 (permalink)  
Old 08-15-2005, 01:33 PM
Junior Member
 
Join Date: Aug 2005
Posts: 2
Default Re:Flash Speed in SwfKit

Yes the flash piece is playing in the same default size. I also tried making an application from a simple 30 fps movie and it seemed as if it was running at 12 fps as well. Is there a fix or something that i can do programmatically so that it keeps its original 30 fps? Thanks.

-Sam
Reply With Quote
  #7 (permalink)  
Old 04-15-2006, 04:29 AM
Junior Member
 
Join Date: Apr 2006
Posts: 1
Default Re:Flash Speed in SwfKit

Hi, i'm growie....i have same problem too. when i'm create my .exe with swfkit...my aplication is work but its going slowdown. when i'm running my .swf its fine...my aplication running normal. why??? please help fix my problem....by the way....i'm create virtual magazine for my work, and the file size is 55mb. :-[
Reply With Quote
  #8 (permalink)  
Old 04-17-2006, 01:03 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Flash Speed in SwfKit

We recommend that you move the all your movies into the attachment list, and add a blank movie into the movie list. In the "initialize" script, insert the following code:
Code:
getAdditionalFile();
Application.onGetMovie = function (movie)
{
movie.value = getAdditionalFile("mymainmovie.swf");
return true;
}
In the code, you would have to replace the "mymainmovie.swf" with the name of your main movie in the attachment list. By handling the "onGetMovie" event, the code tells swfkit where the main movie is.

In this way, your exe file will launch much faster than the standard method (put the main movie in the movie list). The reason is that the main movie will be a part of the output exe file if the main movie is in the movie list, so that the exe file is very big for the system to load it into memory. But if the main movie is added into the attachment list, although it is also packed into the output exe file, the Windows system does not treat it as a part of the exe file, so that the system does not need to load the whole exe file into the memory to run it and you will feel that in this way the exe file launches much faster.

In swfkit 3, the movie list no longer exists, the attachment list is now called "resources", and the new method introduced above becomes the standard method. Of course, in swfkit 3 you won't have to handle the "onGetMovie" event and swfkit knows which movie is the main movie in "resources". Another benefit of using this method is that we won't worry about the "file path" problem any more.

Your swfkit 2 projects will be automatically converted to swfkit 3 format if you use swfkit 3.
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 06:19 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.