[Laszlo-checkins] r6410 - openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf

max@openlaszlo.org max at openlaszlo.org
Fri Sep 7 22:36:48 PDT 2007


Author: max
Date: 2007-09-07 22:36:42 -0700 (Fri, 07 Sep 2007)
New Revision: 6410

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
Log:
Change 20070907-maxcarlson-a by maxcarlson at plastik on 2007-09-07 19:42:18 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix text redraw performance in flash 8

New Features:

Bugs Fixed: LPP-4675 - Scrolling large text (100K) is very slow

Technical Reviewer: promanik
QA Reviewer: pkang
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Turning on cacheAsBitmap for the text movieclip makes scrolling nice and zippy when compiled for Flash 8.
    

Tests: http://localhost:8080/wafflecone/my-apps/textspeed-lpp-4675.lzx?lzr=swf8 is muuuch faster



Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as	2007-09-08 04:45:17 UTC (rev 6409)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as	2007-09-08 05:36:42 UTC (rev 6410)
@@ -40,6 +40,7 @@
 
     //Debug.write('created', textclip, 'in', mc, txtname);
 
+    textclip.cacheAsBitmap = true;
     this.__LZtextclip = textclip;
     // set a pointer back to this view from the TextField object
     textclip.__lzview = this.owner;



More information about the Laszlo-checkins mailing list