[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-swfc.all movieclip_destruc...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash/testsuite/misc-swfc.all movieclip_destruc... |
Date: |
Tue, 04 Sep 2007 09:33:10 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/09/04 09:33:10
Modified files:
testsuite/misc-swfc.all: movieclip_destruction_test1.sc
Log message:
seem onUnload defined or not does not affect the skipped actions.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: movieclip_destruction_test1.sc
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- movieclip_destruction_test1.sc 4 Sep 2007 05:43:56 -0000 1.7
+++ movieclip_destruction_test1.sc 4 Sep 2007 09:33:10 -0000 1.8
@@ -85,6 +85,14 @@
check_equals(mc1.getDepth(), -16383);
.end
+// No matter onUnload defined or not, the above actions still got skipped.
+//#define DEFINE_ONUNLOAD
+#ifdef DEFINE_ONUNLOAD
+ .action:
+ // Define onUnload(for deduction)
+ mc1.onUnload = function () {};
+ .end
+#endif
.frame 3
.sprite mc2 // Define mc2 and add init_actions for it