search for: 200x150

Displaying 20 results from an estimated 81 matches for "200x150".

2006 Jan 16
2
ruby embedded code replacement for onclick in link?
...ething like this? <a href="#" onclick="window.open(''http://192.168.78.12:3000/portfolio/show/<%= item.id %>'', ''test'', ''width=660, height=500,resizable=no'')"> <%= image_tag item.image_url, :size => ''200x150'' %></a> Thanks, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/8c35871f/attachment.html
2007 Sep 13
0
2 commits - libswfdec/swfdec_as_function.c test/trace
...-did-you-understand-8.swf.trace @@ -0,0 +1 @@ +5 diff --git a/test/trace/scope-chain-did-you-understand.as b/test/trace/scope-chain-did-you-understand.as new file mode 100644 index 0000000..7d01c98 --- /dev/null +++ b/test/trace/scope-chain-did-you-understand.as @@ -0,0 +1,23 @@ +// makeswf -v 7 -s 200x150 -r 1 -o scope-chain-did-you-understand.swf scope-chain-did-you-understand.as +// taken with permission from http://www.timotheegroleau.com/Flash/articles/scope_chain.htm + +getMethod = function() { + var setProto = function() { + this.__proto__ = o1; + }; + setProto(); + + return function()...
2007 Jun 27
0
Branch 'as' - 4 commits - test/trace
...n's scope +undefined +undefined +undefined +undefined diff --git a/test/trace/definelocal-function-target.as b/test/trace/definelocal-function-target.as new file mode 100644 index 0000000..78baa5c --- /dev/null +++ b/test/trace/definelocal-function-target.as @@ -0,0 +1,18 @@ +// makeswf -v 7 -s 200x150 -r 1 -o definelocal-function-target.swf definelocal-function-target.as + +trace ("Check DefineLocal in functions sets variables in the function's scope"); + +createEmptyMovieClip ("movie", 0); + +function foo () { + setTarget ("movie"); + var bla = 42; + setTarg...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...th.swf \ + jump-out-of-with.swf.trace \ lifetime1.swf \ lifetime1.swf.trace \ load-4.swf \ diff --git a/test/trace/jump-into-with.as b/test/trace/jump-into-with.as new file mode 100644 index 0000000..7f83c51 --- /dev/null +++ b/test/trace/jump-into-with.as @@ -0,0 +1,20 @@ +// makeswf -v 7 -s 200x150 -r 1 -o movie68.swf movie68.as + +// note that the real checks are binary-modified to produce the desired tests. +// The branch offsets have been adjusted. +trace ("Check various things when jumping into with commands"); +x = 0; +o = new Object (); +o.x = -1; +with (o) { + trace (x); +}...
2007 Jun 17
2
Branch 'as' - test/trace
test/trace/Makefile.am | 1 test/trace/values.as | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) New commits: diff-tree aaca94203d8a0ccb8feb32c0d57df3401fca0350 (from 987074e275ac77f8799e5fdf41890e8ef126b291) Author: Benjamin Otte <otte at gnome.org> Date: Sun Jun 17 12:56:42 2007 +0200 add values.as which provides some default values
2007 Jul 27
0
11 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie_as.c test/trace
...hat happens if _listeners is not an array +[object Object] +undefined diff --git a/test/trace/asbroadcaster-listeners.as b/test/trace/asbroadcaster-listeners.as new file mode 100644 index 0000000..0f99c6f --- /dev/null +++ b/test/trace/asbroadcaster-listeners.as @@ -0,0 +1,16 @@ +// makeswf -v 7 -s 200x150 -r 1 -o asbroadcaster-listeners.swf asbroadcaster-listeners.as + +trace ("Check what happens if _listeners is not an array"); + +emitter = new Object (); +AsBroadcaster.initialize (emitter); +o1 = new Object (); +o1.foo = function () { + trace ("o1"); +}; +emitter._listeners =...
2007 Dec 11
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_movie.c test/trace
...ow-8.swf.trace @@ -0,0 +1 @@ +[type Object] diff --git a/test/trace/crash-0.5.4-13491-stack-overflow.as b/test/trace/crash-0.5.4-13491-stack-overflow.as new file mode 100644 index 0000000..16c0e3d --- /dev/null +++ b/test/trace/crash-0.5.4-13491-stack-overflow.as @@ -0,0 +1,6 @@ +// makeswf -v 7 -s 200x150 -r 1 -o crash-0.5.4-13491-stack-overflow.swf crash-0.5.4-13491-stack-overflow.as + +x = { toString: function () { return String (this); } }; + +trace (x); +loadMovie ("fscommand:quit", ""); commit 6495efaab49bd9a19b57c11a4b23e1db00fdd868 Author: Benjamin Otte <otte at gnome.o...
2007 Aug 15
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c test/trace
...ve-8.swf.trace @@ -0,0 +1,4 @@ +Check how addProperty overwrites native properties +0 +42 +42 diff --git a/test/trace/property-native.as b/test/trace/property-native.as new file mode 100644 index 0000000..a987b1b --- /dev/null +++ b/test/trace/property-native.as @@ -0,0 +1,11 @@ +// makeswf -v 7 -s 200x150 -r 1 -o property-native.swf property-native.as + +trace ("Check how addProperty overwrites native properties"); +this.__proto__._x = 42; +trace (this._x); +this.addProperty ("_x", function () { return 42; }, function () { trace ("set"); }); +trace (this._x); +this._x =...
2007 Jul 07
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h libswfdec/swfdec_as_with.c test/trace
...s that aren't overwritten are handled when called via super +1 +2 +3 +4 +foo: 1 +foo: 1 +foo: 4 diff --git a/test/trace/super-missing.as b/test/trace/super-missing.as new file mode 100644 index 0000000..2bd6fe7 --- /dev/null +++ b/test/trace/super-missing.as @@ -0,0 +1,52 @@ +// makeswf -v 7 -s 200x150 -r 1 -o super-missing.swf super-missing.as + +trace ("Check how functions that aren't overwritten are handled when called via super"); + +function One () { + trace (1); +}; +function Two () { + super (); + trace (2); +}; +function Three () { + super (); + trace (3); +}; +function...
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
...Binary files /dev/null and b/test/image/text-field-autosize-8.swf.png differ diff --git a/test/image/text-field-autosize.as b/test/image/text-field-autosize.as new file mode 100644 index 0000000..3aee9ba --- /dev/null +++ b/test/image/text-field-autosize.as @@ -0,0 +1,19 @@ +// makeswf -v 7 -r 1 -s 200x150 -o text-field-autosize-7.swf text-field-autosize.as + +this.createTextField ("t1", 0, 25, 25, 100, 100); + +t1.autoSize = "left"; +t1.background = true; +t1.backgroundColor = 0xFF0000; + +this.createTextField ("t2", 1, 25, 25, 100, 100); + +t2.autoSize = "center&q...
2007 May 31
0
Branch 'as' - 8 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_string.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c test/trace
...d isFinite +Infinity: inifinite +-Infinity: inifinite +NaN: inifinite, NaN +0: finite +_level0: inifinite, NaN +true: finite diff --git a/test/trace/isnan.as b/test/trace/isnan.as new file mode 100644 index 0000000..cc7690a --- /dev/null +++ b/test/trace/isnan.as @@ -0,0 +1,9 @@ +// makeswf -v 7 -s 200x150 -r 1 -o isnan.swf isnan.as + +trace ("Check isNaN and isFinite"); +numbers = [ Infinity, -Infinity, NaN, 0, this, true ]; +for (i = 0; i < numbers.length; i++) { + trace (numbers[i] + (isFinite (numbers[i]) ? ": finite" : ": inifinite") + (isNaN (numbers[i]) ? &quo...
2007 Nov 20
0
4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/image test/trace
...ary files /dev/null and b/test/image/mask-different-parent-8.swf.png differ diff --git a/test/image/mask-different-parent.as b/test/image/mask-different-parent.as new file mode 100644 index 0000000..51f35dc --- /dev/null +++ b/test/image/mask-different-parent.as @@ -0,0 +1,30 @@ +// makeswf -v 7 -s 200x150 -r 1 -o mask-different-parent.swf mask-different-parent.as + +rectangle = function (mc, color, x, y, w, h) +{ + mc.beginFill (color); + mc.moveTo (x, y); + mc.lineTo (x, y + h); + mc.lineTo (x + w, y + h); + mc.lineTo (x + w, y); + mc.lineTo (x, y); + mc.endFill (); +}; + +createEmptyMovieCl...
2007 Jun 06
0
Branch 'as' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...N + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN + +NaN diff --git a/test/trace/charat.as b/test/trace/charat.as new file mode 100644 index 0000000..400372b --- /dev/null +++ b/test/trace/charat.as @@ -0,0 +1,10 @@ +// makeswf -v 7 -s 200x150 -r 1 -o charat.swf charat.as + +trace ("Check charAt and CharCodeAt"); +s = "Gr???? Gott ???????? ?????? ???????? ?????????"; +for (i = -10; i < 100; i++) { + trace (s.charAt (i)); + trace (s.charCodeAt (i)); +}; + +loadMovie ("FSCommand:quit", ""); diff...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
...+Check how addProperty affects prototypes +10 +10 +a set +10 diff --git a/test/trace/addProperty-set-prototypes.as b/test/trace/addProperty-set-prototypes.as new file mode 100644 index 0000000..9cf4c38 --- /dev/null +++ b/test/trace/addProperty-set-prototypes.as @@ -0,0 +1,18 @@ +// makeswf -v 7 -s 200x150 -r 1 -o addProperty-set-prototypes.swf addProperty-set-prototypes.as + +trace ("Check how addProperty affects prototypes"); + +o = {name: "a"}; +o.__proto__ = {name: "b", x: 10 }; +o.__proto__.__proto__ = {name: "c"}; +o.__proto__.__proto__.__proto__ = {name:...
2007 Aug 15
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace
...,0 +1,3 @@ +check if deleting a property added with addProperty works +42 +undefined diff --git a/test/trace/addProperty-delete.as b/test/trace/addProperty-delete.as new file mode 100644 index 0000000..2c8076b --- /dev/null +++ b/test/trace/addProperty-delete.as @@ -0,0 +1,11 @@ +// makeswf -v 7 -s 200x150 -r 1 -o addProperty-delete.swf addProperty-delete.as + +trace ("check if deleting a property added with addProperty works"); + +o = {}; +o.addProperty ("x", function () { return 42; }, null); +trace (o.x); +delete o.x; +trace (o.x); + +loadMovie ("FSCommand:quit", &quo...
2007 Aug 16
0
Branch 'vivi' - 23 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace vivified/core
...,0 +1,3 @@ +check if deleting a property added with addProperty works +42 +undefined diff --git a/test/trace/addProperty-delete.as b/test/trace/addProperty-delete.as new file mode 100644 index 0000000..2c8076b --- /dev/null +++ b/test/trace/addProperty-delete.as @@ -0,0 +1,11 @@ +// makeswf -v 7 -s 200x150 -r 1 -o addProperty-delete.swf addProperty-delete.as + +trace ("check if deleting a property added with addProperty works"); + +o = {}; +o.addProperty ("x", function () { return 42; }, null); +trace (o.x); +delete o.x; +trace (o.x); + +loadMovie ("FSCommand:quit", &quo...
2007 Jul 06
0
Branch 'as' - 2 commits - libswfdec/swfdec_as_math.c test/trace
...test/trace/round-direction-8.swf.trace @@ -0,0 +1,5 @@ +Check rounding direction +0 +-1 +1 +2 diff --git a/test/trace/round-direction.as b/test/trace/round-direction.as new file mode 100644 index 0000000..3d2ccc1 --- /dev/null +++ b/test/trace/round-direction.as @@ -0,0 +1,10 @@ +// makeswf -v 7 -s 200x150 -r 1 -o round-direction.swf round-direction.as + +trace ("Check rounding direction"); + +trace (Math.round (-0.5)); +trace (Math.round (-1.5)); +trace (Math.round (0.5)); +trace (Math.round (1.5)); + +loadMovie ("FSCommand:quit", ""); diff-tree 4e3d40276024ca6504884f00...
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
...h) = _global.Number + __proto__ (hp) = _global.Number.prototype +local.b = number : 42 diff --git a/test/trace/number-properties.as b/test/trace/number-properties.as new file mode 100644 index 0000000..b65446e --- /dev/null +++ b/test/trace/number-properties.as @@ -0,0 +1,12 @@ +// makeswf -v 7 -s 200x150 -r 1 -o number-properties-7.swf number-properties.as + +#include "trace_properties.as" + +var a = new Number(10); +var b = 42; + +trace_properties (_global.Number, "_global", "Number"); +trace_properties (a, "local", "a"); +trace_properties (b, &quo...
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec/swfdec_movie.c test/trace
...ace @@ -0,0 +1,3 @@ +Check how removing movieclips affects depth +0 => -32769 +1000 => -33769 diff --git a/test/trace/remove-depths.as b/test/trace/remove-depths.as new file mode 100644 index 0000000..562bdbf --- /dev/null +++ b/test/trace/remove-depths.as @@ -0,0 +1,15 @@ +// makeswf -v 7 -s 200x150 -r 1 -o remove-depths.swf remove-depths.as + +depths = [ 0, -16384, -16385, 1000 ]; +for (i = 0; i < depths.length; i++) { + bla = createEmptyMovieClip ("foo" + i, depths[i]); + bla.depth = bla.getDepth (); + bla.onUnload = function () { + trace (this.depth + " => "...
2007 Jul 12
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_with.c libswfdec/swfdec_sprite_movie.c test/trace
...swf.trace @@ -0,0 +1,4 @@ +Check how with behaves when called on non-object values +1 +... +done diff --git a/test/trace/with-outobject.as b/test/trace/with-outobject.as new file mode 100644 index 0000000..2657ac5 --- /dev/null +++ b/test/trace/with-outobject.as @@ -0,0 +1,17 @@ +// makeswf -v 7 -s 200x150 -r 1 -o movie2.swf movie2.as + +trace ("Check how with behaves when called on non-object values"); + +with ("hi") { + trace (indexOf ("i")); +}; +with (undefined) { + trace ("undefined"); +}; +trace ("..."); +with (null) { + trace ("null&quo...