[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/replace...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/replace... |
Date: |
Thu, 24 May 2007 14:34:51 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/05/24 14:34:51
Modified files:
. : ChangeLog
testsuite/misc-ming.all: replace_sprites1test.c
Log message:
* testsuite/misc-ming.all/replace_sprites1test.c:
Add onClipEvent(unload) to both PLACE and REPLACE tag.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3341&r2=1.3342
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_sprites1test.c?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3341
retrieving revision 1.3342
diff -u -b -r1.3341 -r1.3342
--- ChangeLog 24 May 2007 13:48:43 -0000 1.3341
+++ ChangeLog 24 May 2007 14:34:50 -0000 1.3342
@@ -1,5 +1,10 @@
2007-05-24 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/replace_sprites1test.c:
+ Add onClipEvent(unload) to both PLACE and REPLACE tag.
+
+2007-05-24 Sandro Santilli <address@hidden>
+
* backend/sound_handler_gst.cpp: warn only once about fluendo plugin
being too old.
* server/parser/shape_character_def.cpp (read):
Index: testsuite/misc-ming.all/replace_sprites1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_sprites1test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/replace_sprites1test.c 24 May 2007 12:08:04
-0000 1.6
+++ testsuite/misc-ming.all/replace_sprites1test.c 24 May 2007 14:34:51
-0000 1.7
@@ -137,8 +137,7 @@
SWFDisplayItem_moveTo(it1, 100, 300);
SWFDisplayItem_setName(it1, "static1");
SWFDisplayItem_addAction(it1, newSWFAction(
- "_root.note(this+' onClipConstruct');"
- " _root.check_equals(typeof(_root), 'movieclip');"
+ "_root.note(this+' onClipConstruct (place)');"
" if ( isNaN(_root.depth3Constructed) ) {"
" _root.depth3Constructed=1; "
" } else {"
@@ -146,6 +145,15 @@
" }"
" _root.note('_root.depth3Constructed set to
'+_root.depth3Constructed);"
), SWFACTION_CONSTRUCT);
+ SWFDisplayItem_addAction(it1, newSWFAction(
+ "_root.note(this+' onClipUnload (place)');"
+ " if ( isNaN(_root.depth3Unloaded) ) {"
+ " _root.depth3Unloaded=1; "
+ " } else {"
+ " _root.depth3Unloaded++;"
+ " }"
+ " _root.note('_root.depth3Unloaded set to
'+_root.depth3Unloaded);"
+ ), SWFACTION_UNLOAD);
add_actions(mo, "static1.name='static1';");
check_equals(mo, "typeof(static1)", "'movieclip'");
@@ -165,7 +173,7 @@
SWFDisplayItem_moveTo(it1, 130, 330);
SWFDisplayItem_setName(it1, "static2");
SWFDisplayItem_addAction(it1, newSWFAction(
- "_root.note(this+' onClipConstruct');"
+ "_root.note(this+' onClipConstruct (replace)');"
" _root.check_equals(typeof(_root), 'movieclip');"
" if ( isNaN(_root.depth3Constructed) ) {"
" _root.depth3Constructed=1; "
@@ -174,6 +182,15 @@
" }"
" _root.note('_root.depth3Constructed set to
'+_root.depth3Constructed);"
), SWFACTION_CONSTRUCT);
+ SWFDisplayItem_addAction(it1, newSWFAction(
+ "_root.note(this+' onClipUnload (replace)');"
+ " if ( isNaN(_root.depth3Unloaded) ) {"
+ " _root.depth3Unloaded=1; "
+ " } else {"
+ " _root.depth3Unloaded++;"
+ " }"
+ " _root.note('_root.depth3Unloaded set to
'+_root.depth3Unloaded);"
+ ), SWFACTION_UNLOAD);
// Can still reference the old character and it's variables, after replace