From 2db82a30c5c3e50ce15a849d87f06c8bc8eb821c Mon Sep 17 00:00:00 2001 From: Tim Conkling Date: Tue, 1 May 2012 12:21:44 -0700 Subject: [PATCH] FlaLoader: load "MyFla.swf", not "MyFla.fla.swf" --- exporter/src/main/as/flump/export/FlaLoader.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/src/main/as/flump/export/FlaLoader.as b/exporter/src/main/as/flump/export/FlaLoader.as index e657d72..e45d8ae 100644 --- a/exporter/src/main/as/flump/export/FlaLoader.as +++ b/exporter/src/main/as/flump/export/FlaLoader.as @@ -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);