search for: onloadcomplete

Displaying 4 results from an estimated 4 matches for "onloadcomplete".

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
...e (s); +}; +l.onLoadStart = function (m) { + trace ("start"); +}; +l.onLoadProgress = 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",...
2016 Jan 30
8
[Bug 93934] New: DRI_PRIME=1: DeadIsland crashes when loading finish
https://bugs.freedesktop.org/show_bug.cgi?id=93934 Bug ID: 93934 Summary: DRI_PRIME=1: DeadIsland crashes when loading finish Product: Mesa Version: 11.0 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at
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
...amp;vals[0], dec->bytes_loaded); - SWFDEC_AS_VALUE_SET_INT (&vals[1], dec->bytes_total); + swfdec_resource_emit_signal (resource, SWFDEC_AS_STR_onLoadProgress, TRUE, NULL, 0); + SWFDEC_AS_VALUE_SET_INT (&val, 0); /* FIXME */ + swfdec_resource_emit_signal (resource, SWFDEC_AS_STR_onLoadComplete, FALSE, &val, 1); + resource->state = SWFDEC_RESOURCE_COMPLETE; +} + +static void +swfdec_resource_loader_target_error (SwfdecLoaderTarget *target, SwfdecLoader *loader) +{ + SwfdecResource *resource = SWFDEC_RESOURCE (target); + const char *message; + + switch (resource->state) { +...
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
...;vals[0], dec->bytes_loaded); + SWFDEC_AS_VALUE_SET_INT (&vals[1], dec->bytes_total); + } swfdec_resource_emit_signal (instance, SWFDEC_AS_STR_onLoadProgress, vals, 2); SWFDEC_AS_VALUE_SET_INT (&vals[0], 0); /* FIXME */ swfdec_resource_emit_signal (instance, SWFDEC_AS_STR_onLoadComplete, vals, 1); diff --git a/libswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c index b186ed8..ee18f9a 100644 --- a/libswfdec/swfdec_swf_decoder.c +++ b/libswfdec/swfdec_swf_decoder.c @@ -87,35 +87,59 @@ zfree (void *opaque, void *addr) g_free (addr); } +static SwfdecBuffer * +swfdec_...