View Single Post
  #3 (permalink)  
Old 06-03-2009, 07:22 PM
SWFKit SWFKit is offline
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
Default

In swfkit pro 2 the movies in the "Movies" list and those in the "Attachments" will be placed in different folders, i.e. they cannot "see' each other, and thus cause problems. In swfkit 3 this kind of problems have been solved.

To make your project also work in swfkit pro 2, you may do as follows
1) you must have a main movie in the "Movies" list. Please move it into the "Attachments" list, as well as all other movies in "Movies" list. That is, the "Movies" list will be empty.
2) swfkit 2 requires at least a movie in the "Movies" list to be the main movie. So you need to create a blank movie, and add it into the "Movies" list, and set it to be the main movie.
3) the blank movie isn't the "real" main movie you want. So you will have to add the following code into the "initialize" script of your swfkit pro 2 project:
Code:
Application.onGetMovie = function (movie) {
    movie.value = getAdditionalFile("The real main movie.swf");
    return true;
}
The idea is that you first make a blank movie to "deceive" swfkit pro 2, and then in the script tell it which movie is the real main movie. Since all the useful files are in the "attachments" list, they can see each other, and thus can load each other without any problem.

As many users requested, we're building a new version of the replacer for swfkit pro 3. You'll be able to upgrade to the new version for free if you have the current version.
Reply With Quote