search for: gotoandplay

Displaying 9 results from an estimated 9 matches for "gotoandplay".

2007 Jun 03
1
some patches for swfdec
...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 following. If you have any idea, please tell me. gotoAndPlay _level0 global variable swapDepths method lineTo, lineStyle, moveTo ahh.. those movies created by duplicateClip do not get added as properties to _root. I saw blocky.swf trying to access movies via _root. some less important ones: System global variable Sound object -- Duy -------------- next pa...
2007 Jun 18
2
as branch progress report
...the Flash files suddenly go missing, have a different color, are at the wrong place or if some objects show up that shouldn't be there, it's a fault of this. Poke me about it. Now, there's of course a positive effect about this. Previously some objects were replaced (or removed) after a gotoAndPlay/Stop () even though they were supposed to still exist. This was most visible with code like this: some_movie.var = 42; gotoAndPlay (some_frame); trace (some_movie.var); where previously you got undefined instead of 42 as the trace output. This should not happen anymore after the rework. Again, if i...
2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...esLoaded, 0, 0, 0 }, { "getBytesTotal", mc_getBytesTotal, 0, 0, 0 }, + { "getNextHighestDepth", mc_getNextHighestDepth, 0, 0, 0 }, { "getProperty", swfdec_js_getProperty, 2, 0, 0 }, { "getURL", swfdec_js_getURL, 2, 0, 0 }, { "gotoAndPlay", mc_gotoAndPlay, 1, 0, 0 }, diff-tree 3c4a91276dbf607849f02fc9f637f8caf1c339c6 (from 27f57143cbff3082c9b565e5256023baaf079140) Author: Benjamin Otte <otte@gnome.org> Date: Thu Feb 22 18:53:05 2007 +0100 rework SetVariable, SetProperty and GetProperty - try setting an e...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...quot;, false], + ["_global.MovieClip.prototype", "getTextSnapshot", true], + ["_global.MovieClip.prototype", "getURL", false], + ["_global.MovieClip.prototype", "globalToLocal", false], + ["_global.MovieClip.prototype", "gotoAndPlay", false], + ["_global.MovieClip.prototype", "gotoAndStop", false], + ["_global.MovieClip.prototype", "hitTest", false], + ["_global.MovieClip.prototype", "lineGradientStyle", true], + ["_global.MovieClip.prototype", &quo...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...+ g_strdup_printf ("instance%u", ++player->unnamed_count)); + } else { + movie->name = SWFDEC_AS_STR_EMPTY; + } + } + /* add the movie to the global movies list */ /* NB: adding to the movies list happens before setting the parent. * Setting the parent does a gotoAndPlay(0) for Sprites which can cause * new movies to be created (and added to this list) */ player->movies = g_list_prepend (player->movies, movie); - //swfdec_js_movie_create_jsobject (movie); - /* queue init and construct events for non-root movies */ - if (movie->parent) { -...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...named_count)); + g_strdup_printf ("instance%u", ++player->priv->unnamed_count)); } else { movie->name = SWFDEC_AS_STR_EMPTY; } @@ -1566,7 +1568,7 @@ swfdec_movie_new (SwfdecPlayer *player, int depth, SwfdecMovie *parent, SwfdecRe * Setting the parent does a gotoAndPlay(0) for Sprites which can cause * new movies to be created (and added to this list) */ - player->movies = g_list_prepend (player->movies, movie); + player->priv->movies = g_list_prepend (player->priv->movies, movie); /* only add the movie here, because it needs to be s...
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 12
0
20 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_string.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player_as.c
...INED (&argv[0])) + if (argc < 1 || SWFDEC_AS_VALUE_IS_UNDEFINED (&argv[0])) return; if (argc < 3) alpha = 100; commit 4224157c1615e3a496f652a64dfa4fb5c994cbab Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Nov 12 23:42:29 2007 +0200 Fix a crash in gotoAndPlay and gotoAndStop when called with no arguments diff --git a/libswfdec/swfdec_sprite_movie_as.c b/libswfdec/swfdec_sprite_movie_as.c index 44763b2..8cb9695 100644 --- a/libswfdec/swfdec_sprite_movie_as.c +++ b/libswfdec/swfdec_sprite_movie_as.c @@ -151,10 +151,11 @@ swfdec_sprite_movie_gotoAndPlay (...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...t (state->bits); - compile_state_debug_add (state, "GotoFrame2 %s", play ? "Play" : "Stop"); - if (bias) { - SWFDEC_ERROR ("scene bias not implemented"); - } - push_uint16 (state, 1); - push_target (state); - if (play) - push_prop (state, "gotoAndPlay"); - else - push_prop (state, "gotoAndStop"); - PUSH_OBJ (state); - FLASHCALL (state); -} - -static void -compile_wait_for_frame (CompileState *state, guint action, guint len) -{ - guint frame, jump; - guint8 command[3] = { JSOP_IFEQ, 0, 0 }; - - frame = swfdec_bits_get_u16...