[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-268-g01751cb |
Date: |
Fri, 15 Apr 2011 07:03:51 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 01751cbf0cb298150d37d436412143b58b108f73 (commit)
from fdc6996a8f946cb6919244ac407a0cb60ee5846e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=01751cbf0cb298150d37d436412143b58b108f73
commit 01751cbf0cb298150d37d436412143b58b108f73
Author: Sandro Santilli <address@hidden>
Date: Fri Apr 15 09:03:36 2011 +0200
Add callback for Sound.onLoad
diff --git a/testsuite/misc-ming.all/easysound.as
b/testsuite/misc-ming.all/easysound.as
index 2dc4374..3c80613 100644
--- a/testsuite/misc-ming.all/easysound.as
+++ b/testsuite/misc-ming.all/easysound.as
@@ -37,7 +37,24 @@ mySound = new Sound();
mySound.onSoundComplete = function()
{
- trace("soundComplete");
+ var s = 'onSoundComplete(';
+ for (var i=0; i<arguments.length; ++i) {
+ if ( i ) s += ', ';
+ s += arguments[i];
+ }
+ s += ')';
+ trace(s);
+};
+
+mySound.onLoad = function(success)
+{
+ var s = "onLoad(";
+ for (var i=0; i<arguments.length; ++i) {
+ if ( i ) s += ', ';
+ s += arguments[i];
+ }
+ s += ')';
+ trace(s);
};
s_load = function()
-----------------------------------------------------------------------
Summary of changes:
testsuite/misc-ming.all/easysound.as | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-268-g01751cb,
Sandro Santilli <=