Displaying 4 results from an estimated 4 matches for "swfdisplayitem_moveto".
2007 Nov 20
0
7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/image
...1);
+ SWFMovie_setDimension (movie, 200, 150);
+
+ clip = SWFMovie_add (movie, get_rectangle (255, 0, 0));
+ SWFDisplayItem_setDepth (clip, 0);
+ if (reverse != 3)
+ SWFDisplayItem_setMaskLevel (clip, (reverse & 1) ? 3 : 2);
+
+ item = SWFMovie_add (movie, get_rectangle (0, 255, 0));
+ SWFDisplayItem_moveTo (item, 0, 50);
+ SWFDisplayItem_setDepth (item, 2);
+
+ item = SWFMovie_add (movie, get_rectangle (0, 0, 255));
+ SWFDisplayItem_moveTo (item, 50, 0);
+ SWFDisplayItem_setDepth (item, 3);
+
+ SWFMovie_nextFrame (movie);
+ if (reverse != 2)
+ SWFDisplayItem_setMaskLevel (clip, (reverse &...
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
..., 255);
+ SWFMovieClip_nextFrame ((SWFMovieClip) clip2);
+
+ item = SWFMovie_add (movie, clip);
+ SWFDisplayItem_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,...
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
...Item_setDepth (item, 0);
+ SWFDisplayItem_setName (item, "a");
+ if (FLAG_SET (flags, FIRST_MOVIE_CLIP_ALL)) {
+ SWFDisplayItem_setMaskLevel (item, 3);
+ } else {
+ SWFDisplayItem_setMaskLevel (item, 1);
+ }
+
+ item2 = item = SWFMovie_add (movie, get_rectangle (0, 255, 0));
+ SWFDisplayItem_moveTo (item, 50, 25);
+ SWFDisplayItem_setDepth (item, 1);
+ SWFDisplayItem_setName (item, "b");
+ if (FLAG_SET (flags, SECOND_MOVIE_CLIP_ALL)) {
+ SWFDisplayItem_setMaskLevel (item, 3);
+ } else {
+ SWFDisplayItem_setMaskLevel (item, 2);
+ }
+
+ item = SWFMovie_add (movie, get_rect...
2007 Jun 19
0
Branch 'as' - 4 commits - libswfdec/swfdec_codec_video.c libswfdec/swfdec_movie.c test/trace
...tem_setDepth (item, 1);
+
+ if (mod & MODIFY_MOVE) {
+ if (name)
+ g_string_append (name, "-move");
+ else
+ SWFDisplayItem_setMove (item);
+ }
+ if (mod & MODIFY_TRANSFORM) {
+ if (name)
+ g_string_append (name, "-transform");
+ else
+ SWFDisplayItem_moveTo (item, 10, 0);
+ }
+ if (mod & MODIFY_CTRANS) {
+ if (name)
+ g_string_append (name, "-ctrans");
+ else
+ SWFDisplayItem_setColorAdd (item, 10, 10, 10, 10);
+ }
+ if (mod & MODIFY_RATIO) {
+ if (name)
+ g_string_append (name, "-ratio");
+ e...