From 8cdc95177d17b96770bdc7e81f25f34ad8bacc6b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 8 Nov 2007 15:26:46 +0100 Subject: [PATCH] Check if fscommands work from NetStream.play hint: It's not what you'd expect --- test/trace/Makefile.am | 7 +++++++ test/trace/netstream-fscommand-6.swf | Bin 0 -> 232 bytes test/trace/netstream-fscommand-6.swf.trace | 1 + test/trace/netstream-fscommand-7.swf | Bin 0 -> 232 bytes test/trace/netstream-fscommand-7.swf.trace | 1 + test/trace/netstream-fscommand-8.swf | Bin 0 -> 232 bytes test/trace/netstream-fscommand-8.swf.trace | 1 + test/trace/netstream-fscommand.as | 16 ++++++++++++++++ 8 files changed, 26 insertions(+) create mode 100644 test/trace/netstream-fscommand-6.swf create mode 100644 test/trace/netstream-fscommand-6.swf.trace create mode 100644 test/trace/netstream-fscommand-7.swf create mode 100644 test/trace/netstream-fscommand-7.swf.trace create mode 100644 test/trace/netstream-fscommand-8.swf create mode 100644 test/trace/netstream-fscommand-8.swf.trace create mode 100644 test/trace/netstream-fscommand.as diff --git a/test/trace/Makefile.am b/test/trace/Makefile.am index 0cc753fb..ab9d1c4c 100644 --- a/test/trace/Makefile.am +++ b/test/trace/Makefile.am @@ -1022,6 +1022,13 @@ EXTRA_DIST = \ names.swf.trace \ netconnection.swf \ netconnection.swf.trace \ + netstream-fscommand.as \ + netstream-fscommand-6.swf \ + netstream-fscommand-6.swf.trace \ + netstream-fscommand-7.swf \ + netstream-fscommand-7.swf.trace \ + netstream-fscommand-8.swf \ + netstream-fscommand-8.swf.trace \ netstream-load-loop.as \ netstream-load-loop-6.swf \ netstream-load-loop-6.swf.trace \ diff --git a/test/trace/netstream-fscommand-6.swf b/test/trace/netstream-fscommand-6.swf new file mode 100644 index 0000000000000000000000000000000000000000..ffb266ac90e1f39f4db2693b7d06763697c035e1 GIT binary patch literal 232 zcwPbM02lv5S5pQw0RRAa+C7dzPQx%1MCZFn?XqfD*|e%x?XG+1f=Hz-S-=S**HNQ3 zHaG^v4SIq|fO<0ygPlnE8_#&=Km8+?InqCX2oE!axgSjlxP0ISyQ5YoS(UPEl&$N+ z9OS2Ur$(06$tUe!ywgR!c|8|jFbd&kXN}RySJpuF5~jgW#Q?f{d#^mYO>6eXYxn4i zS_3VEz^a`<5Rc~wmM>ZX#wi+_$9(jhwFyKLEk~cEp%#|Ly-T_t554e+-!zhLJ2uU) i4C_uNQBDz2V=?(5Ywp3*s+wm+;i@E=x%XcVEhLV;bDd_>(Lbf#{({~*=n_ubtS7-*`_JY zoBXnF*UHK|`K`zSYx#EwKY%)!n7Ey7>btr&)TC;TJvbUc2BNs zG|({!+;me2;_)59ibW^DI7LG9sE=OqE`!J-- i-1abw@Dj0YBBm!o@yo!Iw8{ret9*eX6#N4pdOh*?_H<7G literal 0 HcwPel00001 diff --git a/test/trace/netstream-fscommand-7.swf.trace b/test/trace/netstream-fscommand-7.swf.trace new file mode 100644 index 00000000..2a49fc78 --- /dev/null +++ b/test/trace/netstream-fscommand-7.swf.trace @@ -0,0 +1 @@ +Check if fscommand works for NetStream.play diff --git a/test/trace/netstream-fscommand-8.swf b/test/trace/netstream-fscommand-8.swf new file mode 100644 index 0000000000000000000000000000000000000000..7f1e661481eeaa129331b025805ea4bd8e74c200 GIT binary patch literal 232 zcwPbM02lv5S5pW#0RRAa+C5IYPQx%1J=aZZmx+oYODjCV#!fplQh|{Hz92G=8kN}8 zF-81AC&oxr>Ywp3*s+wm+;i@E=x%XcVEhLV;bDd_>(Lbf#{({~*=n_ubtS7-*`_JY zoBXnF*UHK|`K`zSYx#EwKY%)!n7Ey7>btr&)TC;TJvbUc2BNs zG|({!+;me2;_)59ibW^DI7LG9sE=OqE`!J-- i-1abw@Dj0YBBm!o@yo!Iw8{ret9*eX6#N4pdOh*@+jLL> literal 0 HcwPel00001 diff --git a/test/trace/netstream-fscommand-8.swf.trace b/test/trace/netstream-fscommand-8.swf.trace new file mode 100644 index 00000000..2a49fc78 --- /dev/null +++ b/test/trace/netstream-fscommand-8.swf.trace @@ -0,0 +1 @@ +Check if fscommand works for NetStream.play diff --git a/test/trace/netstream-fscommand.as b/test/trace/netstream-fscommand.as new file mode 100644 index 00000000..61be3bdd --- /dev/null +++ b/test/trace/netstream-fscommand.as @@ -0,0 +1,16 @@ +// makeswf -v 7 -s 200x150 -r 1 -o netstream-fscommand.swf netstream-fscommand.as + +trace ("Check if fscommand works for NetStream.play"); +nc = new NetConnection (); +nc.connect (null); +ns = new NetStream (nc); +ns.play ("fscommand:quit"); +onEnterFrame = function () { + if (nc) { + delete nc; + } else if (ns) { + delete ns; + } else { + loadMovie ("fscommand:quit", ""); + } +}; -- 2.11.4.GIT