[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: |
Fri, 21 Sep 2007 06:35:31 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/09/21 06:35:31
Modified files:
testsuite/misc-swfc.all: movieclip_destruction_test1.sc
Log message:
add tests for DoInitActions, actions in DoInitAction could see child
sprite placed after it.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.17&r2=1.18
Patches:
Index: movieclip_destruction_test1.sc
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- movieclip_destruction_test1.sc 18 Sep 2007 09:49:24 -0000 1.17
+++ movieclip_destruction_test1.sc 21 Sep 2007 06:35:31 -0000 1.18
@@ -225,7 +225,7 @@
//
.frame 12
.sprite mc61 // Define a movieclip
- .frame 1 b3
+ .frame 1 .put b3
.end
.sprite mc6
@@ -245,11 +245,16 @@
_root.check_equals(typeof(mc6), 'movieclip');
_root.check_equals(typeof(mc6.mc61), 'movieclip');
_root.check_equals(typeof(mc7), 'movieclip');
+ _root.check_equals(typeof(mc7.mc71), 'movieclip');
_root.check_equals(this, _root); // target is the root !
.end
+ .sprite mc71
+ .frame 1 .put b3
+ .end
+
.sprite mc7 // Define a movieclip
- .frame 1 b3
+ .frame 1 .put mc71
.end
.put mc7 // Place the movieclip