[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/gotoFra...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/gotoFra... |
Date: |
Mon, 26 Feb 2007 15:16:50 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/26 15:16:50
Modified files:
. : ChangeLog
testsuite/misc-ming.all: gotoFrame2Test.as
Log message:
* testsuite/misc-ming.all/gotoFrame2Test.as: don't
use Ming-specific 'gotoFrame' ActionScript construct.
With newer Ming versions (0.4.0.beta4 up) the gotoAndPlay()
call will be converted to GOTOFRAME2 nonetheless.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2473&r2=1.2474
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/gotoFrame2Test.as?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2473
retrieving revision 1.2474
diff -u -b -r1.2473 -r1.2474
--- ChangeLog 26 Feb 2007 14:19:23 -0000 1.2473
+++ ChangeLog 26 Feb 2007 15:16:50 -0000 1.2474
@@ -1,5 +1,9 @@
2007-02-26 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/gotoFrame2Test.as: don't
+ use Ming-specific 'gotoFrame' ActionScript construct.
+ With newer Ming versions (0.4.0.beta4 up) the gotoAndPlay()
+ call will be converted to GOTOFRAME2 nonetheless.
* server/vm/ASHandlers.cpp (ActionGotoExpression:
Frame are 1-based when referred to by Flash coders.
* testsuite/samples/Makefile.am:
Index: testsuite/misc-ming.all/gotoFrame2Test.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/gotoFrame2Test.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/gotoFrame2Test.as 21 Feb 2007 14:13:30 -0000
1.3
+++ testsuite/misc-ming.all/gotoFrame2Test.as 26 Feb 2007 15:16:50 -0000
1.4
@@ -11,13 +11,14 @@
check_equals(counter, 1);
// this would emit a function call
-//gotoAndPlay(temp);
+//this.gotoAndPlay(temp);
// this would emit a GOTOFRAME tag
//gotoFrame(2);
// this emits a GOTOFRAME2 (GOTOEXPRESSION) tag
-gotoFrame(temp);
+// (only if Ming version is 00040004 or higher)
+gotoAndPlay(temp);
check_equals(_currentframe, temp);
check_equals(counter, 1); // gotoFrame(_currentframe) is a no-op
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/gotoFra...,
Sandro Santilli <=