[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: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-swfc.all movieclip_destruc... |
Date: |
Thu, 06 Sep 2007 10:07:31 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/06 10:07:31
Modified files:
testsuite/misc-swfc.all: movieclip_destruction_test4.sc
Log message:
Add visual notes of what's being executed
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test4.sc?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: movieclip_destruction_test4.sc
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test4.sc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- movieclip_destruction_test4.sc 5 Sep 2007 09:47:56 -0000 1.3
+++ movieclip_destruction_test4.sc 6 Sep 2007 10:07:31 -0000 1.4
@@ -65,9 +65,17 @@
.sprite mc2
.frame 1
+ .action:
+ _root.note("Running frame1["+this._currentframe+"] actions of
mc2["+this._target+"] (adding red square)");
+ .end
.put red_square x=300 y=300
+ .frame 2
+ .action:
+ _root.note("Running frame2["+this._currentframe+"] actions of
mc2["+this._target+"] (nothing new)");
+ .end
.frame 3
.action:
+ _root.note("Running frame3["+this._currentframe+"] actions of
mc2["+this._target+"] (removing brothers 1,3,4,5,6)");
_root.brother1['removeMovieClip']();
_root.brother3['removeMovieClip']();
_root.brother4['removeMovieClip']();
@@ -90,6 +98,7 @@
.frame 3
.action:
+ _root.note("Running frame3 actions of _root (attach brothers)");
_root.attachMovie("mc1", "brother1", 10);
_root.attachMovie("mc2", "brother2", 20);
_root.attachMovie("mc3", "brother3", 30);
@@ -130,9 +139,15 @@
};
.end
+.frame 4
+ .action:
+ _root.note("Running frame3 actions of _root (nothing new)");
+ .end
+
.frame 5
.action:
+ _root.note("Running frame5 actions of _root");
check_equals(typeof(brother1), 'undefined');
check_equals(typeof(brother2), 'movieclip');
check_equals(typeof(brother3), 'undefined');