|
|||
|
flash.pro says:
Quote:
|
|
|||
|
Sorry we haven't found any method to make it work: if the swf file was packed into the output exe, it is extracted to the variant temporary directory every time you launch the exe. The swf movie in different path owns different shared object.
If you still want to use shared object with SWFKit, you should uncheck the "pack movies" option in the "Add movies and set icons" dialog. |
|
|||
|
It works. Just keep the movie always in the same path. In SWFKit 1.0, you must unckeck the "pack movies" option. In SWFKit 1.05, there is another way:
SWFKit 1.05 can pack addtional files and extract any file dynamically. You can add the movie into the "Addtional files" and extract it to an unchanging path every time. Code:
var dest = "an unchanging pathname";
//extract the movie
var path = getAdditionalFile("a movie.swf");
//copy the movie to the specified path
var file = new File(path);
file.copy(dest);
//load the movie
FlashPlayer.movie = dest;
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|