Skip to content

Commit

Permalink
FlaLoader: load "MyFla.swf", not "MyFla.fla.swf"
Browse files Browse the repository at this point in the history
  • Loading branch information
tconkling committed May 1, 2012
1 parent 61ebf22 commit 2db82a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/src/main/as/flump/export/FlaLoader.as
Expand Up @@ -30,7 +30,7 @@ public class FlaLoader
future.succeed(_library);
});

var loadSWF :Future = _library.loadSWF(file.nativePath + ".swf");
var loadSWF :Future = _library.loadSWF(Files.replaceExtension(file, "swf"));
loadSWF.succeeded.add(function () :void {
// Since listLibrary shuts down the executor, wait for the swf to load first
listLibrary(file);
Expand Down

0 comments on commit 2db82a3

Please sign in to comment.