[Swfdec-commits] swfdec/swfdec_sprite_movie.c
Benjamin Otte
company at kemper.freedesktop.org
Tue Jul 15 02:38:55 PDT 2008
swfdec/swfdec_sprite_movie.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 659c4f99e0025d8a4ce3315ab929eb22c430da6d
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jul 15 11:33:23 2008 +0200
revert 15f46394467fc94a7b142700e8d65ed14eb24aca
There is multiple websites that stopped emitting onLoad events when the
MovieClip's base class (the one registered via Object.registerClass) had an
onLoad function set.
I did not revert the test, so we have a failure now.
I assume we need a better general method to detect if we should or should not
queue events. It's certainly not the if (has_clip_events) method.
diff --git a/swfdec/swfdec_sprite_movie.c b/swfdec/swfdec_sprite_movie.c
index de1bd1e..47e5668 100644
--- a/swfdec/swfdec_sprite_movie.c
+++ b/swfdec/swfdec_sprite_movie.c
@@ -338,8 +338,7 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g
SwfdecActor *actor = SWFDEC_ACTOR (cur);
swfdec_actor_queue_script (actor, SWFDEC_EVENT_INITIALIZE);
swfdec_actor_queue_script (actor, SWFDEC_EVENT_CONSTRUCT);
- if (has_clip_actions)
- swfdec_actor_queue_script (actor, SWFDEC_EVENT_LOAD);
+ swfdec_actor_queue_script (actor, SWFDEC_EVENT_LOAD);
}
swfdec_movie_initialize (cur);
}
More information about the Swfdec-commits
mailing list