[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_... |
Date: |
Mon, 24 Sep 2007 10:54:07 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/09/24 10:54:07
Modified files:
. : ChangeLog
testsuite/misc-ming.all: action_execution_order_test5.c
Log message:
* testsuite/misc-ming.all/action_execution_order_test5.c: tests _proto__
property of parant/child/brother clips at onInitialize time.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4387&r2=1.4388
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test5.c?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4387
retrieving revision 1.4388
diff -u -b -r1.4387 -r1.4388
--- ChangeLog 24 Sep 2007 10:07:06 -0000 1.4387
+++ ChangeLog 24 Sep 2007 10:54:06 -0000 1.4388
@@ -1,3 +1,8 @@
+2007-09-24 Zou Lunkai <address@hidden>
+
+ * testsuite/misc-ming.all/action_execution_order_test5.c: tests _proto__
+ property of parant/child/brother clips at onInitialize time.
+
2007-09-24 Sandro Santilli <address@hidden>
* server/sprite_instance.{cpp,h}: moved ActionScript object
Index: testsuite/misc-ming.all/action_execution_order_test5.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test5.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/action_execution_order_test5.c 7 Sep 2007
11:56:07 -0000 1.3
+++ testsuite/misc-ming.all/action_execution_order_test5.c 24 Sep 2007
10:54:07 -0000 1.4
@@ -101,6 +101,13 @@
SWFDisplayItem_setName(it1211, "mc1211");
/* add onClipEvents */
+ SWFDisplayItem_addAction(it1211, // the inner most child
+ compileSWFActionCode(" _root.note('mc1211 onInitialize called'); "
+ " _root.check_equals(this.__proto__,
MovieClip.prototype);"
+ " _root.check_equals(this._parent.__proto__,
MovieClip.prototype);"
+ " _root.check_equals(this._parent._parent.__proto__,
MovieClip.prototype);"),
+ SWFACTION_INIT);
+
SWFDisplayItem_addAction(it1211,
compileSWFActionCode(" _root.note('mc1211 onLoad called'); "
" _root.x1 += '5+'; "),
@@ -174,6 +181,15 @@
SWFDisplayItem_setName(it12, "mc12");
/* add onClipEvents */
+ SWFDisplayItem_addAction(it12, // the inner most child
+ compileSWFActionCode(" _root.note('mc12 onInitialize called'); "
+ " _root.check_equals(this, _root.mc1.mc12);"
+ " _root.check_equals(this.__proto__,
MovieClip.prototype);"
+ " _root.check_equals(this._parent.__proto__,
MovieClip.prototype);"
+ " _root.check_equals(this._parent.mc11.__proto__,
MovieClip.prototype);"
+ " _root.xcheck_equals(this.mc121.__proto__,
MovieClip.prototype);"),
+ SWFACTION_INIT);
+
SWFDisplayItem_addAction(it12,
compileSWFActionCode(" _root.note('mc12 onLoad called'); "
" _root.x1 += '3+'; "),
@@ -235,6 +251,3 @@
return 0;
}
-
-
-