Displaying 9 results from an estimated 9 matches for "onloadinit".
Did you mean:
onloading
2007 Nov 20
0
4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/image test/trace
...0, 100);
+
+createEmptyMovieClip ("b", 1);
+rectangle (b, 0xFF, 0, 0, 100, 100);
+
+b.setMask (a.a.a.a);
+
commit 65a41812cc3db14b5e41a2a62dee9361fc0707ec
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Nov 20 12:28:16 2007 +0100
add test that tests image size is known in onLoadInit
diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am
index 22c2c3f..715e7bf 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -1358,6 +1358,11 @@ EXTRA_DIST = \
moviecliploader-getprogress-7.swf.trace \
moviecliploader-getprogress-8.swf \
moviecliploader-getprogress...
2007 Nov 12
0
13 commits - libswfdec/Makefile.am libswfdec/swfdec_decoder.c libswfdec/swfdec_decoder.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_image.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_image_decoder.h
...wfdec_swf_decoder.c | 13 ++++
test/dump.c | 2
18 files changed, 322 insertions(+), 42 deletions(-)
New commits:
commit c88c1cbe0b7d222e5915e92fa8f94f125434f48c
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Nov 12 18:00:11 2007 +0100
always schedule onLoadInit execution, as it's where we set the image
diff --git a/libswfdec/swfdec_resource.c b/libswfdec/swfdec_resource.c
index 64bb1cd..d5be854 100644
--- a/libswfdec/swfdec_resource.c
+++ b/libswfdec/swfdec_resource.c
@@ -105,7 +105,7 @@ swfdec_resource_loader_target_image (SwfdecResource *instance)...
2007 Nov 08
0
5 commits - libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h player/swfdec_slow_loader.c test/trace
...ize (slow, new, slow->duration / 1000);
+ swfdec_slow_loader_initialize (slow, new, SWFDEC_SLOW_LOADER (parent)->duration / 1000);
}
static void
commit 044f91160c1cdaf3919c8ad28ef404232ec9a182
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Nov 8 16:05:45 2007 +0100
emit onLoadInit events
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index fd84130..d08215d 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -1178,6 +1178,24 @@ swfdec_player_stage_to_global (SwfdecPlayer *player, double *x, double *y)
}
static void
+swfdec_player...
2007 Nov 07
0
7 commits - doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_decoder.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...c/swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c
index 4326235..2879324 100644
--- a/libswfdec/swfdec_as_strings.c
+++ b/libswfdec/swfdec_as_strings.c
@@ -429,5 +429,8 @@ const char swfdec_as_strings[] =
SWFDEC_AS_CONSTANT_STRING ("onLoadError")
SWFDEC_AS_CONSTANT_STRING ("onLoadInit")
SWFDEC_AS_CONSTANT_STRING ("onLoadProgress")
+ SWFDEC_AS_CONSTANT_STRING ("URLNotFound")
+ SWFDEC_AS_CONSTANT_STRING ("IllegalRequest")
+ SWFDEC_AS_CONSTANT_STRING ("LoadNeverCompleted")
/* add more here */
;
diff --git a/libswfdec/swfdec_res...
2007 Dec 11
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_movie.c test/trace
...000000..c633ba8
--- /dev/null
+++ b/test/trace/crash-0.5.4-huge-image.as
@@ -0,0 +1,8 @@
+// makeswf -v 7 -s 200x150 -r 1 -o crash-0.5.4-huge-image.swf crash-0.5.4-huge-image.as
+
+l = new MovieClipLoader ();
+createEmptyMovieClip ("a", 0);
+l.loadClip ("swfdec-huge.jpg", a);
+l.onLoadInit = function () {
+ loadMovie ("fscommand:quit", "");
+};
diff --git a/test/trace/swfdec-huge.jpg b/test/trace/swfdec-huge.jpg
new file mode 100644
index 0000000..48ff966
Binary files /dev/null and b/test/trace/swfdec-huge.jpg differ
2007 Nov 10
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie_as.c test/trace
...nLoadProgress = function (m, l, t) {
+ trace ("that's progress: " + l + "/" + t);
+ trace ("that's progress: " + a.getBytesLoaded () + "/" + a.getBytesTotal ());
+};
+l.onLoadComplete = function (m, l, t) {
+ trace ("done \\o/");
+};
+
+l.onLoadInit = function (m) {
+ trace (a == x);
+ trace (a == m);
+ trace (a._url.substr (-11));
+ a.onEnterFrame = function () { trace ("onEnterFrame"); };
+};
+l.loadClip ("moviecliploader-unknown-format.as", a);
+
+setTimeout (function () {
+ trace (x == a);
+ trace (a._framesloade...
2007 Dec 18
2
Changes to 'refs/tags/0.5.5'
...mparison on 32bit
don't render text fields when clipping
add first bunch of mask tests
add mask-and-clip test
the init scripts should be static const
make masks work when the parents of mask and masked movie don't match
initialize movieclip before calling onLoadInit
add test that tests image size is known in onLoadInit
add a testcase for masking with a movie that has a completely different parent
update the movie's matrix before computing the to/from-global matrix
add another test
and another test that lay here
update to...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800
release 0.5.4 ("Turkish Cycling Federation")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/
R5PF4bZQqmSdJ64t8EbD4cA=
=8qBy
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Benjamin Otte (40):
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
..._AS_CONSTANT_STRING ("styleSheet")
SWFDEC_AS_CONSTANT_STRING ("_styles")
+ SWFDEC_AS_CONSTANT_STRING ("onLoadStart")
+ SWFDEC_AS_CONSTANT_STRING ("onLoadComplete")
+ SWFDEC_AS_CONSTANT_STRING ("onLoadError")
+ SWFDEC_AS_CONSTANT_STRING ("onLoadInit")
+ SWFDEC_AS_CONSTANT_STRING ("onLoadProgress")
/* add more here */
;
commit 363777b0bb2cab3f64eb687c74e68c97e4ba0ce9
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Nov 6 12:49:08 2007 +0100
Create the SwfdcResource in the initial _load call and pass the Movie...