search for: _yscale

Displaying 8 results from an estimated 8 matches for "_yscale".

Did you mean: yscale
2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...c/swfdec_script.c index 83dde3a..d688693 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -701,30 +701,32 @@ swfdec_action_pop (JSContext *cx, guint return JS_TRUE; } -static const char *properties[22] = { - "_x", "_y", "_xscale", "_yscale", "_currentframe", - "_totalframes", "_alpha", "_visible", "_width", "_height", - "_rotation", "_target", "_framesloaded", "_name", "_droptarget", - "_url", "_highqua...
2007 Nov 20
0
4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/image test/trace
...+ mc.lineTo (x + w, y + h); + mc.lineTo (x + w, y); + mc.lineTo (x, y); + mc.endFill (); +}; + +createEmptyMovieClip ("a", 0); +a.createEmptyMovieClip ("a", 0); +a.a.createEmptyMovieClip ("a", 0); +a.a.a.createEmptyMovieClip ("a", 0); +a._xscale = 50; +a._yscale = 50; +a.a._x = 50; +a.a._y = 50; +a.a.a._xscale = 200; +a.a.a._yscale = 200; +rectangle (a.a.a.a, 0xFF0000, 0, 0, 100, 100); + +createEmptyMovieClip ("b", 1); +rectangle (b, 0xFF, 0, 0, 100, 100); + +b.setMask (a.a.a.a); + commit 65a41812cc3db14b5e41a2a62dee9361fc0707ec Author: Benjamin...
2007 Apr 05
0
Branch 'as' - 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...s); - return bytes; - } else { - if (obj == NULL) { - obj = OBJ_THIS_OBJECT (cx, cx->fp->scopeChain); - } - *val = OBJECT_TO_JSVAL (obj); - return "."; - } -} - -static const char *properties[22] = { - "_x", "_y", "_xscale", "_yscale", "_currentframe", - "_totalframes", "_alpha", "_visible", "_width", "_height", - "_rotation", "_target", "_framesloaded", "_name", "_droptarget", - "_url", "_highqua...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...s); + return bytes; + } else { + if (obj == NULL) { + obj = OBJ_THIS_OBJECT (cx, cx->fp->scopeChain); + } + *val = OBJECT_TO_JSVAL (obj); + return "."; + } +} + +static const char *properties[22] = { + "_x", "_y", "_xscale", "_yscale", "_currentframe", + "_totalframes", "_alpha", "_visible", "_width", "_height", + "_rotation", "_target", "_framesloaded", "_name", "_droptarget", + "_url", "_highqua...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...ec/swfdec_script.c index e688089..b8d3dc6 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -410,6 +410,96 @@ swfdec_action_pop (JSContext *cx, guint return JS_TRUE; } +static const char *properties[22] = { + "_x", "_y", "_xscale", "_yscale", "_currentframe", + "_totalframes", "_alpha", "_visible", "_width", "_height", + "_rotation", "_target", "_framesloaded", "_name", "_droptarget", + "_url", "_highqua...
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
...swf -v 7 -s 200x150 -r 1 -o mouse-scaled.swf mouse-scaled.as + +trace ("Simple check for mouse movements on scaled movie"); + +dump = function () { + trace (_xmouse); + trace (_ymouse); +}; +Mouse.addListener ({ onMouseMove: dump, onMouseDown: dump, onMouseUp: dump }); + +_xscale = 10; +_yscale = 1000; + +function quit () { + loadMovie ("FSCommand:quit", ""); +}; +setInterval (quit, 3000); diff --git a/test/trace/button-events-button-5.swf b/test/trace/button-events-button-5.swf deleted file mode 100644 index c669574..0000000 Binary files a/test/trace/button-events-bu...
2008 Jan 01
0
4 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_sprite_movie_as.c test/trace
...+ + var s = x.x + ", " + x.y + " => "; + s += mc.globalToLocal (x) + " => "; + trace (s + x.x + ", " + x.y); +}; + +createEmptyMovieClip ("a", 0); +a._x = 50; +a._y = 50; + +a.createEmptyMovieClip ("a", 0); +a.a._xscale = 50; +a.a._yscale = 50; + +trace ("Test empty or semi-empty stuctures"); +l2g (a.a, {}); +g2l (a.a, {}); +l2g (a.a, {x: 10}); +l2g (a.a, {y: 10}); +g2l (a.a, {x: 10}); +g2l (a.a, {y: 10}); + +trace ("Test various values"); +#include "values.as" +for (i = 0; i < values.length; i++) {...
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
...ec/swfdec_script.c index e688089..b8d3dc6 100644 --- a/libswfdec/swfdec_script.c +++ b/libswfdec/swfdec_script.c @@ -410,6 +410,96 @@ swfdec_action_pop (JSContext *cx, guint return JS_TRUE; } +static const char *properties[22] = { + "_x", "_y", "_xscale", "_yscale", "_currentframe", + "_totalframes", "_alpha", "_visible", "_width", "_height", + "_rotation", "_target", "_framesloaded", "_name", "_droptarget", + "_url", "_highqua...