[Laszlo-checkins] r10688 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9

bargull@openlaszlo.org bargull at openlaszlo.org
Wed Aug 13 15:51:47 PDT 2008


Author: bargull
Date: 2008-08-13 15:51:45 -0700 (Wed, 13 Aug 2008)
New Revision: 10688

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
Log:
Change 20080814-bargull-COE by bargull at dell--p4--2-53 on 2008-08-14 00:26:17
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: swf9 debugloader

New Features:

Bugs Fixed: LPP-6840

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
If there are multiple calls to LFCApplication#consoleInputHandler(), only the last Loader will be saved in LFCApplication#debugloader. Could be an issue when unloading the movieclip in LFCApplication#debugEvalListener().
    

Tests:



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as	2008-08-13 22:27:04 UTC (rev 10687)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LFCApplication.as	2008-08-13 22:51:45 UTC (rev 10688)
@@ -135,11 +135,9 @@
 
     }
 
-    var debugloader:Loader;
-
     // Debugger loader completion handler 
     function debugEvalListener (e:Event):void {
-        debugloader.unload();
+        e.target.loader.unload();
         //DebugExec(e.target.content).doit();
     }
 
@@ -150,7 +148,7 @@
             write(expr);
             consoleinputtext.text = "";
 
-            debugloader = new Loader();
+            var debugloader:Loader = new Loader();
             debugloader.contentLoaderInfo.addEventListener(Event.INIT, debugEvalListener);
 
             // Send EVAL request to LPS server



More information about the Laszlo-checkins mailing list