Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2006, 01:30 AM
Junior Member
 
Join Date: May 2006
Posts: 20
Default can't select flashplayer version in swfkit 3?

In swfkit 2 , when I make a standalone exe file,
I can select flashplayer version in view \options...
But in swfkit 3 , I found no way to set that option..
Is this option disabled? ???
Reply With Quote
  #2 (permalink)  
Old 07-26-2006, 12:42 PM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:can't select flashplayer version in swfkit 3?

quote from help files

Quote:
The flash player that will be packed into a stand alone .exe file resides in the data subfolder of the folder that SWFKit was installed into. The file name of the flash player is "install_flash_player_active_x.exe", whose version is . If Adobe upgrades it, SWFKit will download it automatically by using the auto update feature. Another important file about the flash player is the flash_player.ini, which defines the version and file name of the flash player. If you want to use some special version of flash player, you can copy it into the folder and modify the flash_player.ini file. SWFKit will read the information of the flash player to create stand alone .exe files from the flash_player.ini file. The flash player should be an installer of the flash player that can be downloaded from Adobe after you get a distribution license.
Reply With Quote
  #3 (permalink)  
Old 07-27-2006, 02:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:can't select flashplayer version in swfkit 3?

http://www.swfkit.com/swfkit/doc/manual/node32.html
Reply With Quote
  #4 (permalink)  
Old 06-22-2007, 04:30 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Default Re:can't select flashplayer version in swfkit 3?

Hello,

thank you for your answer, all seams clear.

Still I have one more question.
I will not pack all my resource files and just encrypt files.

But I still would like to Pack at SWFKit.exe two files, which would be in my case "Main.swf" and "install_flash_player_active_x.exe" The reason is, I want to be seen at my \root directory\ on the CD, only one file which is \SWFKit.exe

Is it possibel to have only that 2 files packed at SWFKit.exe?

Thank you in advance.
Walter Zeller
Reply With Quote
  #5 (permalink)  
Old 06-23-2007, 09:41 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:can't select flashplayer version in swfkit 3?

Yes, you can do that by adding only the "main.swf" into the "resources" panel, and then encrypting the other resource files and copying them to the output folder. To encrypt other files, you must first open your swfkit project, and then use the command "encrypt external files" from [main menu]->[tools]. This command uses the password of the opened swfkit project to encrypt external files. Therefore, you must open the swfkit project you are working on before you encrypt the other resource files so that the output exe file can open the encrypted resource files.

The main disadvantage of this method is that you will have to make some changes in your actionscript code in the "main.swf" - you must use absolute path names to open the other resource files. Usually you use relative path names to load other resource files, for example, you use "flvs\\movie1.flv" but not "c:\\my project\\flvs\\movie1.flv" to load the flv file in "c:\my project\flvs", if the "main.swf" is in "c:\my project", because the "main.swf" and the other resource files have the same root directory. However, if only the "main.swf" is packed and the others are not, they will have different root directories. Therefore, you will have to modify your actionscript code. Say your previous code is
Code:
loadMovie("movies\\child.swf", mc_child);
You will have to change it to
Code:
import SWFKit.*;
var child = Global.getAppDir() + "\\movies\\child.swf";
loadMovie(child, mc_child);
If you do not want to change your actionscript code, there is another way - you just pack the flash player and encrypt all your resource files and leave them all unpacked, including the "main.swf". This can be done by first adding a blank swf file into the "resources" panel, and then encrypting and copying all your resource files as the first method.

In this way, the main movie you have set is the blank movie, so you must handle the "onGetMovie" event in the "initialize" script in swfkit to make it load the "main.swf", or it will only display the blank movie and stop. The following code shows how to do that
Code:
Application.onGetMovie = function (movie) {
movie.value = getAppDir() + "\\movies\\main.swf";
return true;
}
If you still have any problem, please feel free to let us know by sending us emails to support@swfkit.com.
Reply With Quote
  #6 (permalink)  
Old 06-27-2007, 09:57 AM
Junior Member
 
Join Date: May 2007
Posts: 22
Default Re:can't select flashplayer version in swfkit 3?

Hello,

I have choosen your 2. recommentation (If you do not want to change your actionscript code....) but on some point I have a probelm.

Situation as following:

1./ I have made a blank swf = 00_Start.swf

2./ At SwfKit / Recources / I have add only one file = 00_Start.swf and set as Main Movie

3./ I have made a directory \movies and I copied following files there
\movies\Main.swf
\movies\Choosevideo.swf
\movies\Kids.swf
\movies\CananIntro.swf

4./ I have add following Initialize Script
Application.onGetMovie = function (movie) { movie.value = getAppDir() + "\\movies\\main.swf"; return true;}

5./ I build movie = Standalone = True, Pack Recourses = TRUE
After building I have following situation

\swfKit.exe
\movies\Main.swf
\movies\Choosevideo.swf
\movies\Kids.swf
\movies\CananIntro.swf


6./ Run swfKit.exe
When I run swfKit.exe it starts correct \movies\Main.swf and Main.swf runs with following code correct \movies\Choosevideo.swf

loadMovie ("Choosevideo.swf", contenedor);
_root.planetsystem = "kids";

At \movies\Choosevideo.swf = I have a link "Kids" which has following code:

on (release) {
loadMovie ("Kids.swf", _root.contenedor);
loadMovie ("CananIntro.swf", _root.mc_video);
}

And here is my problem:
When I click nothing happend.

As Information:
When I run \movies\Main.swf directly (I mean without swfKit) all works fine.

Could you please help me with that problem.

Thank you in advance,
Walter Zeller
Reply With Quote
  #7 (permalink)  
Old 06-27-2007, 01:22 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:can't select flashplayer version in swfkit 3?

It seems to be a strange problem. Could you please send us your files(to support@swfkit.com)? We will help you resolve the problem.
Reply With Quote
  #8 (permalink)  
Old 06-27-2007, 02:12 PM
Junior Member
 
Join Date: May 2007
Posts: 22
Default Re:can't select flashplayer version in swfkit 3?

Hello,

As one of the fla includes a video.flv the files are big. Because of this I have download them under:

****** (approx 50mb)

The zip file includes the same directory structur as we have including all *.fla.

Thank you for your help.

Walter Zeller
Reply With Quote
  #9 (permalink)  
Old 06-27-2007, 03:06 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:can't select flashplayer version in swfkit 3?

Got it. We will get back to you a.s.a.p.
Reply With Quote
  #10 (permalink)  
Old 06-28-2007, 01:29 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:can't select flashplayer version in swfkit 3?

You have checked the "ignore left mouse button click" option in [application definition]->[interaction], so that your program cannot receive mouse clicks. If you change the option to "send to flash player], it will work well.
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 03:48 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.