gnash-commit
[Top][All Lists]
Advanced

[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: Wed, 05 Sep 2007 08:11:51 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/05 08:11:51

Modified files:
        testsuite/misc-swfc.all: movieclip_destruction_test1.sc 

Log message:
        add test for referencing a child in init actions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: movieclip_destruction_test1.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- movieclip_destruction_test1.sc      5 Sep 2007 02:32:58 -0000       1.10
+++ movieclip_destruction_test1.sc      5 Sep 2007 08:11:50 -0000       1.11
@@ -195,15 +195,20 @@
 // Seperate tests for DoInitAction.
 //
 .frame 12
-  .sprite mc6  // Define a movieclip
+  .sprite mc61  // Define a movieclip
     .frame 1  b3
   .end
   
+  .sprite mc6
+    .frame 1  .put mc61
+  .end
+  
   .put mc6    // Place the movieclip
   
   .initaction mc6: // Add initactions for mc6
     // Gnash fails by not respecting actions order for initactions
     _root.xcheck_equals(typeof(mc6), 'movieclip');
+    _root.xcheck_equals(typeof(mc6.mc61), 'movieclip');
     _root.xcheck_equals(typeof(mc7), 'movieclip');
   .end
   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]