search for: swfdecspritemovi

Displaying 20 results from an estimated 55 matches for "swfdecspritemovi".

Did you mean: swfdecspritemovie
2007 Sep 09
1
can't play youtube videos with latest git
...683): swfdec_action_call_method: no function named send on object unknown SWFDEC: ERROR: swfdec_as_interpret.c(683): swfdec_action_call_method: no function named getLocal on object unknown SWFDEC: ERROR: swfdec_as_interpret.c (683): swfdec_action_call_method: no function named attachAudio on object SwfdecSpriteMovie SWFDEC: ERROR: swfdec_as_interpret.c(683): swfdec_action_call_method: no function named send on object unknown SWFDEC: ERROR: swfdec_as_interpret.c(683): swfdec_action_call_method: no function named on object unknown SWFDEC: ERROR: swfdec_as_interpret.c(683): swfdec_action_call_method: no functio...
2007 Nov 01
3
[Bug 13051] New: CNN Cartoon Clicks are not responsive to mouse events
...swfdec_action_call_method: no function named addListener on object unknown SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named setSize on object unknown SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named unloadMovie on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named init on object unknown SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_method: no function named getLabel on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(922): swfdec_action_call_...
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...with non-sprite movies diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index d42aac3..457644e 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -555,24 +555,27 @@ static void swfdec_sprite_movie_init_movie (SwfdecMovie *mov) { SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov); - SwfdecAsContext *context; - SwfdecAsObject *constructor; - const char *name; + SwfdecAsContext *context = SWFDEC_AS_OBJECT (movie)->context; + SwfdecAsObject *constructor = NULL; - g_assert (movie->sprite->parse_frame > 0); g_assert (mov...
2007 Nov 01
0
3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...move at level %u", depth); -} - static gboolean is_ascii (const char *s) { diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index e0c480a..91f48f9 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -212,8 +212,6 @@ SwfdecSpriteMovie * (SwfdecPlayer * player, SwfdecResource * resource, int level); -void swfdec_player_remove_level (SwfdecPlayer * player, - guint depth); gboolean swfdec_player_fscommand (SwfdecPlayer * player, const char * command, const char * value); com...
2008 May 02
0
[Bug 15801] New: AOL video doesn't play
...messages from the top part (*-shell.swf): SWFDEC: WARN : swfdec_swf_decoder.c(342): swfdec_swf_decoder_parse_one: tag function not implemented for 73 DefineFontAlignZones SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "createAccessibilityImplementation" on object SwfdecSpr...
2010 Jan 17
1
screenshot of swf file
Hi, Im trying to thumbnail a swf file based on this found at http://www.mail-archive.com/swfdec at lists.freedesktop.org/msg00821.html. #include <stdlib.h> #include <stdio.h> #include <swfdec/swfdec.h> #include <cairo.h> void swfdec_player_save (SwfdecPlayer *player, guint width, guint height, const char *filename) { cairo_surface_t *surface; cairo_t *cr;
2007 Jul 01
1
implementing MovieClip drawing API
Hi, I would like to implement MovieClip.{moveTo,lineTo,lineStyle}. I initially thought I could place an SwfdecShape inside an SwfdecSpriteMovie created by createEmptyMovieClip then call swfdec_shape_ counterparts when MovieClip.{moveTo,lineTo,lineStyle} were called. It wasn't as easy as I had thought. All the functions are highly tied to swf bitstream, even adding an SwfdecShapeMovie to SwfdecSpriteMovie. Do you have any suggestion?...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...rl, request, (const char *) buffer->data, buffer->length); diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index bf80f93..91bfb2f 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -722,9 +722,11 @@ swfdec_sprite_movie_load (SwfdecSpriteMovie *movie, const char *url, SwfdecLoade swfdec_sprite_movie_unload (movie); - /* FIXME: load relative to other movie? */ loader = swfdec_player_load (SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context), url, request, data); + if (loader == NULL) + return; + resource = swfdec...
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
...loaded (SwfdecMovie *mov, SwfdecAsValue *rval) } static void -mc_totalframes (SwfdecMovie *movie, SwfdecAsValue *rval) +mc_totalframes (SwfdecMovie *mov, SwfdecAsValue *rval) { - SwfdecResource *resource; - SwfdecDecoder *dec; - int frames; - - g_assert (SWFDEC_IS_SPRITE_MOVIE (movie)); + SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov); - resource = swfdec_movie_get_own_resource (SWFDEC_MOVIE (movie)); - if (resource == NULL) { - frames = 1; - } else { - dec = resource->decoder; - if (dec == NULL) - frames = 0; - else - frames = dec->frames_total; - } - SWFDEC...
2007 Nov 08
0
libswfdec/swfdec_load_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h
...c void @@ -158,12 +155,60 @@ swfdec_resource_emit_error (SwfdecResource *resource, const char *message) swfdec_resource_emit_signal (resource, SWFDEC_AS_STR_onLoadError, FALSE, vals, 2); } +static gboolean +swfdec_resource_create_movie (SwfdecResource *resource) +{ + SwfdecPlayer *player; + SwfdecSpriteMovie *movie; + int level = -1; + + if (resource->movie) + return TRUE; + player = resource->player; + movie = (SwfdecSpriteMovie *) swfdec_action_lookup_object (SWFDEC_AS_CONTEXT (player), + player->roots->data, resource->target, resource->target + strlen (resource->tar...
2008 May 02
1
[Bug 15802] New: Videos on liveleak.com don't work
...t_variable: Video.smoothing (set) is not implemented yet SWFDEC: FIXME: swfdec_video_movie.c(168): swfdec_video_movie_set_variable: Video.deblocking (set) is not implemented yet SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "__get__done" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "__get__xmlFunction" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "__get__xmlURL" on object SwfdecSpriteMovie SWFDEC: F...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...le_lookup (instance->export_names, character); } diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index e8d4062..10fc011 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -363,7 +363,6 @@ swfdec_sprite_movie_perform_one_action (SwfdecSpriteMovie *movie, guint tag, Swf SWFDEC_ERROR ("cannot export id %u, no name was given", id); } else { SWFDEC_LOG ("exporting %s %u as %s", G_OBJECT_TYPE_NAME (object), id, name); - g_print ("exporting %s %u as %s\n", G_OBJECT_TYPE_NAME (object), id, name);...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...or %s", + swfdec_url_get_url (swfdec_loader_get_url (player->loader))); + + sec = SWFDEC_FLASH_SECURITY (player->security); + sec->allow_remote = TRUE; + sec->allow_local = FALSE; +} + +static void swfdec_swf_instance_loader_target_image (SwfdecSwfInstance *instance) { SwfdecSpriteMovie *movie = instance->movie; @@ -60,9 +76,15 @@ swfdec_swf_instance_loader_target_image (SwfdecSwfInstance *instance) return; if (SWFDEC_IS_SWF_DECODER (instance->decoder)) { - movie->sprite = SWFDEC_SWF_DECODER (instance->decoder)->main_sprite; - + SwfdecPlayer *player...
2008 Jan 21
1
70 commits
Hey, In case someone filters commit mails or doesn't read 1MB blobs, I've just merged the result of me getting annoyed at various stuff. Unfortunately, this grew a bit out of hand and ended up being very huge. I expect this merge to have broken lots of things, so if you find stuff that used to work and now doesn't work (or even crashes), please poke me about it. What does this patch
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
...llowDomain (static) is not implemented yet SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "setEnabled" on object unknown SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "getSelectedPaneMC" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "getSlideShow" on object unknown SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "alterMedia" on object unknown SWFDEC: WARN : swfdec_as_interpret.c(8...
2007 Oct 19
0
8 commits - libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c
...org> Date: Fri Oct 19 13:08:26 2007 +0200 add a comment diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index c0fa6a8..ca2d962 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -703,6 +703,7 @@ swfdec_sprite_movie_unload (SwfdecSpriteMovie *movie) g_return_if_fail (SWFDEC_IS_SPRITE_MOVIE (movie)); + /* This function does enough invalidating */ swfdec_sprite_movie_clear (SWFDEC_AS_OBJECT (movie)->context, SWFDEC_AS_OBJECT (movie), 0, NULL, &hack); movie->frame = 0; commit f80e5cd132a292d957d09f2805c34b...
2007 Nov 09
0
10 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_loader.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie_clip_loader.c libswfdec/swfdec_movie.h
...in Flash <= 5 also add swfdec_movie_get_version () to get a per-movie version. diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 1859971..fefa930 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -360,6 +360,12 @@ swfdec_movie_set_constructor (SwfdecSpriteMovie *movie) swfdec_as_object_set_constructor (SWFDEC_AS_OBJECT (movie), constructor); } +guint +swfdec_movie_get_version (SwfdecMovie *movie) +{ + return SWFDEC_SWF_DECODER (movie->resource->decoder)->version; +} + void swfdec_movie_execute (SwfdecMovie *movie, SwfdecEventType condit...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
..._about_removal (SwfdecMovie *movie) +{ + GList *walk; + if (movie->will_be_removed) + return; + movie->will_be_removed = TRUE; + for (walk = movie->list; walk; walk = walk->next) { + swfdec_movie_tell_about_removal (walk->data); + } +} + +void +swfdec_sprite_movie_prepare (SwfdecSpriteMovie *movie) +{ + GList *walk; + guint frame; + + g_return_if_fail (SWFDEC_IS_SPRITE_MOVIE (movie)); + + if (SWFDEC_MOVIE (movie)->stopped || + movie->sprite == NULL) + return; + + frame = swfdec_sprite_get_next_frame (movie->sprite, SWFDEC_MOVIE (movie)->frame); + /* tell all...
2007 Jun 03
1
some patches for swfdec
Here are some patches I made yesterday. They add three actions: duplicateClip, removeClip and With, one method Math.abs and bug fixes. All base off 'as' branch. Please have a look if you are going to apply them because I'm quite new in swfdec development. BTW, how can I implement createEmptyMovieClip? I have no idea how to create an SwfdecMovie properly. I also need to add the
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...c_as_interpret.c index 288c47d,e09b09f..4f84189 @@@ -55,8 -74,9 +55,8 @@@ static void swfdec_action_stop (SwfdecAsContext *cx, guint action, const guint8 *data, guint len) { - if (SWFDEC_IS_MOVIE (cx->frame->target)) - SWFDEC_MOVIE (cx->frame->target)->stopped = TRUE; - SwfdecSpriteMovie *movie = swfdec_action_get_target (cx); - if (movie) - movie->playing = FALSE; ++ if (SWFDEC_IS_SPRITE_MOVIE (cx->frame->target)) ++ SWFDEC_SPRITE_MOVIE (cx->frame->target)->playing = FALSE; else SWFDEC_ERROR ("no movie to stop"); } @@@ -64,8 -84,9...