[Laszlo-checkins] r13816 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9
hqm@openlaszlo.org
hqm at openlaszlo.org
Wed May 6 15:11:04 PDT 2009
Author: hqm
Date: 2009-05-06 15:11:01 -0700 (Wed, 06 May 2009)
New Revision: 13816
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
Log:
Change 20090506-hqm-N by hqm at badtzmaru.home on 2009-05-06 11:32:47 EDT
in /Users/hqm/openlaszlo/trunk4
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for setting resource frame number from lzx tag in swf9
New Features:
Bugs Fixed: LPP-8161
Technical Reviewer: max
QA Reviewer: andre
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ Call this.loaderMC.gotoAndStop() with the actual desired frame number, not the one which has
been munged.
Tests:
test case from bug report
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as 2009-05-06 21:54:03 UTC (rev 13815)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as 2009-05-06 22:11:01 UTC (rev 13816)
@@ -1087,7 +1087,7 @@
this.__isinternalresource = false;
this.loaderMC = MovieClip(loader.content);
this.totalframes = this.loaderMC.totalFrames;
- this.loaderMC.gotoAndStop(fn);
+ this.loaderMC.gotoAndStop(origfn);
}
} else {
// Set later, to prevent movieclip resources from being forced to frame 1 - see LPP-7534
More information about the Laszlo-checkins
mailing list