search for: do_movi

Displaying 14 results from an estimated 14 matches for "do_movi".

Did you mean: do_movq
2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
...hape_addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFBlock) shape; +} + +static void +do_movie (int version, int reverse) +{ + const char *suffixes[4] = { "forward", "backward", "remove", "set" }; + char name[100]; + SWFMovie movie; + SWFDisplayItem item, clip; + + movie = newSWFMovieWithVersion (version); + SWFMovie_setRate (movie, 1); + SWFMo...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c test/trace
...6d3f --- /dev/null +++ b/test/trace/initaction-queue.c @@ -0,0 +1,53 @@ +/* gcc `pkg-config --libs --cflags libming glib-2.0` initaction-queue.c -o initaction-queue && ./initaction-queue + */ + +#include <ming.h> +#include <glib.h> + +static void +do_movie (int version) +{ + SWFMovie movie; + SWFMovieClip clip; + SWFDisplayItem item; + char *real_name; + + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimension (movie, 200, 150); + + clip = newSWFMovieClip (); + item = SWFMo...
2007 Jul 12
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/trace
...100644 index 0000000..42c09e5 --- /dev/null +++ b/test/trace/clonesprite-events.c @@ -0,0 +1,58 @@ +/* gcc `pkg-config --libs --cflags libming` clonesprite-events.c -o clonesprite-events && ./clonesprite-events + */ + +#include <ming.h> + +static void +do_movie (int version) +{ + SWFMovie movie; + SWFMovieClip clip; + SWFDisplayItem item; + char name[100]; + + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimension (movie, 200, 150); + + clip = newSWFMovieClip (); + item = SWFMov...
2007 Oct 29
0
2 commits - libswfdec/swfdec_audio_event.c test/sound
...00000..4339f03 --- /dev/null +++ b/test/sound/crash-0.5.3-no-samples.c @@ -0,0 +1,57 @@ +/* gcc `pkg-config --libs --cflags libming` crash-0.5.3-no-samples.c -o crash-0.5.3-no-samples && ./crash-0.5.3-no-samples + */ + +#include <ming.h> + +static void +do_movie () +{ + char name[100]; + SWFMovie movie; + FILE *file; + SWFMovieClip movie_clip; + SWFSound sound; + SWFSoundInstance instance; + + movie = newSWFMovieWithVersion (8); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 10); + SWFMovie_setDimension (movie, 200, 150); + + movie_clip =...
2007 Oct 28
1
test/trace
...00000..58bd26f --- /dev/null +++ b/test/trace/text-field-init-native.c @@ -0,0 +1,49 @@ +/* gcc `pkg-config --libs --cflags libming` text-field-init-native.c -o text-field-init-native && ./text-field-init-native + */ + +#include <ming.h> + +static void +do_movie (int version) +{ + char name[100]; + SWFMovie movie; + SWFTextField text; + SWFDisplayItem display; + + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimension (movie, 200, 150); + + text = newSWFTextField (); + display =...
2007 Oct 28
1
2 commits - libswfdec/swfdec_as_interpret.c test/trace
libswfdec/swfdec_as_interpret.c | 1 + test/trace/Makefile.am | 3 +++ test/trace/crash-0.5.3-divide-by-zero.as | 5 +++++ test/trace/crash-0.5.3-divide-by-zero.swf |binary test/trace/crash-0.5.3-divide-by-zero.swf.trace | 1 + 5 files changed, 10 insertions(+) New commits: commit
2007 Nov 14
0
5 commits - libswfdec/.gitignore libswfdec/swfdec_initialize.as test/image test/sound test/trace
....swf played unnecessary frames diff --git a/test/sound/crash-0.5.3-no-samples.c b/test/sound/crash-0.5.3-no-samples.c index 4339f03..30c0e34 100644 --- a/test/sound/crash-0.5.3-no-samples.c +++ b/test/sound/crash-0.5.3-no-samples.c @@ -28,15 +28,6 @@ do_movie () SWFMovie_add (movie, (SWFBlock) movie_clip); SWFMovie_nextFrame (movie); - SWFMovie_add (movie, (SWFBlock) newSWFAction ("" - "trace ('To crash or not to crash?');" - "function quit () {" - " loadMovie ('FSCommand:quit', '');&...
2007 Jun 20
0
Branch 'as' - 5 commits - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/image
...+static void +modify_placement (SWFMovie movie, Type t1, Type t2) +{ + SWFDisplayItem item; + + add_rectangle (movie, t1, 255, 0, 0); + SWFMovie_nextFrame (movie); + item = add_rectangle (movie, t2, 0, 0, 255); + SWFDisplayItem_setMove (item); + SWFMovie_nextFrame (movie); +} + +static void +do_movie (int version) +{ + SWFMovie movie; + char *real_name; + Type t1, t2; + + for (t1 = 0; t1 < N_TYPES; t1++) { + for (t2 = 0; t2 < N_TYPES; t2++) { + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimens...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...DisplayItem_setDepth (item, 1); + SWFDisplayItem_setName (item, "a"); + SWFMovie_nextFrame (movie); + + item = SWFMovie_add (movie, clip2); + SWFDisplayItem_setDepth (item, 1); + SWFDisplayItem_moveTo (item, 20, 20); + SWFDisplayItem_setName (item, "b"); +} + +static void +do_movie (int version) +{ + SWFMovie movie; + char *real_name; + guint i; + + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimension (movie, 200, 150); + + modify_placement (movie, i); + SWFMovie_nextFrame (movie); + + SWFMovie_...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
..._addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version, int menu) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButton button; + SWFButtonRecord rec; + + movie = newSWFMovieWithVersion (version); + SWFMovie_setRate (movie, 10); + SWFMovie_setDimension (movie, 200, 150); + + SWFMovie_add (movie, newSWFInitActi...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
..._addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButton button, button2; + SWFButtonRecord rec; + + movie = newSWFMovieWithVersion (version); + SWFMovie_setRate (movie, 10); + SWFMovie_setDimension (movie, 200, 150); + + button = newSWFButton (); + add_but...
2007 Jun 19
0
Branch 'as' - 4 commits - libswfdec/swfdec_codec_video.c libswfdec/swfdec_movie.c test/trace
...WFMovie_add (movie, clip1); + modify_item (item, name, mod); + SWFMovie_nextFrame (movie); + + if (mod & MODIFY_REMOVE) { + SWFDisplayItem_remove (item); + } + item = SWFMovie_add (movie, clip2); + modify_item (item, NULL, mod); + return g_string_free (name, FALSE); +} + +static void +do_movie (int version) +{ + SWFMovie movie; + char *name, *real_name; + guint i; + + for (i = 0; i < MODIFY_MAX; i++) { + movie = newSWFMovieWithVersion (version); + movie = newSWFMovie(); + SWFMovie_setRate (movie, 256); + SWFMovie_setDimension (movie, 200, 150); + + name = modify_pl...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...ape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + SWFMovieClip_add (clip, (SWFBlock) shape); + SWFMovieClip_nextFrame (clip); + return (SWFBlock) clip; +} + +static void +do_movie (int version, unsigned int flags) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item, item1, item2; + + movie = newSWFMovieWithVersion (version); + SWFMovie_setRate (movie, 1); + SWFMovie_setDimension (movie, 200, 150); + + item1 = item = SWFMovie_add (movie, get_rectangle (255, 0...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
..._addSolidFillStyle (shape, r, g, b, 255); + SWFShape_setRightFillStyle (shape, fill); + SWFShape_drawLineTo (shape, 100, 0); + SWFShape_drawLineTo (shape, 100, 100); + SWFShape_drawLineTo (shape, 0, 100); + SWFShape_drawLineTo (shape, 0, 0); + + return (SWFCharacter) shape; +} + +static void +do_movie (int version) +{ + char name[100]; + SWFMovie movie; + SWFDisplayItem item; + SWFButton button, button2; + SWFButtonRecord rec; + + movie = newSWFMovieWithVersion (version); + SWFMovie_setRate (movie, 10); + SWFMovie_setDimension (movie, 200, 150); + + button = newSWFButton (); + add_but...