STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228063
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/58056334?noj=FRM58056334-27DC" width="1" height="1"></div>

Duck.swf

This is the info page for
Flash #31867

(Click the ID number above for more basic data on this flash file.)


Text
quit

music
on/off

level

level

Kwek kwek!
Well done!
You have completed all 25
levels!
I hope you enjoyed it!
Please visit my blog for
more bonte games:
www.bontegames.com
This game was inspired by
the indie movie 'Duck'.
Thanks to the director Nic
Bettauer for the fine co-
opearation in the
realisation of this game.
Support Nic by buying
'Duck' the dvd or novella:
'Duck' dvd/novella
Support me by playing my
games :)
You can always contact me
by email:
bontegames@gmail.com
or reach me on facebook:
Bart Bonte on facebook
I'm always on the lookout
for any creative co-
operation like this game!
Get in touch with Nic here:
www.nicspics.net
Watch out for more bonte
games soon!
Duck,
think outside the flock
(c) 2008
all coding and artwork by
Bart Bonte
all music from 'The
Nutcracker' by Pyotr Ilyich
Tchaikovsky

skip

Bart Bonte presents

a game inspired by
the Nic Bettauer movie 'Duck'

start a new game

continue game

about 'Duck' the movie

buy 'Duck' dvd/novella

more bonte games

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreGameAd({id:"037ac181f27da4b7", res:"600x600", background:16777215, color:12827312, outline:9867660, no_bg:true});
Frame 2
skipinto = false; sndmute = false; var sound_loop1 = new Sound(this); sound_loop1.attachSound("loop1"); var sound_loop2 = new Sound(this); sound_loop2.attachSound("loop2"); var sound_loop3 = new Sound(this); sound_loop3.attachSound("loop3"); var sound_loop4 = new Sound(this); sound_loop4.attachSound("loop4"); var sound_duck1 = new Sound(this); sound_duck1.attachSound("duck1"); var sound_waterup = new Sound(this); sound_waterup.attachSound("waterup"); var sound_waterdown = new Sound(this); sound_waterdown.attachSound("waterdown"); var sound_watermove = new Sound(this); sound_watermove.attachSound("watermove"); var sound_watermove2 = new Sound(this); sound_watermove2.attachSound("watermove2");
Frame 6
duckshared = SharedObject.getLocal("duckshared1"); initlevel = 1; if (duckshared.data.lvl > 1) { initlevel = duckshared.data.lvl; } sound_loop1.start(0, 9999); stop(); function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("fde5f8a0", this, 10301, true);
Frame 10
stop();
Symbol 59 MovieClip [duckmovie2] Frame 1
if (oogje) { duck1.oog._visible = true; } else { duck1.oog._visible = false; } if (oogje2) { duck1.oog2._visible = true; } else { duck1.oog2._visible = false; }
Symbol 67 MovieClip [duckmovie] Frame 1
if (oogje) { duck1.oog._visible = true; } else { duck1.oog._visible = false; } if (oogje2) { duck1.oog2._visible = true; } else { duck1.oog2._visible = false; }
Symbol 77 MovieClip [drops] Frame 51
stop();
Symbol 78 MovieClip [violetball] Frame 1
stop();
Symbol 78 MovieClip [violetball] Frame 12
stop();
Symbol 79 MovieClip [redball] Frame 1
stop();
Symbol 79 MovieClip [redball] Frame 5
_parent._parent.sound_waterup.start();
Symbol 79 MovieClip [redball] Frame 12
stop();
Symbol 80 MovieClip [greenball] Frame 1
stop();
Symbol 80 MovieClip [greenball] Frame 5
Symbol 80 MovieClip [greenball] Frame 12
stop();
Symbol 81 MovieClip [drops2] Frame 36
stop();
Symbol 88 Button
on (release) { if (!_parent._parent.sndmute) { _parent._parent.sndmute = true; _parent._parent.sound_loop1.stop(); _parent._parent.sound_loop2.stop(); _parent._parent.sound_loop3.stop(); _parent._parent.sound_loop4.stop(); } else { _parent._parent.sndmute = false; if (((((((_parent._parent.initlevel == 1) || (_parent._parent.initlevel == 5)) || (_parent._parent.initlevel == 9)) || (_parent._parent.initlevel == 13)) || (_parent._parent.initlevel == 17)) || (_parent._parent.initlevel == 21)) || (_parent._parent.initlevel == 25)) { _parent._parent.sound_loop2.start(0, 9999); } else if (((((((_parent._parent.initlevel == 2) || (_parent._parent.initlevel == 6)) || (_parent._parent.initlevel == 10)) || (_parent._parent.initlevel == 14)) || (_parent._parent.initlevel == 18)) || (_parent._parent.initlevel == 22)) || (_parent._parent.initlevel == 26)) { _parent._parent.sound_loop3.start(0, 9999); } else if (((((((_parent._parent.initlevel == 3) || (_parent._parent.initlevel == 7)) || (_parent._parent.initlevel == 11)) || (_parent._parent.initlevel == 15)) || (_parent._parent.initlevel == 19)) || (_parent._parent.initlevel == 23)) || (_parent._parent.initlevel == 27)) { _parent._parent.sound_loop4.start(0, 9999); } else if (((((((_parent._parent.initlevel == 4) || (_parent._parent.initlevel == 8)) || (_parent._parent.initlevel == 12)) || (_parent._parent.initlevel == 16)) || (_parent._parent.initlevel == 20)) || (_parent._parent.initlevel == 24)) || (_parent._parent.initlevel == 28)) { _parent._parent.sound_loop1.start(0, 9999); } } }
Symbol 89 Button
on (release) { _parent._parent.sound_loop1.stop(); _parent._parent.sound_loop2.stop(); _parent._parent.sound_loop3.stop(); _parent._parent.sound_loop4.stop(); _parent._parent.skipinto = true; _parent._parent.gotoAndPlay("intro"); }
Symbol 100 Button
on (release) { _parent.endtest(nbr); }
Symbol 105 MovieClip [veldring] Frame 1
stop();
Symbol 105 MovieClip [veldring] Frame 2
stop();
Symbol 105 MovieClip [veldring] Frame 3
stop();
Symbol 107 Button
on (release) { getURL ("http://www.bontegames.com", "_blank"); }
Symbol 108 Button
on (release) { getURL ("http://www.duckthemovie.com/store.html", "_blank"); }
Symbol 109 Button
on (release) { getURL ("http://www.facebook.com/profile.php?id=1053445964", "_blank"); }
Symbol 110 Button
on (release) { getURL ("http://www.nicspics.net", "_blank"); }
Symbol 138 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.5"); } static function showPreGameAd(options) { var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }, ad_progress:function (percent) { }}; options = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (sendHostProgress) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showClickAwayAd(options) { var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () { }, ad_finished:function () { }, ad_loaded:function (width, height) { }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function () { }}; options = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_timeout = _local8; chk.started = getTimer(); chk.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; var _local20 = false; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { _local2 = true; chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } if (clip._mochiad._containerLCName != undefined) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } static function rpc(clip, callbackID, arg) { switch (arg.id) { case "setValue" : setValue(clip, arg.objectName, arg.value); break; case "getValue" : var _local4 = getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + arg.id); } } static function setValue(base, objectName, value) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } base[_local2[_local1]] = value; } static function getValue(base, objectName) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } return(base[_local2[_local1]]); } static function runMethod(base, methodName, argsArray) { var _local2 = methodName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } if (typeof(base[_local2[_local1]]) == "function") { return(base[_local2[_local1]].apply(base, argsArray)); } return(undefined); } }
Symbol 112 Button
on (release) { gotoAndPlay ("hier"); }
Symbol 128 Button
on (release) { _parent.initlevel = 1; _parent.gotoAndPlay("spel"); }
Symbol 129 Button
on (release) { _parent.gotoAndPlay("spel"); }
Symbol 130 Button
on (release) { getURL ("http://www.duckthemovie.com", "_blank"); }
Symbol 131 Button
on (release) { getURL ("http://www.duckthemovie.com/store.html", "_blank"); }
Symbol 132 Button
on (release) { getURL ("http://www.bontegames.com", "_blank"); }
Symbol 133 MovieClip Frame 1
introframecount = 0; introdiepte = 100; dropstel = 0; delay = 10; introdrop = attachMovie("drops", "introdrop0", introdiepte++, {_x:_xmouse, _y:_ymouse}); introdrop.onEnterFrame = function () { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { attachMovie("drops", "introdrop" + introdiepte, introdiepte++, {_x:this._x, _y:this._y}); } dropstel = 0; if (introdiepte > 1000) { introdiepte = 100; } } }; stop();
Symbol 134 MovieClip Frame 1
if (_parent.skipinto) { gotoAndPlay ("doemaar"); }
Symbol 134 MovieClip Frame 340
delay = 10; startposxduck = -400; startposyduck = 0; duck = attachMovie("duckmovie", "duck1000", 1000, {_x:startposxduck, _y:startposyduck}); endposx1duck = 150; endposx2duck = 500; delay1 = 20; delay2 = 50; delay3 = 100; delay4 = 120; duck._xscale = 30; duck._yscale = 30; duck.framecount = 0; duck.gotoAndStop(10); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.framecount <= delay1) { if (duck.framecount == 8) { _parent.sound_duck1.start(); } if (duck.framecount == 13) { _parent.sound_watermove.start(); } if (duck.framecount == 18) { _parent.sound_duck1.start(); } duck.framecount++; } else if (duck.framecount <= delay2) { duck.framecount++; dist_x = endposx1duck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } } else if (duck.framecount <= delay3) { duck.framecount++; dist_x = endposx2duck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } } else if (duck.framecount <= delay4) { duck.framecount++; this.removeMovieClip(); gotoAndPlay ("doeverder"); } }; stop();
Symbol 134 MovieClip Frame 429
_parent.sound_watermove.start();
Symbol 134 MovieClip Frame 461
stop();
Symbol 137 MovieClip Frame 1
duckthink = attachMovie("duckthinkgame", "dtg", 20000, {_x:-220, _y:-245}); delay = 10; solved = true; paarssolved = true; oogsolved = true; oog2solved = true; tttsolved = true; _parent.sound_loop1.stop(); gotoAndPlay(_parent.initlevel + 1); stop();
Symbol 137 MovieClip Frame 2
function level2wend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; } } _parent.initlevel = 1; duckthink.levelt = "" + _parent.initlevel; _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck10000", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } duck.framecount++; this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 2; greenballappear = new Array(40, 50); greenballx = new Array(-200, 200); greenbally = new Array(-50, 200); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + diepte, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); _parent.sound_waterdown.start(); this.removeMovieClip(); level2wend(); } }; i++; } hits = 0; stop();
Symbol 137 MovieClip Frame 3
function level3bend() { allfacing = true; var _local1 = 0; while (_local1 < duckarray.length) { if (!duckarray[_local1].facing) { allfacing = false; } _local1++; } if (allfacing) { _local1 = 0; while (_local1 < duckarray.length) { duckarray[_local1].done = true; duckarray[_local1].framecount = 0; _local1++; } } } _parent.initlevel = 2; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } diepte = 10000; ducknbr = 3; startdelayduck = new Array(50, 55, 60); startposxduck = new Array(500, 500, 500); startposyduck = new Array(-120, -50, 120); endposxduck = new Array(-100, 180, -150); dropssdiepte = new Array(100, 200, 300); duckarray = new Array(); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + diepte, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duckarray.push(duck); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 25)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(7); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(6); } else if (this.distance < 30) { this.gotoAndStop(5); } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove2.start(); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level3bend(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove.start(); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level3bend(); } } } }; duck.onRelease = function () { if (this.ready) { this.klik = true; } }; i++; } stop();
Symbol 137 MovieClip Frame 4
function popdrop() { if (droppsarray.length > 6) { droppsarray.reverse(); dr = droppsarray.pop(); dr.removeMovieClip(); droppsarray.reverse(); } } function endtest(nbr) { if (nbr == rduck) { solved = true; } duckbutton0.removeMovieClip(); duckbutton1.removeMovieClip(); duckbutton2.removeMovieClip(); duck0.done = true; duck1.done = true; duck2.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; } _parent.initlevel = 3; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } Mouse.hide(); droppsarray = new Array(); solved = false; rduck = Math.floor(Math.random() * 3); diepte = 10000; ducknbr = 3; startdelayduck = new Array(55, 55, 55); startposxduck = new Array(500, 500, 500); startposyduck = new Array(100, -50, -50); endposxduck = new Array(0, 173.205080756888, -173.205080756888); dropssdiepte = new Array(100, 200, 300); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.hoek = 0; if (i == 1) { duck.hoek = 2.0943951023932; } if (i == 2) { duck.hoek = 4.18879020478639; } duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((solved && (this.ducknbr == 0)) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((solved && (this.ducknbr == 0)) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 25)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); droppsarray.push(dropps); popdrop(); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else if (this.framecount <= 235) { this.framecount++; if ((this.ducknbr == rduck) && (this.framecount == 60)) { arrowm = attachMovie("arrowm", "arrowm", diepte++, {_x:this._x - 5, _y:this._y - 95}); } this._x = 200 * Math.sin(this.hoek); this._y = 100 * Math.cos(this.hoek); if (((this.ducknbr == rduck) && (this.framecount > 60)) && (this.framecount < 120)) { arrowm._x = -9 + (200 * Math.sin(this.hoek)); arrowm._y = -95 + (100 * Math.cos(this.hoek)); } if ((this.ducknbr == rduck) && (this.framecount == 120)) { arrowm.removeMovieClip(); } this.hoek = this.hoek + Math.abs(Math.sin(((this.framecount - 55) * Math.PI) / 180) / 5); if (this.hoek > (Math.PI*2)) { this.hoek = 0.1; } if ((this.dropstel++) > 20) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); droppsarray.push(dropps); popdrop(); this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } } else if (this.framecount == 236) { Mouse.show(); this.framecount++; duckbutton = attachMovie("duckbutton", "duckbutton" + this.ducknbr, diepte++, {_x:this._x - 2, _y:this._y - 2}); duckbutton.nbr = this.ducknbr; } }; i++; } stop();
Symbol 137 MovieClip Frame 5
if (!solved) { gotoAndPlay(_parent.initlevel + 1); } else { _parent.initlevel = 4; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } Mouse.hide(); paarssolved = false; antal = 0; diepte = 10000; ducknbr = 16; rduck = Math.floor(Math.random() * ducknbr); startdelayduck = new Array(0, 0, 0, 0, 20, 20, 20, 20, 40, 40, 40, 40, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-150, -150, -150, -150, -30, -30, -30, -30, 90, 90, 90, 90, 210, 210, 210, 210); endposxduck = new Array(180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180); dropssdiepte = new Array(50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800); var i = 0; while (i < ducknbr) { if (i == rduck) { duck = attachMovie("duckmovie2", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } else { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((paarssolved && (this.ducknbr == 0)) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((paarssolved && (this.ducknbr == 0)) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 15) && (this.framecount == 5)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 25)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 15) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 65)) { _parent.sound_watermove.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 15) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if ((this.ducknbr == 0) && (this.framecount == 20)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 0) && (this.framecount == 60)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 90)) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else { Mouse.show(); } }; duck.onRelease = function () { if ((this.ducknbr == rduck) && (antal == 0)) { paarssolved = true; } antal++; duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck5.done = true; duck6.done = true; duck7.done = true; duck8.done = true; duck9.done = true; duck10.done = true; duck11.done = true; duck12.done = true; duck13.done = true; duck14.done = true; duck15.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; duck5.framecount = 0; duck6.framecount = 0; duck7.framecount = 0; duck8.framecount = 0; duck9.framecount = 0; duck10.framecount = 0; duck11.framecount = 0; duck12.framecount = 0; duck13.framecount = 0; duck14.framecount = 0; duck15.framecount = 0; }; i++; } } stop();
Symbol 137 MovieClip Frame 6
function level2wiend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; } } if (!paarssolved) { gotoAndPlay(_parent.initlevel + 1); } else { _parent.initlevel = 5; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck10000", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } duck.framecount++; this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = (-1 * _xmouse) - this._x; dist_y = (-1 * _ymouse) - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 2; greenballappear = new Array(45, 50); greenballx = new Array(-200, 200); greenbally = new Array(-50, 200); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + diepte, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); this.removeMovieClip(); level2wiend(); } }; i++; } } hits = 0; stop();
Symbol 137 MovieClip Frame 7
function level3w3bend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); redball0.removeMovieClip(); redball1.removeMovieClip(); redball2.removeMovieClip(); } } _parent.initlevel = 6; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } duck.framecount++; this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 3; greenballappear = new Array(40, 45, 50); greenballx = new Array(-220, 200, 100); greenbally = new Array(50, -200, 250); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); this.gotoAndPlay(1); level3w3bend(); } }; i++; } redballnbr = 3; redballappear = new Array(25, 30, 35); redballx = new Array(100, 150, -150); redbally = new Array(-80, 75, 200); var i = 0; while (i < redballnbr) { redball = attachMovie("redball", "redball" + i, diepte++, {_x:redballx[i], _y:redbally[i]}); redball._xscale = 75; redball._yscale = 75; redball.framecount = 0; redball.appear = redballappear[i]; redball.onder = false; redball.psc = 0; redball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ballhit)) { if (!this.onder) { hits = 0; this.gotoAndPlay(1); if (greenball0._currentframe != 12) { greenball0.gotoAndPlay("appear"); } if (greenball1._currentframe != 12) { greenball1.gotoAndPlay("appear"); } if (greenball2._currentframe != 12) { greenball2.gotoAndPlay("appear"); } this.onder = true; if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); } }; i++; } hits = 0; stop();
Symbol 137 MovieClip Frame 8
function level3m3end() { if ((((((((duck0.facing && (duck1.facing)) && (duck2.facing)) && (duck3.facing)) && (duck4.facing)) && (duck5.facing)) && (duck6.facing)) && (duck7.facing)) && (duck8.facing)) { duck0.done = true; duck0.framecount = 0; duck1.done = true; duck1.framecount = 0; duck2.done = true; duck2.framecount = 0; duck3.done = true; duck3.framecount = 0; duck4.done = true; duck4.framecount = 0; duck5.done = true; duck5.framecount = 0; duck6.done = true; duck6.framecount = 0; duck7.done = true; duck7.framecount = 0; duck8.done = true; duck8.framecount = 0; } } _parent.initlevel = 7; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } diepte = 10000; ducknbr = 9; startdelayduck = new Array(50, 50, 50, 50, 50, 50, 50, 50, 50); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-80, 0, 80, -80, 0, 80, -80, 0, 80); endposxduck = new Array(80, 80, 80, 0, 0, 0, -80, -80, -80); dropssdiepte = new Array(100, 200, 300, 400, 500, 600, 700, 800, 900); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 19)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 20) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(7); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(6); } else if (this.distance < 30) { this.gotoAndStop(5); } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level3m3end(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level3m3end(); } } } }; duck.onRelease = function () { if (this.ready) { this.klik = true; if (this.ducknbr == 0) { duck1.klik = true; duck3.klik = true; } else if (this.ducknbr == 1) { duck0.klik = true; duck2.klik = true; duck4.klik = true; } else if (this.ducknbr == 2) { duck1.klik = true; duck5.klik = true; } else if (this.ducknbr == 3) { duck0.klik = true; duck4.klik = true; duck6.klik = true; } else if (this.ducknbr == 4) { duck1.klik = true; duck3.klik = true; duck5.klik = true; duck7.klik = true; } else if (this.ducknbr == 5) { duck2.klik = true; duck4.klik = true; duck8.klik = true; } else if (this.ducknbr == 6) { duck3.klik = true; duck7.klik = true; } else if (this.ducknbr == 7) { duck4.klik = true; duck6.klik = true; duck8.klik = true; } else if (this.ducknbr == 8) { duck5.klik = true; duck7.klik = true; } _parent.sound_watermove.start(); } }; i++; } stop();
Symbol 137 MovieClip Frame 9
function level5wsbdone() { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); greenball3.removeMovieClip(); greenball4.removeMovieClip(); } _parent.initlevel = 8; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } duck.framecount++; this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 5; greenballappear = new Array(30, 35, 40, 45, 50); greenballx = new Array(-220, 200, 100, 0, 50); greenbally = new Array(50, -50, 250, -150, 150); greenballscale = new Array(0.5, 0.75, 1, 1.25, 1.7); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = greenballscale[i] * 75; greenball._yscale = greenballscale[i] * 75; greenball.framecount = 0; greenball.nbr = i; greenball.psc = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else { if (this.psc == 10) { _parent.sound_waterup.start(); } if (duck.duckhit.hitTest(this.ballhit)) { if ((!this.onder) && (this.nbr != seqnbr)) { this.onder = true; this.gotoAndPlay(1); if ((seqnbr == 3) && (this.nbr == 4)) { level5wsbdone(); } else if ((seqnbr == 99) && (this.nbr == 0)) { seqnbr = this.nbr; this.onder = false; } else if ((seqnbr + 1) == this.nbr) { seqnbr = this.nbr; this.onder = false; } else { seqnbr = 99; popsnd = false; if ((this.nbr != 0) && (greenball0._currentframe != 12)) { greenball0.gotoAndPlay("appear"); popsnd = true; } if ((this.nbr != 1) && (greenball1._currentframe != 12)) { greenball1.gotoAndPlay("appear"); popsnd = true; } if ((this.nbr != 2) && (greenball2._currentframe != 12)) { greenball2.gotoAndPlay("appear"); popsnd = true; } if ((this.nbr != 3) && (greenball3._currentframe != 12)) { greenball3.gotoAndPlay("appear"); popsnd = true; } if ((this.nbr != 4) && (greenball4._currentframe != 12)) { greenball4.gotoAndPlay("appear"); popsnd = true; } if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } if (this.onder == false) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); } } }; i++; } seqnbr = 99; stop();
Symbol 137 MovieClip Frame 10
function level3w3biend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); redball0.removeMovieClip(); redball1.removeMovieClip(); redball2.removeMovieClip(); } } _parent.initlevel = 9; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { duck.framecount++; if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = (-1 * _xmouse) - this._x; dist_y = (-1 * _ymouse) - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 3; greenballappear = new Array(40, 45, 50); greenballx = new Array(-220, 200, 100); greenbally = new Array(50, -200, 250); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); this.gotoAndPlay(1); level3w3biend(); } }; i++; } redballnbr = 3; redballappear = new Array(25, 30, 35); redballx = new Array(100, 150, -150); redbally = new Array(-80, 75, 200); var i = 0; while (i < redballnbr) { redball = attachMovie("redball", "redball" + i, diepte++, {_x:redballx[i], _y:redbally[i]}); redball._xscale = 75; redball._yscale = 75; redball.framecount = 0; redball.appear = redballappear[i]; redball.onder = false; redball.psc = 0; redball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ballhit)) { if (!this.onder) { hits = 0; this.gotoAndPlay(1); if (greenball0._currentframe != 12) { greenball0.gotoAndPlay("appear"); } if (greenball1._currentframe != 12) { greenball1.gotoAndPlay("appear"); } if (greenball2._currentframe != 12) { greenball2.gotoAndPlay("appear"); } this.onder = true; } if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); } }; i++; } hits = 0; stop();
Symbol 137 MovieClip Frame 11
_parent.initlevel = 10; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } Mouse.hide(); oogsolved = false; antal = 0; diepte = 10000; ducknbr = 16; rduck = Math.floor(Math.random() * ducknbr); startdelayduck = new Array(0, 0, 0, 0, 20, 20, 20, 20, 40, 40, 40, 40, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-150, -150, -150, -150, -30, -30, -30, -30, 90, 90, 90, 90, 210, 210, 210, 210); endposxduck = new Array(180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180); dropssdiepte = new Array(50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((oogsolved && (this.ducknbr == 0)) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((oogsolved && (this.ducknbr == 0)) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 15) && (this.framecount == 5)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 25)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 15) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 65)) { _parent.sound_watermove.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 15) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if ((this.ducknbr == 0) && (this.framecount == 20)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 0) && (this.framecount == 60)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 90)) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { if (this.ducknbr == rduck) { this.oogje = true; } this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else { Mouse.show(); } }; duck.onRelease = function () { if ((this.ducknbr == rduck) && (antal == 0)) { oogsolved = true; } antal++; duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck5.done = true; duck6.done = true; duck7.done = true; duck8.done = true; duck9.done = true; duck10.done = true; duck11.done = true; duck12.done = true; duck13.done = true; duck14.done = true; duck15.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; duck5.framecount = 0; duck6.framecount = 0; duck7.framecount = 0; duck8.framecount = 0; duck9.framecount = 0; duck10.framecount = 0; duck11.framecount = 0; duck12.framecount = 0; duck13.framecount = 0; duck14.framecount = 0; duck15.framecount = 0; }; i++; } stop();
Symbol 137 MovieClip Frame 12
function getduckvoor(vp) { if (duck0.pos == (vp - 1)) { return(duck0); } if (duck1.pos == (vp - 1)) { return(duck1); } if (duck2.pos == (vp - 1)) { return(duck2); } if (duck3.pos == (vp - 1)) { return(duck3); } if (duck4.pos == (vp - 1)) { return(duck4); } if (duck5.pos == (vp - 1)) { return(duck5); } } function getduckna(vp) { if (duck0.pos == (vp + 1)) { return(duck0); } if (duck1.pos == (vp + 1)) { return(duck1); } if (duck2.pos == (vp + 1)) { return(duck2); } if (duck3.pos == (vp + 1)) { return(duck3); } if (duck4.pos == (vp + 1)) { return(duck4); } if (duck5.pos == (vp + 1)) { return(duck5); } } function levelrgpendtest() { score = 0; var _local1 = 0; while (_local1 < 7) { if (ringkleurarray[_local1] == ringarray[_local1]) { score++; } _local1++; } if (score == 6) { duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck5.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; duck5.framecount = 0; ring0.done = true; ring1.done = true; ring2.done = true; ring3.done = true; ring4.done = true; ring5.done = true; ring6.done = true; ring0.framecount = 0; ring1.framecount = 0; ring2.framecount = 0; ring3.framecount = 0; ring4.framecount = 0; ring5.framecount = 0; ring6.framecount = 0; } } if (!oogsolved) { gotoAndPlay(_parent.initlevel + 1); } else { _parent.initlevel = 11; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } Mouse.hide(); diepte = 5000; ringnbr = 7; startdelayring = new Array(0, 0, 0, 0, 0, 0, 0); posxring = new Array(52.0390901505053, -52.0390901505053, -116.971343302947, -93.9129788222897, -0.209439403907813, 93.6516488805994, 117.064145273503); posyring = new Array(-72.0861617057673, -72.0861617057673, -17.8600092808762, 49.8011709310095, 79.999878153063, 50.0194125068565, -17.587696348227); ringdropssdiepte = 1000; dropssdiepte = 2000; klikready = false; ringarray = new Array(2, 1, 2, 1, 1, 2, 0); ringkleurarray = new Array(1, 2, 1, 2, 2, 1, 2); var i = 0; while (i < ringnbr) { ring = attachMovie("veldring", "ring" + i, diepte++, {_x:posxring[i], _y:posyring[i]}); ring.startdelay = startdelayring[i]; ring.done = false; ring.framecount = 0; ring.nbr = i; if (ringkleurarray[i] == 1) { ring.gotoAndStop("geel"); } else { ring.gotoAndStop("paars"); } ring._visible = false; ring.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > 30) { this.removeMovieClip(); } } else if (this.framecount < this.startdelay) { this.framecount++; } else if (this.framecount == this.startdelay) { this.framecount++; this._visible = true; this.ready = true; if (this.nbr == 0) { _parent.sound_watermove2.start(); } dropps = attachMovie("drops", "drops" + ringdropssdiepte, ringdropssdiepte++, {_x:this._x, _y:this._y + 30}); dropps._xscale = 150; dropps._yscale = 150; } }; i++; } ring5.swapDepths(ring6); ducknbr = 6; startdelayduck = new Array(40, 42, 44, 46, 48, 50); startposxduck = new Array(500, 500, 500, 500, 500, 500); startposyduck = new Array(-92.0861617057673, -92.0861617057673, -37.8600092808762, 29.8011709310095, 59.999878153063, 30.0194125068565, -37.587696348227); endposxduck = new Array(52.0390901505053, -52.0390901505053, -116.971343302947, -93.9129788222897, -0.209439403907813, 93.6516488805994, 117.064145273503); dropssdiepte = new Array(50, 100, 150, 200, 250, 300); var i = 0; while (i < ducknbr) { if (ringarray[i] == 1) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } else { duck = attachMovie("duckmovie2", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } duck.diepte = diepte; duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.pos = i; duck.kleur = ringarray[i]; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 40)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 5) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if ((this.ducknbr == 0) && (this.framecount == 42)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 48)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 70)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else if (this.klik) { _parent.sound_watermove2.start(); posvoor = this.pos - 1; posna = this.pos + 1; if (posvoor == -1) { posvoor = 6; } if (posna == 7) { posna = 0; } if (ringarray[posvoor] == 0) { this._x = endposxduck[posvoor]; this._y = startposyduck[posvoor]; ringarray[posvoor] = this.kleur; ringarray[this.pos] = 0; this.pos = posvoor; if (this.pos == 6) { duckvoor = getduckvoor(6); if (duckvoor.diepte < this.diepte) { this.swapDepths(duckvoor); olddiepte = this.diepte; this.diepte = duckvoor.diepte; duckvoor.diepte = olddiepte; } } else if (this.pos == 3) { duckvoor = getduckvoor(3); if (duckvoor.diepte > this.diepte) { this.swapDepths(duckvoor); olddiepte = this.diepte; this.diepte = duckvoor.diepte; duckvoor.diepte = olddiepte; } } } else { this._x = endposxduck[posna]; this._y = startposyduck[posna]; ringarray[posna] = this.kleur; ringarray[this.pos] = 0; this.pos = posna; if (this.pos == 5) { duckna = getduckna(5); if (duckna.diepte > this.diepte) { this.swapDepths(duckna); olddiepte = this.diepte; this.diepte = duckna.diepte; duckna.diepte = olddiepte; } } else if (this.pos == 2) { duckna = getduckna(2); if (duckna.diepte < this.diepte) { this.swapDepths(duckna); olddiepte = this.diepte; this.diepte = duckna.diepte; duckna.diepte = olddiepte; } } } dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } this.ready = true; this.klik = false; levelrgpendtest(); } else { Mouse.show(); klikready = true; } }; duck.onRelease = function () { if (this.ready && (klikready)) { posvoor = this.pos - 1; posna = this.pos + 1; if (posvoor == -1) { posvoor = 6; } if (posna == 7) { posna = 0; } if ((ringarray[posvoor] == 0) || (ringarray[posna] == 0)) { klikready = false; this.klik = true; } } }; i++; } } stop();
Symbol 137 MovieClip Frame 13
function popdrop() { if (droppsarray.length > 7) { droppsarray.reverse(); dr = droppsarray.pop(); dr.removeMovieClip(); droppsarray.reverse(); } } function endtest(nbr) { if (nbr == rduck) { solved = true; } duckbutton0.removeMovieClip(); duckbutton1.removeMovieClip(); duckbutton2.removeMovieClip(); duckbutton3.removeMovieClip(); duckbutton4.removeMovieClip(); duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; } _parent.initlevel = 12; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } Mouse.hide(); droppsarray = new Array(); solved = false; rduck = Math.floor(Math.random() * 5); diepte = 10000; ducknbr = 5; startdelayduck = new Array(55, 55, 55, 55, 55); startposxduck = new Array(500, 500, 500, 500, 500); startposyduck = new Array(100, 30.9016994374947, -80.9016994374947, -80.9016994374948, 30.9016994374947); endposxduck = new Array(0, 190.211303259031, 117.557050458495, -117.557050458495, -190.211303259031); dropssdiepte = new Array(100, 200, 300, 400, 500); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.framecount2 = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.hoek = 0; if (i == 1) { duck.hoek = 1.25663706143592; } if (i == 2) { duck.hoek = 2.51327412287183; } if (i == 3) { duck.hoek = 3.76991118430775; } if (i == 4) { duck.hoek = 5.02654824574367; } duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((solved && (this.ducknbr == 0)) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((solved && (this.ducknbr == 0)) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 30)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.framecount2++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 20) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); droppsarray.push(dropps); popdrop(); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else if (this.framecount <= 235) { this.framecount++; this.framecount2++; if (this.ducknbr == 1) { this.framecount2++; } if (this.ducknbr == 3) { this.framecount2 = this.framecount2 + 2; } if ((this.ducknbr == rduck) && (this.framecount == 60)) { arrowm = attachMovie("arrowm", "arrowm", diepte++, {_x:this._x - 5, _y:this._y - 95}); } this._x = 200 * Math.sin(this.hoek); this._y = 100 * Math.cos(this.hoek); if (((this.ducknbr == rduck) && (this.framecount > 60)) && (this.framecount < 120)) { arrowm._x = -9 + (200 * Math.sin(this.hoek)); arrowm._y = -95 + (100 * Math.cos(this.hoek)); } if ((this.ducknbr == rduck) && (this.framecount == 120)) { arrowm.removeMovieClip(); } this.hoek = this.hoek + Math.abs(Math.sin(((this.framecount2 - 55) * Math.PI) / 180) / 5); if (this.hoek > (Math.PI*2)) { this.hoek = 0.1; } if ((this.dropstel++) > 25) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); droppsarray.push(dropps); popdrop(); this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } } else if (this.framecount == 236) { Mouse.show(); this.framecount++; duckbutton = attachMovie("duckbutton", "duckbutton" + this.ducknbr, diepte++, {_x:this._x - 2, _y:this._y - 2}); duckbutton.nbr = this.ducknbr; } }; i++; } stop();
Symbol 137 MovieClip Frame 14
function level9wsbdone() { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); greenball3.removeMovieClip(); greenball4.removeMovieClip(); greenball5.removeMovieClip(); greenball6.removeMovieClip(); greenball7.removeMovieClip(); greenball8.removeMovieClip(); } if (!solved) { gotoAndPlay(_parent.initlevel + 1); } else { _parent.initlevel = 13; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 25) { _parent.sound_watermove2.start(); } duck.framecount++; this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 9; greenballappear = new Array(18, 22, 26, 30, 34, 38, 42, 46, 50); greenballx = new Array(-200, 150, 200, -50, 0, 100, -180, 120, 235); greenbally = new Array(0, -150, 200, -75, -200, 125, 175, -50, -220); greenballscale = new Array(0.5, 0.5, 0.5, 0.75, 0.75, 0.75, 1, 1, 1); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = greenballscale[i] * 75; greenball._yscale = greenballscale[i] * 75; greenball.framecount = 0; if (((i == 0) || (i == 1)) || (i == 2)) { greenball.nbr = "1"; } if (((i == 3) || (i == 4)) || (i == 5)) { greenball.nbr = "2"; } if (((i == 6) || (i == 7)) || (i == 8)) { greenball.nbr = "3"; } greenball.inbr = i; greenball.psc = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else { if (this.psc == 10) { _parent.sound_waterup.start(); } if (duck.duckhit.hitTest(this.ballhit)) { if ((!this.onder) && (lastinbr != this.inbr)) { this.onder = true; lastinbr = this.inbr; if ((seq == "11122233") && (this.nbr == "3")) { level9wsbdone(); } else if ((((seq == "") || (seq == "1")) || (seq == "11")) && (this.nbr == "1")) { seq = seq + "1"; this.onder = false; _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } else if ((((seq == "111") || (seq == "1112")) || (seq == "11122")) && (this.nbr == "2")) { seq = seq + "2"; this.onder = false; _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } else if (((seq == "111222") || (seq == "1112223")) && (this.nbr == "3")) { seq = seq + "3"; this.onder = false; _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } else { seq = ""; popsnd = false; if (greenball0._currentframe != 12) { greenball0.gotoAndPlay("appear"); popsnd = true; } if (greenball1._currentframe != 12) { greenball1.gotoAndPlay("appear"); popsnd = true; } if (greenball2._currentframe != 12) { greenball2.gotoAndPlay("appear"); popsnd = true; } if (greenball3._currentframe != 12) { greenball3.gotoAndPlay("appear"); popsnd = true; } if (greenball4._currentframe != 12) { greenball4.gotoAndPlay("appear"); popsnd = true; } if (greenball5._currentframe != 12) { greenball5.gotoAndPlay("appear"); popsnd = true; } if (greenball6._currentframe != 12) { greenball6.gotoAndPlay("appear"); popsnd = true; } if (greenball7._currentframe != 12) { greenball7.gotoAndPlay("appear"); popsnd = true; } if (greenball8._currentframe != 12) { greenball8.gotoAndPlay("appear"); popsnd = true; } if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } this.gotoAndPlay(1); } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); lastinbr = 99; } } }; i++; } } seq = ""; lastinbr = 99; stop();
Symbol 137 MovieClip Frame 15
function level3lendtest() { if ((((((duck0.ind == 2) && (duck1.ind == 1)) && (duck2.ind == 2)) && (duck0.ready)) && (duck1.ready)) && (duck2.ready)) { duck0.done = true; duck1.done = true; duck2.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; } } _parent.initlevel = 14; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } diepte = 10000; ducknbr = 3; posnbr = 3; startdelayduck = new Array(50, 55, 60); startposxduck = new Array(500, 500, 500); startposyduck = new Array(-120, 150, -150); posxduck = new Array([-100, 180, 150], [-80, -150, 80], [150, -40, 0]); posyduck = new Array([-120, 180, 0], [150, 0, -180], [-150, -200, 0]); dropssdiepte = new Array(100, 200, 300); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = posxduck[i][0]; duck.ready = false; duck.klik = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.ind = 0; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 35)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else if (this.klik) { if (this.ready) { this.ind++; if (this.ind == posnbr) { this.ind = 0; } this.ready = false; _parent.sound_watermove2.start(); } this.dist_x = posxduck[this.ducknbr][this.ind] - this._x; this.dist_y = posyduck[this.ducknbr][this.ind] - this._y; this.distance = Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y)); this.angle = Math.atan2(this.dist_y, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this.yspeed = this.speed * Math.sin(this.angle); this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; if ((this.dropstel++) > 10) { if ((((this.xspeed > 1) or (this.xspeed < -1)) or (this.yspeed > 1)) or (this.yspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (Math.abs(this.distance) > 2) { this.hoek = (this.angle * 180) / Math.PI; if ((this.hoek > 75) && (this.hoek <= 105)) { this.gotoAndStop(1); } else if ((this.hoek > 105) && (this.hoek <= 135)) { this.gotoAndStop(2); } else if ((this.hoek > 135) && (this.hoek <= 165)) { this.gotoAndStop(3); } else if ((this.hoek > 165) || (this.hoek <= -165)) { this.gotoAndStop(4); } else if ((this.hoek > -165) && (this.hoek <= -135)) { this.gotoAndStop(5); } else if ((this.hoek > -135) && (this.hoek <= -105)) { this.gotoAndStop(6); } else if ((this.hoek > -105) && (this.hoek <= -75)) { this.gotoAndStop(7); } else if ((this.hoek > -75) && (this.hoek <= -45)) { this.gotoAndStop(8); } else if ((this.hoek > -45) && (this.hoek <= -15)) { this.gotoAndStop(9); } else if ((this.hoek > -15) && (this.hoek <= 15)) { this.gotoAndStop(10); } else if ((this.hoek > 15) && (this.hoek <= 45)) { this.gotoAndStop(11); } else if ((this.hoek > 45) && (this.hoek <= 75)) { this.gotoAndStop(12); } } else if (this._currentframe == 1) { this.ready = true; this.klik = false; level3lendtest(); } else if (this._currentframe < 7) { this.gotoAndStop(this._currentframe - 1); } else if (this._currentframe == 12) { this.gotoAndStop(1); } else if (this._currentframe >= 7) { this.gotoAndStop(this._currentframe + 1); } } }; duck.onRelease = function () { if (this.ready) { this.klik = true; } }; i++; } stop();
Symbol 137 MovieClip Frame 16
_parent.initlevel = 15; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } diepte = 5000; dropssdiepte = 100; dropstel = 0; duck = attachMovie("duckmovie", "duck0", diepte++, {_x:500, _y:0}); duck._xscale = 60; duck._yscale = 60; duck.done = false; duck.framecount = 0; duck.startdelay = 30; duck.endposx = 0; duck.ready = false; duck.klik = false; duck.drag = false; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if (this.framecount == 0) { _parent.sound_duck1.start(); } if (this.framecount == 10) { _parent.sound_duck1.start(); } if (this.framecount == 35) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if (this.framecount == 31) { _parent.sound_duck1.start(); } if (this.framecount == 41) { _parent.sound_duck1.start(); } if (this.framecount == 65) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x - 30, _y:this._y + 60}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); duck1 = attachMovie("duckmovie", "duck1", 4000, {_x:0, _y:0}); duck1._xscale = 30; duck1._yscale = 30; duck1.done = false; duck1.framecount = 0; duck1.klik = false; duck1.gotoAndStop(7); duck1.ready = true; duck1.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { gotoAndPlay(_parent.initlevel + 2); this.removeMovieClip(); } } } else if (this.klik) { this.ready = false; this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 1) { this.done = true; duck0.done = true; duck0.framecount = 0; } } }; duck1.onRelease = function () { if (this.ready) { this.klik = true; } }; if (this.distance < 2) { this.ready = true; } } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } }; duck.onPress = function () { if (this.ready) { this.drag = true; this.startDrag(false); } }; duck.onRelease = (mc.onReleaseOutside = function () { if (this.drag) { _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 60}); if (dropssdiepte > 1000) { dropssdiepte = 100; } this.drag = false; this.stopDrag(); } }); stop();
Symbol 137 MovieClip Frame 17
function popdrop() { if (droppsarray.length > 9) { droppsarray.reverse(); dr = droppsarray.pop(); dr.removeMovieClip(); droppsarray.reverse(); } } function level4m4end() { if (((((((((((((((duck0.facing && (duck1.facing)) && (duck2.facing)) && (duck3.facing)) && (duck4.facing)) && (duck5.facing)) && (duck6.facing)) && (duck7.facing)) && (duck8.facing)) && (duck9.facing)) && (duck10.facing)) && (duck11.facing)) && (duck12.facing)) && (duck13.facing)) && (duck14.facing)) && (duck15.facing)) { duck0.done = true; duck0.framecount = 0; duck1.done = true; duck1.framecount = 0; duck2.done = true; duck2.framecount = 0; duck3.done = true; duck3.framecount = 0; duck4.done = true; duck4.framecount = 0; duck5.done = true; duck5.framecount = 0; duck6.done = true; duck6.framecount = 0; duck7.done = true; duck7.framecount = 0; duck8.done = true; duck8.framecount = 0; duck9.done = true; duck9.framecount = 0; duck10.done = true; duck10.framecount = 0; duck11.done = true; duck11.framecount = 0; duck12.done = true; duck12.framecount = 0; duck13.done = true; duck13.framecount = 0; duck14.done = true; duck14.framecount = 0; duck15.done = true; duck15.framecount = 0; } } _parent.initlevel = 16; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } diepte = 10000; ducknbr = 16; startdelayduck = new Array(60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-120, -40, 40, 120, -120, -40, 40, 120, -120, -40, 40, 120, -120, -40, 40, 120); endposxduck = new Array(120, 120, 120, 120, 40, 40, 40, 40, -40, -40, -40, -40, -120, -120, -120, -120); dropssdiepte = new Array(100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 900); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 20)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 35) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(7); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(6); } else if (this.distance < 30) { this.gotoAndStop(5); } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level4m4end(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level4m4end(); } } } }; duck.onRelease = function () { if (this.ready) { this.klik = true; if (this.ducknbr == 0) { duck1.klik = true; duck4.klik = true; } else if (this.ducknbr == 1) { duck0.klik = true; duck2.klik = true; duck5.klik = true; } else if (this.ducknbr == 2) { duck1.klik = true; duck6.klik = true; duck3.klik = true; } else if (this.ducknbr == 3) { duck2.klik = true; duck7.klik = true; } else if (this.ducknbr == 4) { duck0.klik = true; duck5.klik = true; duck8.klik = true; } else if (this.ducknbr == 5) { duck1.klik = true; duck4.klik = true; duck6.klik = true; duck9.klik = true; } else if (this.ducknbr == 6) { duck2.klik = true; duck5.klik = true; duck7.klik = true; duck10.klik = true; } else if (this.ducknbr == 7) { duck3.klik = true; duck6.klik = true; duck11.klik = true; } else if (this.ducknbr == 8) { duck4.klik = true; duck9.klik = true; duck12.klik = true; } else if (this.ducknbr == 9) { duck5.klik = true; duck8.klik = true; duck10.klik = true; duck13.klik = true; } else if (this.ducknbr == 10) { duck6.klik = true; duck9.klik = true; duck11.klik = true; duck14.klik = true; } else if (this.ducknbr == 11) { duck7.klik = true; duck10.klik = true; duck15.klik = true; } else if (this.ducknbr == 12) { duck8.klik = true; duck13.klik = true; } else if (this.ducknbr == 13) { duck9.klik = true; duck12.klik = true; duck14.klik = true; } else if (this.ducknbr == 14) { duck10.klik = true; duck13.klik = true; duck15.klik = true; } else if (this.ducknbr == 15) { duck11.klik = true; duck14.klik = true; } _parent.sound_watermove.start(); } }; i++; } stop();
Symbol 137 MovieClip Frame 18
function getduckvoor(vp) { if (duck0.pos == (vp - 1)) { return(duck0); } if (duck1.pos == (vp - 1)) { return(duck1); } if (duck2.pos == (vp - 1)) { return(duck2); } if (duck3.pos == (vp - 1)) { return(duck3); } if (duck4.pos == (vp - 1)) { return(duck4); } if (duck5.pos == (vp - 1)) { return(duck5); } if (duck6.pos == (vp - 1)) { return(duck6); } if (duck7.pos == (vp - 1)) { return(duck7); } if (duck8.pos == (vp - 1)) { return(duck8); } if (duck9.pos == (vp - 1)) { return(duck9); } if (duck10.pos == (vp - 1)) { return(duck10); } } function getduckna(vp) { if (duck0.pos == (vp + 1)) { return(duck0); } if (duck1.pos == (vp + 1)) { return(duck1); } if (duck2.pos == (vp + 1)) { return(duck2); } if (duck3.pos == (vp + 1)) { return(duck3); } if (duck4.pos == (vp + 1)) { return(duck4); } if (duck5.pos == (vp + 1)) { return(duck5); } if (duck6.pos == (vp + 1)) { return(duck6); } if (duck7.pos == (vp + 1)) { return(duck7); } if (duck8.pos == (vp + 1)) { return(duck8); } if (duck9.pos == (vp + 1)) { return(duck9); } if (duck10.pos == (vp + 1)) { return(duck10); } } function level2rgpendtest() { score = 0; var _local1 = 0; while (_local1 < 13) { if (ringkleurarray[_local1] == ringarray[_local1]) { score++; } _local1++; } if (score == 11) { duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck5.done = true; duck6.done = true; duck7.done = true; duck8.done = true; duck9.done = true; duck10.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; duck5.framecount = 0; duck6.framecount = 0; duck7.framecount = 0; duck8.framecount = 0; duck9.framecount = 0; duck10.framecount = 0; ring0.done = true; ring1.done = true; ring2.done = true; ring3.done = true; ring4.done = true; ring5.done = true; ring6.done = true; ring7.done = true; ring8.done = true; ring9.done = true; ring10.done = true; ring11.done = true; ring12.done = true; ring0.framecount = 0; ring1.framecount = 0; ring2.framecount = 0; ring3.framecount = 0; ring4.framecount = 0; ring5.framecount = 0; ring6.framecount = 0; ring7.framecount = 0; ring8.framecount = 0; ring9.framecount = 0; ring10.framecount = 0; ring11.framecount = 0; ring12.framecount = 0; } } _parent.initlevel = 17; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } Mouse.hide(); diepte = 5000; ringnbr = 13; startdelayring = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); posxring = new Array(5, -60.1344483948737, -161.585819714336, -243.038252568263, -243.219903168614, -161.994126521264, -60.4622663666028, 70.1344483948737, 171.585819714336, 253.038252568263, 253.219903168614, 171.994126521264, 70.4622663666028); posyring = new Array(4.89842541528951E-15, -58.6140354314114, -78.0119483444451, -34.8184879497862, 34.5668599041586, 77.9496051828188, 58.777009299438, 58.6140354314114, 78.0119483444451, 34.8184879497862, -34.5668599041586, -77.9496051828188, -58.777009299438); ringdropssdiepte = 1000; dropssdiepte = 2000; klikready = false; ringarray = new Array(2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 0, 0); ringkleurarray = new Array(2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2); var i = 0; while (i < ringnbr) { ring = attachMovie("veldring", "ring" + i, diepte++, {_x:posxring[i], _y:posyring[i]}); ring.startdelay = startdelayring[i]; ring.done = false; ring.framecount = 0; ring.nbr = i; if (ringkleurarray[i] == 1) { ring.gotoAndStop("geel"); } else { ring.gotoAndStop("paars"); } ring._visible = false; ring.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > 30) { this.removeMovieClip(); } } else if (this.framecount < this.startdelay) { this.framecount++; } else if (this.framecount == this.startdelay) { this.framecount++; this._visible = true; this.ready = true; if (this.nbr == 0) { _parent.sound_watermove2.start(); } dropps = attachMovie("drops", "drops" + ringdropssdiepte, ringdropssdiepte++, {_x:this._x, _y:this._y + 30}); dropps._xscale = 150; dropps._yscale = 150; } }; i++; } ducknbr = 11; startdelayduck = new Array(60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-20, -78.6140354314114, -98.0119483444451, -54.8184879497862, 14.5668599041586, 57.9496051828188, 38.777009299438, 38.6140354314114, 58.0119483444451, 14.8184879497862, -54.5668599041586, -97.9496051828188, -78.777009299438); endposxduck = new Array(5, -60.1344483948737, -161.585819714336, -243.038252568263, -243.219903168614, -161.994126521264, -60.4622663666028, 70.1344483948737, 171.585819714336, 253.038252568263, 253.219903168614, 171.994126521264, 70.4622663666028); dropssdiepte = new Array(50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325); var i = 0; while (i < ducknbr) { if (ringarray[i] == 1) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } else { duck = attachMovie("duckmovie2", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } duck.diepte = diepte; duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.pos = i; duck.vorigepos = i; duck.kleur = ringarray[i]; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 60)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 10) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 120)) { if ((this.ducknbr == 0) && (this.framecount == 62)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 70)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 90)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else if (this.klik) { _parent.sound_watermove2.start(); if ((this.pos >= 1) && (this.pos <= 6)) { posvoor = this.pos - 1; posna = this.pos + 1; if (posna == 7) { posna = 0; } if ((((ringarray[posvoor] == 0) && (ringarray[posna] == 0)) && (this.richting == 1)) || ((ringarray[posvoor] == 0) && (ringarray[posna] != 0))) { this._x = endposxduck[posvoor]; this._y = startposyduck[posvoor]; ringarray[posvoor] = this.kleur; ringarray[this.pos] = 0; this.vorigepos = this.pos; this.richting = 1; this.pos = posvoor; if (this.pos == 4) { duckvoor = getduckvoor(4); if (duckvoor.diepte > this.diepte) { this.swapDepths(duckvoor); olddiepte = this.diepte; this.diepte = duckvoor.diepte; duckvoor.diepte = olddiepte; } } } else { this._x = endposxduck[posna]; this._y = startposyduck[posna]; ringarray[posna] = this.kleur; ringarray[this.pos] = 0; this.vorigepos = this.pos; this.richting = -1; this.pos = posna; if (this.pos == 3) { duckna = getduckna(3); if (duckna.diepte < this.diepte) { this.swapDepths(duckna); olddiepte = this.diepte; this.diepte = duckna.diepte; duckna.diepte = olddiepte; } } } } else if (this.pos == 0) { if ((ringarray[1] == 0) && (ringarray[7] == 0)) { if (this.vorigepos == 7) { dest = 1; } else { dest = 7; } } else if ((ringarray[1] == 0) && (ringarray[6] == 0)) { if (this.vorigepos == 1) { dest = 6; } else { dest = 1; } } else if ((ringarray[1] == 0) && (ringarray[12] == 0)) { if (this.vorigepos == 1) { dest = 12; } else { dest = 1; } } else if (ringarray[1] == 0) { dest = 1; } else if ((ringarray[6] == 0) && (ringarray[7] == 0)) { if (this.vorigepos == 6) { dest = 7; } else { dest = 6; } } else if ((ringarray[6] == 0) && (ringarray[12] == 0)) { if (this.vorigepos == 12) { dest = 6; } else { dest = 12; } } else if (ringarray[6] == 0) { dest = 6; } else if ((ringarray[7] == 0) && (ringarray[12] == 0)) { if (this.vorigepos == 7) { dest = 12; } else { dest = 7; } } else if (ringarray[7] == 0) { dest = 7; } else if (ringarray[12] == 0) { dest = 12; } this._x = endposxduck[dest]; this._y = startposyduck[dest]; ringarray[dest] = this.kleur; ringarray[this.pos] = 0; this.vorigepos = this.pos; this.pos = dest; if (dest == 1) { this.richting = -1; } if (dest == 6) { this.richting = 1; } if (dest == 7) { this.richting = 1; } if (dest == 12) { this.richting = -1; } } else if ((this.pos >= 7) && (this.pos <= 12)) { posvoor = this.pos - 1; posna = this.pos + 1; if (posvoor == 6) { posvoor = 0; } if (posna == 13) { posna = 0; } if ((((ringarray[posvoor] == 0) && (ringarray[posna] == 0)) && (this.richting == -1)) || ((ringarray[posvoor] == 0) && (ringarray[posna] != 0))) { this._x = endposxduck[posvoor]; this._y = startposyduck[posvoor]; ringarray[posvoor] = this.kleur; ringarray[this.pos] = 0; this.vorigepos = this.pos; this.richting = -1; this.pos = posvoor; if (this.pos == 10) { duckvoor = getduckvoor(10); if (duckvoor.diepte < this.diepte) { this.swapDepths(duckvoor); olddiepte = this.diepte; this.diepte = duckvoor.diepte; duckvoor.diepte = olddiepte; } } } else { this._x = endposxduck[posna]; this._y = startposyduck[posna]; ringarray[posna] = this.kleur; ringarray[this.pos] = 0; this.vorigepos = this.pos; this.richting = 1; this.pos = posna; if (this.pos == 9) { duckna = getduckna(9); if (duckna.diepte > this.diepte) { this.swapDepths(duckna); olddiepte = this.diepte; this.diepte = duckna.diepte; duckna.diepte = olddiepte; } } } } dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } this.ready = true; this.klik = false; level2rgpendtest(); } else { Mouse.show(); klikready = true; } }; duck.onRelease = function () { if (this.ready && (klikready)) { if ((this.pos >= 1) && (this.pos <= 6)) { posvoor = this.pos - 1; posna = this.pos + 1; if (posna == 7) { posna = 0; } if ((ringarray[posvoor] == 0) || (ringarray[posna] == 0)) { klikready = false; this.klik = true; } } else if (this.pos == 0) { if ((((ringarray[1] == 0) || (ringarray[6] == 0)) || (ringarray[7] == 0)) || (ringarray[12] == 0)) { klikready = false; this.klik = true; } } if ((this.pos >= 7) && (this.pos <= 12)) { posvoor = this.pos - 1; posna = this.pos + 1; if (posvoor == 6) { posvoor = 0; } if (posna == 13) { posna = 0; } if ((ringarray[posvoor] == 0) || (ringarray[posna] == 0)) { klikready = false; this.klik = true; } } } }; i++; } duck9.swapDepths(duck10); olddiepte = duck9.diepte; duck9.diepte = duck10.diepte; duck10.diepte = olddiepte; stop();
Symbol 137 MovieClip Frame 19
function level4wbrevend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); greenball3.removeMovieClip(); redball0.removeMovieClip(); redball1.removeMovieClip(); redball2.removeMovieClip(); redball3.removeMovieClip(); } } _parent.initlevel = 18; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { duck.framecount++; if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = (-1 * _ymouse) - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 4; greenballappear = new Array(35, 40, 45, 50); greenbally = new Array(-220, 200, 100, -50); greenballx = new Array(50, -200, 250, 100); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); this.gotoAndPlay(1); level4wbrevend(); } }; i++; } redballnbr = 4; redballappear = new Array(33, 38, 43, 48); redbally = new Array(100, 150, -150, -75); redballx = new Array(-80, 75, 200, -50); var i = 0; while (i < redballnbr) { redball = attachMovie("redball", "redball" + i, diepte++, {_x:redballx[i], _y:redbally[i]}); redball._xscale = 75; redball._yscale = 75; redball.framecount = 0; redball.appear = redballappear[i]; redball.onder = false; redball.psc = 0; redball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ballhit)) { if (!this.onder) { hits = 0; this.gotoAndPlay(1); if (greenball0._currentframe != 12) { greenball0.gotoAndPlay("appear"); } if (greenball1._currentframe != 12) { greenball1.gotoAndPlay("appear"); } if (greenball2._currentframe != 12) { greenball2.gotoAndPlay("appear"); } if (greenball3._currentframe != 12) { greenball3.gotoAndPlay("appear"); } this.onder = true; } if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); } }; i++; } hits = 0; stop();
Symbol 137 MovieClip Frame 20
_parent.initlevel = 19; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } diepte = 5000; dropssdiepte = 100; dropstel = 0; duck = attachMovie("duckmovie", "duck0", 5000, {_x:500, _y:0}); duck._xscale = 60; duck._yscale = 60; duck.done = false; duck.framecount = 0; duck.startdelay = 30; duck.endposx = 0; duck.ready = false; duck.klik = false; duck.drag = false; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if (this.framecount == 0) { _parent.sound_duck1.start(); } if (this.framecount == 10) { _parent.sound_duck1.start(); } if (this.framecount == 15) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if (this.framecount == 31) { _parent.sound_duck1.start(); } if (this.framecount == 38) { _parent.sound_duck1.start(); } if (this.framecount == 65) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x - 30, _y:this._y + 60}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); duck1 = attachMovie("duckmovie", "duck1", 4000, {_x:0, _y:0}); duck1._xscale = 30; duck1._yscale = 30; duck1.done = false; duck1.framecount = 0; duck1.klik = false; duck1.gotoAndStop(7); duck1.ready = true; duck1.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { gotoAndPlay(_parent.initlevel + 2); this.removeMovieClip(); } } } else if (this.klik) { this.ready = false; this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 1) { this.done = true; duck0.done = true; duck0.framecount = 0; duck2.done = true; duck2.framecount = 0; duck3.done = true; duck3.framecount = 0; duck4.done = true; duck4.framecount = 0; duck5.done = true; duck5.framecount = 0; duck6.done = true; duck6.framecount = 0; } } }; duck1.onRelease = function () { if (this.ready) { this.klik = true; } }; var _local3 = 2; while (_local3 < 7) { duck = attachMovie("duckmovie", "duck" + _local3, 5000 - _local3, {_x:0, _y:0}); duck._xscale = 60 - (_local3 * 4); duck._yscale = 60 - (_local3 * 4); duck.done = false; duck.framecount = 0; duck.startdelay = 30; duck.ready = true; duck.klik = false; duck.drag = false; duck.gotoAndStop(1); duck.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } }; duck.onPress = function () { if (this.ready) { this.drag = true; this.startDrag(false); } }; duck.onRelease = (mc.onReleaseOutside = function () { if (this.drag) { _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 60}); if (dropssdiepte > 1000) { dropssdiepte = 100; } this.drag = false; this.stopDrag(); } }); _local3++; } if (this.distance < 2) { this.ready = true; } } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } }; duck.onPress = function () { if (this.ready) { this.drag = true; this.startDrag(false); } }; duck.onRelease = (mc.onReleaseOutside = function () { if (this.drag) { _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 60}); if (dropssdiepte > 1000) { dropssdiepte = 100; } this.drag = false; this.stopDrag(); } }); stop();
Symbol 137 MovieClip Frame 21
_parent.initlevel = 20; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } Mouse.hide(); oog2solved = false; antal = 0; diepte = 10000; ducknbr = 16; rduck = Math.floor(Math.random() * ducknbr); startdelayduck = new Array(0, 0, 0, 0, 20, 20, 20, 20, 40, 40, 40, 40, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-150, -150, -150, -150, -30, -30, -30, -30, 90, 90, 90, 90, 210, 210, 210, 210); endposxduck = new Array(180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180); dropssdiepte = new Array(50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((oog2solved && (this.ducknbr == 15)) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((oog2solved && (this.ducknbr == 15)) && (this.framecount == 20)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 15) && (this.framecount == 5)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 25)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 15) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 15) && (this.framecount == 65)) { _parent.sound_watermove.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 15) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if ((this.ducknbr == 0) && (this.framecount == 20)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 0) && (this.framecount == 60)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 90)) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.oogje = true; if (this.ducknbr == rduck) { this.oogje2 = true; this.oogje = false; } this.gotoAndStop(1); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } else { Mouse.show(); } }; duck.onRelease = function () { if ((this.ducknbr == rduck) && (antal == 0)) { oog2solved = true; } antal++; duck0.done = true; duck1.done = true; duck2.done = true; duck3.done = true; duck4.done = true; duck5.done = true; duck6.done = true; duck7.done = true; duck8.done = true; duck9.done = true; duck10.done = true; duck11.done = true; duck12.done = true; duck13.done = true; duck14.done = true; duck15.done = true; duck0.framecount = 0; duck1.framecount = 0; duck2.framecount = 0; duck3.framecount = 0; duck4.framecount = 0; duck5.framecount = 0; duck6.framecount = 0; duck7.framecount = 0; duck8.framecount = 0; duck9.framecount = 0; duck10.framecount = 0; duck11.framecount = 0; duck12.framecount = 0; duck13.framecount = 0; duck14.framecount = 0; duck15.framecount = 0; }; i++; } stop();
Symbol 137 MovieClip Frame 22
function level5wbrevend() { hits++; if (hits == greenballnbr) { duck.done = true; duck.framecount = 0; greenball0.removeMovieClip(); greenball1.removeMovieClip(); greenball2.removeMovieClip(); greenball3.removeMovieClip(); greenball4.removeMovieClip(); redball0.removeMovieClip(); redball1.removeMovieClip(); redball2.removeMovieClip(); redball3.removeMovieClip(); redball4.removeMovieClip(); } } if (!oog2solved) { gotoAndPlay(_parent.initlevel + 1); } else { _parent.initlevel = 21; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } delay = 10; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; duck.onEnterFrame = function () { if (duck.done) { if (duck._currentframe < 10) { nframe = duck._currentframe + 1; if (nframe == 13) { nframe = 1; } this.gotoAndStop(nframe); } else { if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 20) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove2.start(); } this.gotoAndStop(10); dist_x = startposxduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if (((xspeed > 1) or (xspeed < -1)) && (distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 2) { this.removeMovieClip(); gotoAndPlay(_parent.initlevel + 2); } } } else if (duck.framecount <= startdelayduck) { if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = (-1 * _xmouse) - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; greenballnbr = 5; greenballappear = new Array(30, 35, 40, 45, 50); greenballx = new Array(-220, 200, 100, -50, -75); greenbally = new Array(50, -200, 250, 100, 225); var i = 0; while (i < greenballnbr) { greenball = attachMovie("greenball", "greenball" + i, diepte++, {_x:greenballx[i], _y:greenbally[i]}); greenball._xscale = 75; greenball._yscale = 75; greenball.framecount = 0; greenball.appear = greenballappear[i]; greenball.onEnterFrame = function () { if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { _parent.sound_waterup.start(); this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ball)) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); this.gotoAndPlay(1); level5wbrevend(); } }; i++; } redballnbr = 5; redballappear = new Array(28, 33, 38, 43, 48); redballx = new Array(100, 150, -150, -75, 200); redbally = new Array(-80, 75, 200, -50, -125); var i = 0; while (i < redballnbr) { redball = attachMovie("redball", "redball" + i, diepte++, {_x:redballx[i], _y:redbally[i]}); redball._xscale = 75; redball._yscale = 75; redball.framecount = 0; redball.appear = redballappear[i]; redball.onder = false; redball.psc = 0; redball.onEnterFrame = function () { if (this.psc < 20) { this.psc++; } if (this.framecount <= this.appear) { this.framecount++; if (this.framecount == (this.appear - 10)) { this.gotoAndPlay("appear"); } } else if (duck.duckhit.hitTest(this.ballhit)) { if (!this.onder) { hits = 0; this.gotoAndPlay(1); if (greenball0._currentframe != 12) { greenball0.gotoAndPlay("appear"); } if (greenball1._currentframe != 12) { greenball1.gotoAndPlay("appear"); } if (greenball2._currentframe != 12) { greenball2.gotoAndPlay("appear"); } if (greenball3._currentframe != 12) { greenball3.gotoAndPlay("appear"); } if (greenball4._currentframe != 12) { greenball4.gotoAndPlay("appear"); } this.onder = true; } if (this.psc == 20) { _parent.sound_waterdown.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 10}); } } else if (this.onder) { this.onder = false; this.psc = 0; this.gotoAndPlay("appear"); } }; i++; } } hits = 0; stop();
Symbol 137 MovieClip Frame 23
function checkfacing() { if (nbrfacing == 2) { nbrfacing = 0; klikready = false; typeduck1 = 99; typeduck2 = 99; var _local1 = 0; while (_local1 < 16) { if (getduck(_local1).facing) { duckfacing1 = getduck(_local1); typeduck1 = duckfacing1.typeduck; duckteller1 = _local1; break; } _local1++; } _local1 = 0; while (_local1 < 16) { if (getduck(_local1).facing && (_local1 != duckteller1)) { duckfacing2 = getduck(_local1); typeduck2 = duckfacing2.typeduck; break; } _local1++; } if (typeduck1 == typeduck2) { duckfacing1.beforedone = true; duckfacing2.beforedone = true; duckfacing1.beforeframecount = 0; duckfacing2.beforeframecount = 0; } else { duckfacing1.beforeklik = true; duckfacing2.beforeklik = true; duckfacing1.beforeframecount = 0; duckfacing2.beforeframecount = 0; } } } function getduck(duckteller) { if (duckteller == 0) { return(duck0); } if (duckteller == 1) { return(duck1); } if (duckteller == 2) { return(duck2); } if (duckteller == 3) { return(duck3); } if (duckteller == 4) { return(duck4); } if (duckteller == 5) { return(duck5); } if (duckteller == 6) { return(duck6); } if (duckteller == 7) { return(duck7); } if (duckteller == 8) { return(duck8); } if (duckteller == 9) { return(duck9); } if (duckteller == 10) { return(duck10); } if (duckteller == 11) { return(duck11); } if (duckteller == 12) { return(duck12); } if (duckteller == 13) { return(duck13); } if (duckteller == 14) { return(duck14); } if (duckteller == 15) { return(duck15); } } _parent.initlevel = 22; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop2.stop(); if (!_parent.sndmute) { _parent.sound_loop3.start(0, 9999); } Mouse.hide(); typeducks = new Array(99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99); typeduck = 0; do { typeduckcount = 0; do { do { duckpos = Math.floor(Math.random() * 16); } while (typeducks[duckpos] != 99); typeducks[duckpos] = typeduck; typeduckcount++; } while (typeduckcount < 2); typeduck++; } while (typeduck < 8); klikready = false; diepte = 10000; ducknbr = 16; startdelayduck = new Array(0, 0, 0, 0, 20, 20, 20, 20, 40, 40, 40, 40, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500); startposyduck = new Array(-150, -150, -150, -150, -30, -30, -30, -30, 90, 90, 90, 90, 210, 210, 210, 210); endposxduck = new Array(180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180, 180, 60, -60, -180); dropssdiepte = new Array(50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800); var i = 0; while (i < ducknbr) { typeduck = typeducks[i]; if (typeduck < 4) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } else { duck = attachMovie("duckmovie2", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); } duck.typeduck = typeduck; duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.klikback = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.beforeklik = false; duck.beforedone = false; duck.initial = true; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.beforedone) { this.beforeframecount++; if (this.beforeframecount > 10) { this.beforedone = false; this.done = true; this.framecount = 0; } } else if (this.beforeklik) { this.beforeframecount++; this.klik = false; if (this.beforeframecount > 30) { this.beforeklik = false; this.klikback = true; } } else if (this.done) { if ((ducksgone == 16) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((ducksgone == 16) && (this.framecount == 10)) { _parent.sound_duck1.start(); } this.framecount++; if (this.framecount > 20) { if (this._currentframe == 1) { this.gotoAndStop(12); _parent.sound_watermove.start(); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); ducksgone++; klikready = true; if (ducksgone == 16) { gotoAndPlay(_parent.initlevel + 2); } } } } } else if (this.klikback) { this.ready = false; this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { _parent.sound_watermove2.start(); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 7) { this.klikback = false; this.ready = true; this.facing = false; klikready = true; } } else if (this.klik) { this.ready = false; this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } if ((((this.typeduck == 1) || (this.typeduck == 3)) || (this.typeduck == 5)) || (this.typeduck == 7)) { this.oogje = true; } if ((((this.typeduck == 2) || (this.typeduck == 3)) || (this.typeduck == 6)) || (this.typeduck == 7)) { this.oogje2 = true; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { _parent.sound_watermove.start(); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.facing = true; nbrfacing++; checkfacing(); } } else if ((this.framecount <= this.startdelay) && (this.initial)) { this.framecount++; } else if (((this.framecount > this.startdelay) && (this.framecount < 100)) && (this.initial)) { if ((this.ducknbr == 0) && (this.framecount == 20)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 45)) { _parent.sound_watermove2.start(); } if ((this.ducknbr == 0) && (this.framecount == 60)) { _parent.sound_watermove.start(); } if ((this.ducknbr == 0) && (this.framecount == 90)) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(7); this.ready = true; if (this.ducknbr == 15) { klikready = true; this.initial = false; Mouse.show(); } } else if (this.distance < 26) { this.gotoAndStop(6); } else if (this.distance < 30) { this.gotoAndStop(5); } } }; duck.onRelease = function () { if ((this.ready && (!this.facing)) && (klikready)) { this.klik = true; } }; i++; } nbrfacing = 0; ducksgone = 0; stop();
Symbol 137 MovieClip Frame 24
function level20bend() { if ((duck10.facing && (duck11.facing)) && (duck12.facing)) { duck10.done = true; duck10.framecount = 0; duck11.done = true; duck11.framecount = 0; duck12.done = true; duck12.framecount = 0; duck0.done = true; duck0.framecount = 0; duck1.done = true; duck1.framecount = 0; duck2.done = true; duck2.framecount = 0; } } _parent.initlevel = 23; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop3.stop(); if (!_parent.sndmute) { _parent.sound_loop4.start(0, 9999); } diepte = 5000; dropssdiepte = 100; dropstel = 0; duck = attachMovie("duckmovie", "duck0", 5000, {_x:500, _y:0}); duck._xscale = 60; duck._yscale = 60; duck.done = false; duck.framecount = 0; duck.startdelay = 30; duck.endposx = 0; duck.ready = false; duck.klik = false; duck.drag = false; duck.dragcount = 0; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if (this.framecount == 0) { _parent.sound_duck1.start(); } if (this.framecount == 10) { _parent.sound_duck1.start(); } if (this.framecount == 15) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } else if (this.framecount <= this.startdelay) { this.framecount++; } else if ((this.framecount > this.startdelay) && (this.framecount < 100)) { if (this.framecount == 31) { _parent.sound_duck1.start(); } if (this.framecount == 41) { _parent.sound_duck1.start(); } if (this.framecount == 65) { _parent.sound_watermove2.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x - 30, _y:this._y + 60}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(1); var _local3 = 1; while (_local3 < 3) { duck = attachMovie("duckmovie", "duck" + _local3, 5000 - _local3, {_x:0, _y:0}); duck._xscale = 60 - (_local3 * 4); duck._yscale = 60 - (_local3 * 4); duck.done = false; duck.framecount = 0; duck.startdelay = 30; duck.ready = true; duck.klik = false; duck.drag = false; duck.dragcount = 0; duck.ducknbr = _local3; duck.gotoAndStop(1); duck.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } }; duck.onPress = function () { if (this.ready) { this.drag = true; this.startDrag(false); } }; duck.onRelease = (mc.onReleaseOutside = function () { if (this.drag) { this.dragcount++; if ((this.dragcount == 1) && (this.ducknbr == 1)) { duck11 = attachMovie("duckmovie", "duck11", 4001, {_x:this._x, _y:this._y}); duck11._xscale = 30; duck11._yscale = 30; duck11.done = false; duck11.framecount = 0; duck11.klik = false; duck11.gotoAndStop(7); duck11.facing = false; duck11.ready = true; duck11.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove2.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level20bend(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level20bend(); } } } }; duck11.onRelease = function () { if (this.ready) { this.klik = true; } }; } if ((this.dragcount == 1) && (this.ducknbr == 2)) { duck12 = attachMovie("duckmovie", "duck12", 4002, {_x:this._x, _y:this._y}); duck12._xscale = 30; duck12._yscale = 30; duck12.done = false; duck12.framecount = 0; duck12.klik = false; duck12.gotoAndStop(7); duck12.facing = false; duck12.ready = true; duck12.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove2.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level20bend(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level20bend(); } } } }; duck12.onRelease = function () { if (this.ready) { this.klik = true; } }; } _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 60}); if (dropssdiepte > 1000) { dropssdiepte = 100; } this.drag = false; this.stopDrag(); } }); _local3++; } if (this.distance < 2) { this.ready = true; } } else if (this.distance < 26) { this.gotoAndStop(2); } else if (this.distance < 30) { this.gotoAndStop(3); } } }; duck.onPress = function () { if (this.ready) { this.drag = true; this.startDrag(false); } }; duck.onRelease = (mc.onReleaseOutside = function () { if (this.drag) { this.dragcount++; if (this.dragcount == 1) { duck10 = attachMovie("duckmovie", "duck10", 4000, {_x:this._x, _y:this._y}); duck10._xscale = 30; duck10._yscale = 30; duck10.done = false; duck10.framecount = 0; duck10.klik = false; duck10.gotoAndStop(7); duck10.facing = false; duck10.ready = true; duck10.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((dropstel++) > 15) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.distance < 2) { gotoAndPlay(_parent.initlevel + 2); this.removeMovieClip(); } } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove2.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; level20bend(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); _parent.sound_watermove.start(); if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; level20bend(); } } } }; duck10.onRelease = function () { if (this.ready) { this.klik = true; } }; } _parent.sound_watermove.start(); dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 60}); if (dropssdiepte > 1000) { dropssdiepte = 100; } this.drag = false; this.stopDrag(); } }); stop();
Symbol 137 MovieClip Frame 25
function popdrop() { if (droppsarray.length > 9) { droppsarray.reverse(); dr = droppsarray.pop(); dr.removeMovieClip(); droppsarray.reverse(); } } function levelshot1end() { if (((((((((((((((duck0.facing && (duck1.facing)) && (duck2.facing)) && (duck3.facing)) && (duck4.facing)) && (duck5.facing)) && (duck6.facing)) && (duck7.facing)) && (duck8.facing)) && (duck9.facing)) && (duck10.facing)) && (duck11.facing)) && (duck12.facing)) && (duck13.facing)) && (duck14.facing)) && (duck15.facing)) { duck0.done = true; duck0.framecount = 0; duck1.done = true; duck1.framecount = 0; duck2.done = true; duck2.framecount = 0; duck3.done = true; duck3.framecount = 0; duck4.done = true; duck4.framecount = 0; duck5.done = true; duck5.framecount = 0; duck6.done = true; duck6.framecount = 0; duck7.done = true; duck7.framecount = 0; duck8.done = true; duck8.framecount = 0; duck9.done = true; duck9.framecount = 0; duck10.done = true; duck10.framecount = 0; duck11.done = true; duck11.framecount = 0; duck12.done = true; duck12.framecount = 0; duck13.done = true; duck13.framecount = 0; duck14.done = true; duck14.framecount = 0; duck15.done = true; duck15.framecount = 0; } } _parent.initlevel = 24; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop4.stop(); if (!_parent.sndmute) { _parent.sound_loop1.start(0, 9999); } diepte = 10000; ducknbr = 16; startdelayduck = new Array(60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60); startposxduck = new Array(500, 500, 500, 500, 700, 700, 700, 700, 1000, 1000, 1000, 1000, 2000, 2000, 2000, 2000); startposyduck = new Array(-120, -40, 40, 120, -120, -40, 40, 120, -120, -40, 40, 120, -120, -40, 40, 120); endposxduck = new Array(120, 120, 120, 120, 40, 40, 40, 40, -40, -40, -40, -40, -120, -120, -120, -120); dropssdiepte = new Array(100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 900); var i = 0; while (i < ducknbr) { duck = attachMovie("duckmovie", "duck" + i, diepte++, {_x:startposxduck[i], _y:startposyduck[i]}); duck._xscale = 30; duck._yscale = 30; duck.done = false; duck.framecount = 0; duck.startdelay = startdelayduck[i]; duck.endposx = endposxduck[i]; duck.ready = false; duck.klik = false; duck.facing = false; duck.dropssdiepte = dropssdiepte[i]; duck.dropstel = 0; duck.ducknbr = i; duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount < 30) { } else if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = startposxduck[this.ducknbr] - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if (((this.xspeed > 1) or (this.xspeed < -1)) && (this.distance > 50)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } else if (this.framecount <= this.startdelay) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove.start(); } this.framecount++; this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 35) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 18) { this.gotoAndStop(7); this.ready = true; } else if (this.distance < 26) { this.gotoAndStop(6); } else if (this.distance < 30) { this.gotoAndStop(5); } } else if (this.klik) { this.ready = false; if (this.facing) { this.newpos = this._currentframe; this.newpos++; this.gotoAndStop(this.newpos); if (this.newpos == 3) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 7) { this.klik = false; this.ready = true; this.facing = false; levelshot1end(); } } else { this.newpos = this._currentframe; this.newpos++; if (this.newpos == 13) { this.newpos = 1; } this.gotoAndStop(this.newpos); if (this.newpos == 9) { dropps = attachMovie("drops2", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.newpos == 1) { this.klik = false; this.ready = true; this.facing = true; levelshot1end(); } } } }; duck.onRelease = function () { if (this.ready) { this.klik = true; if (this.ducknbr == 0) { duck5.klik = true; duck10.klik = true; duck15.klik = true; } else if (this.ducknbr == 1) { duck4.klik = true; duck6.klik = true; duck11.klik = true; } else if (this.ducknbr == 2) { duck7.klik = true; duck5.klik = true; duck8.klik = true; } else if (this.ducknbr == 3) { duck6.klik = true; duck9.klik = true; duck12.klik = true; } else if (this.ducknbr == 4) { duck1.klik = true; duck9.klik = true; duck14.klik = true; } else if (this.ducknbr == 5) { duck2.klik = true; duck8.klik = true; duck0.klik = true; duck10.klik = true; duck15.klik = true; } else if (this.ducknbr == 6) { duck1.klik = true; duck3.klik = true; duck9.klik = true; duck11.klik = true; duck12.klik = true; } else if (this.ducknbr == 7) { duck2.klik = true; duck10.klik = true; duck13.klik = true; } else if (this.ducknbr == 8) { duck5.klik = true; duck2.klik = true; duck13.klik = true; } else if (this.ducknbr == 9) { duck4.klik = true; duck12.klik = true; duck6.klik = true; duck3.klik = true; duck14.klik = true; } else if (this.ducknbr == 10) { duck7.klik = true; duck15.klik = true; duck5.klik = true; duck13.klik = true; duck0.klik = true; } else if (this.ducknbr == 11) { duck1.klik = true; duck6.klik = true; duck14.klik = true; } else if (this.ducknbr == 12) { duck9.klik = true; duck6.klik = true; duck3.klik = true; } else if (this.ducknbr == 13) { duck8.klik = true; duck10.klik = true; duck7.klik = true; } else if (this.ducknbr == 14) { duck4.klik = true; duck9.klik = true; duck11.klik = true; } else if (this.ducknbr == 15) { duck0.klik = true; duck5.klik = true; duck10.klik = true; } _parent.sound_watermove.start(); } }; i++; } stop();
Symbol 137 MovieClip Frame 26
function getduck(duckteller) { if (duckteller == 0) { return(duck0); } if (duckteller == 1) { return(duck1); } if (duckteller == 2) { return(duck2); } if (duckteller == 3) { return(duck3); } if (duckteller == 4) { return(duck4); } if (duckteller == 5) { return(duck5); } if (duckteller == 6) { return(duck6); } if (duckteller == 7) { return(duck7); } if (duckteller == 8) { return(duck8); } } function doezet() { if ((((((((((ttt[0] == 1) && (ttt[1] == 1)) && (ttt[2] == 1)) || (((ttt[3] == 1) && (ttt[4] == 1)) && (ttt[5] == 1))) || (((ttt[6] == 1) && (ttt[7] == 1)) && (ttt[8] == 1))) || (((ttt[0] == 1) && (ttt[3] == 1)) && (ttt[6] == 1))) || (((ttt[1] == 1) && (ttt[4] == 1)) && (ttt[7] == 1))) || (((ttt[2] == 1) && (ttt[5] == 1)) && (ttt[8] == 1))) || (((ttt[0] == 1) && (ttt[4] == 1)) && (ttt[8] == 1))) || (((ttt[2] == 1) && (ttt[4] == 1)) && (ttt[6] == 1))) { tttsolved = true; ring0.done = true; ring1.done = true; ring2.done = true; ring3.done = true; ring4.done = true; ring5.done = true; ring6.done = true; ring7.done = true; ring8.done = true; ring0.framecount = 0; ring1.framecount = 0; ring2.framecount = 0; ring3.framecount = 0; ring4.framecount = 0; ring5.framecount = 0; ring6.framecount = 0; ring7.framecount = 0; ring8.framecount = 0; if (((ttt[0] == 1) && (ttt[1] == 1)) && (ttt[2] == 1)) { ring0.flikker = true; ring1.flikker = true; ring2.flikker = true; } else if (((ttt[3] == 1) && (ttt[4] == 1)) && (ttt[5] == 1)) { ring3.flikker = true; ring4.flikker = true; ring5.flikker = true; } else if (((ttt[6] == 1) && (ttt[7] == 1)) && (ttt[8] == 1)) { ring6.flikker = true; ring7.flikker = true; ring8.flikker = true; } else if (((ttt[0] == 1) && (ttt[3] == 1)) && (ttt[6] == 1)) { ring0.flikker = true; ring3.flikker = true; ring6.flikker = true; } else if (((ttt[1] == 1) && (ttt[4] == 1)) && (ttt[7] == 1)) { ring1.flikker = true; ring4.flikker = true; ring7.flikker = true; } else if (((ttt[2] == 1) && (ttt[5] == 1)) && (ttt[8] == 1)) { ring2.flikker = true; ring5.flikker = true; ring8.flikker = true; } else if (((ttt[0] == 1) && (ttt[4] == 1)) && (ttt[8] == 1)) { ring0.flikker = true; ring4.flikker = true; ring8.flikker = true; } else if (((ttt[2] == 1) && (ttt[4] == 1)) && (ttt[6] == 1)) { ring2.flikker = true; ring4.flikker = true; ring6.flikker = true; } var _local3 = 0; while (_local3 <= duckteller) { duck = getduck(_local3); duck.done = true; duck.framecount = 0; _local3++; } Mouse.show(); } else if (duckteller == 8) { ring0.done = true; ring1.done = true; ring2.done = true; ring3.done = true; ring4.done = true; ring5.done = true; ring6.done = true; ring7.done = true; ring8.done = true; ring0.framecount = 0; ring1.framecount = 0; ring2.framecount = 0; ring3.framecount = 0; ring4.framecount = 0; ring5.framecount = 0; ring6.framecount = 0; ring7.framecount = 0; ring8.framecount = 0; var _local3 = 0; while (_local3 <= duckteller) { duck = getduck(_local3); duck.done = true; duck.framecount = 0; _local3++; } Mouse.show(); } else { if ((((ttt[0] == 2) && (ttt[1] == 2)) && (ttt[2] == 0)) || (((ttt[8] == 2) && (ttt[5] == 2)) && (ttt[2] == 0))) { zet = 2; } else if ((((ttt[0] == 2) && (ttt[1] == 0)) && (ttt[2] == 2)) || (((ttt[4] == 2) && (ttt[1] == 0)) && (ttt[7] == 2))) { zet = 1; } else if ((((ttt[0] == 0) && (ttt[1] == 2)) && (ttt[2] == 2)) || (((ttt[0] == 0) && (ttt[3] == 2)) && (ttt[6] == 2))) { zet = 0; } else if ((((ttt[3] == 2) && (ttt[4] == 2)) && (ttt[5] == 0)) || (((ttt[2] == 2) && (ttt[8] == 2)) && (ttt[5] == 0))) { zet = 5; } else if ((((ttt[3] == 2) && (ttt[4] == 0)) && (ttt[5] == 2)) || (((ttt[1] == 2) && (ttt[4] == 0)) && (ttt[7] == 2))) { zet = 4; } else if ((((ttt[3] == 0) && (ttt[4] == 2)) && (ttt[5] == 2)) || (((ttt[3] == 0) && (ttt[0] == 2)) && (ttt[6] == 2))) { zet = 3; } else if ((((ttt[6] == 2) && (ttt[7] == 2)) && (ttt[8] == 0)) || (((ttt[2] == 2) && (ttt[5] == 2)) && (ttt[8] == 0))) { zet = 8; } else if ((((ttt[6] == 2) && (ttt[7] == 0)) && (ttt[8] == 2)) || (((ttt[1] == 2) && (ttt[7] == 0)) && (ttt[4] == 2))) { zet = 7; } else if ((((ttt[6] == 0) && (ttt[7] == 2)) && (ttt[8] == 2)) || (((ttt[6] == 0) && (ttt[0] == 2)) && (ttt[3] == 2))) { zet = 6; } else if (((ttt[0] == 0) && (ttt[4] == 2)) && (ttt[8] == 2)) { zet = 0; } else if (((ttt[0] == 2) && (ttt[4] == 0)) && (ttt[8] == 2)) { zet = 4; } else if (((ttt[0] == 2) && (ttt[4] == 2)) && (ttt[8] == 0)) { zet = 8; } else if (((ttt[2] == 0) && (ttt[4] == 2)) && (ttt[6] == 2)) { zet = 2; } else if (((ttt[2] == 2) && (ttt[4] == 0)) && (ttt[6] == 2)) { zet = 4; } else if (((ttt[2] == 2) && (ttt[4] == 2)) && (ttt[6] == 0)) { zet = 6; } else if ((((ttt[0] == 1) && (ttt[1] == 1)) && (ttt[2] == 0)) || (((ttt[8] == 1) && (ttt[5] == 1)) && (ttt[2] == 0))) { zet = 2; } else if ((((ttt[0] == 1) && (ttt[1] == 0)) && (ttt[2] == 1)) || (((ttt[4] == 1) && (ttt[1] == 0)) && (ttt[7] == 1))) { zet = 1; } else if ((((ttt[0] == 0) && (ttt[1] == 1)) && (ttt[2] == 1)) || (((ttt[0] == 0) && (ttt[3] == 1)) && (ttt[6] == 1))) { zet = 0; } else if ((((ttt[3] == 1) && (ttt[4] == 1)) && (ttt[5] == 0)) || (((ttt[2] == 1) && (ttt[8] == 1)) && (ttt[5] == 0))) { zet = 5; } else if ((((ttt[3] == 1) && (ttt[4] == 0)) && (ttt[5] == 1)) || (((ttt[1] == 1) && (ttt[4] == 0)) && (ttt[7] == 1))) { zet = 4; } else if ((((ttt[3] == 0) && (ttt[4] == 1)) && (ttt[5] == 1)) || (((ttt[3] == 0) && (ttt[0] == 1)) && (ttt[6] == 1))) { zet = 3; } else if ((((ttt[6] == 1) && (ttt[7] == 1)) && (ttt[8] == 0)) || (((ttt[2] == 1) && (ttt[5] == 1)) && (ttt[8] == 0))) { zet = 8; } else if ((((ttt[6] == 1) && (ttt[7] == 0)) && (ttt[8] == 1)) || (((ttt[1] == 1) && (ttt[7] == 0)) && (ttt[4] == 1))) { zet = 7; } else if ((((ttt[6] == 0) && (ttt[7] == 1)) && (ttt[8] == 1)) || (((ttt[6] == 0) && (ttt[0] == 1)) && (ttt[3] == 1))) { zet = 6; } else if (((ttt[0] == 0) && (ttt[4] == 1)) && (ttt[8] == 1)) { zet = 0; } else if (((ttt[0] == 1) && (ttt[4] == 0)) && (ttt[8] == 1)) { zet = 4; } else if (((ttt[0] == 1) && (ttt[4] == 1)) && (ttt[8] == 0)) { zet = 8; } else if (((ttt[2] == 0) && (ttt[4] == 1)) && (ttt[6] == 1)) { zet = 2; } else if (((ttt[2] == 1) && (ttt[4] == 0)) && (ttt[6] == 1)) { zet = 4; } else if (((ttt[2] == 1) && (ttt[4] == 1)) && (ttt[6] == 0)) { zet = 6; } else if ((((ttt[0] == 0) && (ttt[1] == 2)) || ((ttt[0] == 0) && (ttt[4] == 2))) || ((ttt[0] == 0) && (ttt[3] == 2))) { zet = 0; } else if ((((ttt[1] == 0) && (ttt[0] == 2)) || ((ttt[1] == 0) && (ttt[4] == 2))) || ((ttt[1] == 0) && (ttt[2] == 2))) { zet = 1; } else if ((((ttt[2] == 0) && (ttt[1] == 2)) || ((ttt[2] == 0) && (ttt[4] == 2))) || ((ttt[2] == 0) && (ttt[5] == 2))) { zet = 2; } else if ((((ttt[3] == 0) && (ttt[0] == 2)) || ((ttt[3] == 0) && (ttt[4] == 2))) || ((ttt[3] == 0) && (ttt[6] == 2))) { zet = 3; } else if ((((ttt[5] == 0) && (ttt[2] == 2)) || ((ttt[5] == 0) && (ttt[4] == 2))) || ((ttt[5] == 0) && (ttt[8] == 2))) { zet = 5; } else if ((((ttt[6] == 0) && (ttt[3] == 2)) || ((ttt[6] == 0) && (ttt[4] == 2))) || ((ttt[6] == 0) && (ttt[7] == 2))) { zet = 6; } else if ((((ttt[7] == 0) && (ttt[6] == 2)) || ((ttt[7] == 0) && (ttt[4] == 2))) || ((ttt[7] == 0) && (ttt[8] == 2))) { zet = 7; } else if ((((ttt[8] == 0) && (ttt[4] == 2)) || ((ttt[8] == 0) && (ttt[5] == 2))) || ((ttt[8] == 0) && (ttt[7] == 2))) { zet = 8; } else if (ttt[4] == 0) { zet = 4; } else if (ttt[0] == 0) { zet = 0; } else if (ttt[1] == 0) { zet = 1; } else if (ttt[2] == 0) { zet = 2; } else if (ttt[3] == 0) { zet = 3; } else if (ttt[5] == 0) { zet = 5; } else if (ttt[6] == 0) { zet = 6; } else if (ttt[7] == 0) { zet = 7; } else if (ttt[8] == 0) { zet = 8; } ttt[zet] = 2; duckteller++; duck = attachMovie("duckmovie2", "duck" + duckteller, diepte++, {_x:-500, _y:-500}); _parent.sound_watermove.start(); if (((zet == 0) || (zet == 1)) || (zet == 2)) { duck._y = ring0._y - 20; } else if (((zet == 3) || (zet == 4)) || (zet == 5)) { duck._y = ring3._y - 20; } else { duck._y = ring6._y - 20; } duck._xscale = 30; duck._yscale = 30; duck.dropstel = 0; if (((zet == 0) || (zet == 3)) || (zet == 6)) { duck.endposx = ring0._x + 5; } else if (((zet == 1) || (zet == 4)) || (zet == 7)) { duck.endposx = ring1._x + 5; } else { duck.endposx = ring2._x + 5; } duck.done = false; duck.ducknbr = duckteller; duck.startdelay = 30; duck.dropssdiepte = 1200 + (duckteller * 50); duck.inplace = false; duck.gotoAndStop(10); duck.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(2); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 2) { this.gotoAndStop(3); } else if (this._currentframe == 3) { this.gotoAndStop(4); } else { this.dist_x = -500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { this.removeMovieClip(); } } } } else if (!this.inplace) { this.dist_x = this.endposx - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 25) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; } if (this.distance < 18) { this.gotoAndStop(1); } else if (this.distance < 26) { this.gotoAndStop(12); } else if (this.distance < 30) { this.gotoAndStop(11); } if (Math.abs(this.dist_x) < 2) { this.inplace = true; tegenzetdone(); } } }; } } function tegenzetdone() { if ((((((((((ttt[0] == 2) && (ttt[1] == 2)) && (ttt[2] == 2)) || (((ttt[3] == 2) && (ttt[4] == 2)) && (ttt[5] == 2))) || (((ttt[6] == 2) && (ttt[7] == 2)) && (ttt[8] == 2))) || (((ttt[0] == 2) && (ttt[3] == 2)) && (ttt[6] == 2))) || (((ttt[1] == 2) && (ttt[4] == 2)) && (ttt[7] == 2))) || (((ttt[2] == 2) && (ttt[5] == 2)) && (ttt[8] == 2))) || (((ttt[0] == 2) && (ttt[4] == 2)) && (ttt[8] == 2))) || (((ttt[2] == 2) && (ttt[4] == 2)) && (ttt[6] == 2))) { ring0.done = true; ring1.done = true; ring2.done = true; ring3.done = true; ring4.done = true; ring5.done = true; ring6.done = true; ring7.done = true; ring8.done = true; ring0.framecount = 0; ring1.framecount = 0; ring2.framecount = 0; ring3.framecount = 0; ring4.framecount = 0; ring5.framecount = 0; ring6.framecount = 0; ring7.framecount = 0; ring8.framecount = 0; if (((ttt[0] == 2) && (ttt[1] == 2)) && (ttt[2] == 2)) { ring0.flikker = true; ring1.flikker = true; ring2.flikker = true; } else if (((ttt[3] == 2) && (ttt[4] == 2)) && (ttt[5] == 2)) { ring3.flikker = true; ring4.flikker = true; ring5.flikker = true; } else if (((ttt[6] == 2) && (ttt[7] == 2)) && (ttt[8] == 2)) { ring6.flikker = true; ring7.flikker = true; ring8.flikker = true; } else if (((ttt[0] == 2) && (ttt[3] == 2)) && (ttt[6] == 2)) { ring0.flikker = true; ring3.flikker = true; ring6.flikker = true; } else if (((ttt[1] == 2) && (ttt[4] == 2)) && (ttt[7] == 2)) { ring1.flikker = true; ring4.flikker = true; ring7.flikker = true; } else if (((ttt[2] == 2) && (ttt[5] == 2)) && (ttt[8] == 2)) { ring2.flikker = true; ring5.flikker = true; ring8.flikker = true; } else if (((ttt[0] == 2) && (ttt[4] == 2)) && (ttt[8] == 2)) { ring0.flikker = true; ring4.flikker = true; ring8.flikker = true; } else if (((ttt[2] == 2) && (ttt[4] == 2)) && (ttt[6] == 2)) { ring2.flikker = true; ring4.flikker = true; ring6.flikker = true; } var _local1 = 0; while (_local1 <= duckteller) { duck = getduck(_local1); duck.done = true; duck.framecount = 0; _local1++; } } else { klikready = true; } Mouse.show(); } _parent.initlevel = 25; duckthink.levelt = "" + _parent.initlevel; _parent.duckshared.data.lvl = _parent.initlevel; _parent.duckshared.flush(); _parent.sound_loop1.stop(); if (!_parent.sndmute) { _parent.sound_loop2.start(0, 9999); } Mouse.hide(); tttsolved = false; diepte = 5000; ringnbr = 9; startdelayring = new Array(0, 5, 10, 15, 20, 25, 30, 35, 40); posxring = new Array(-120, 0, 120, -120, 0, 120, -120, 0, 120); posyring = new Array(-120, -120, -120, 0, 0, 0, 120, 120, 120); ringdropssdiepte = 1000; dropssdiepte = 2000; klikready = false; ttt = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0); duckteller = -1; var i = 0; while (i < ringnbr) { ring = attachMovie("veldring", "ring" + i, diepte++, {_x:posxring[i], _y:posyring[i]}); ring.startdelay = startdelayring[i]; ring.done = false; ring.framecount = 0; ring._visible = false; ring.ready = false; ring.klik = false; ring.flikker = false; ring.nbr = i; ring.onEnterFrame = function () { if (this.done) { this.framecount++; if (this.framecount > 30) { this.removeMovieClip(); } else if ((this.framecount < 5) && (this.flikker)) { this._visible = false; } else if (((this.framecount > 10) && (this.framecount < 15)) && (this.flikker)) { this._visible = false; } else if (((this.framecount > 20) && (this.framecount < 25)) && (this.flikker)) { this._visible = false; } else { this._visible = true; } } else if (this.framecount < this.startdelay) { this.framecount++; } else if (this.framecount == this.startdelay) { this.framecount++; this._visible = true; this.ready = true; dropps = attachMovie("drops", "drops" + ringdropssdiepte, ringdropssdiepte++, {_x:this._x, _y:this._y + 30}); dropps._xscale = 150; dropps._yscale = 150; if (this.nbr == 8) { klikready = true; Mouse.show(); } } else if (this.klik) { if (this.ready) { if (ttt[this.nbr] == 0) { klikready = false; Mouse.hide(); duckteller++; duck = attachMovie("duckmovie", "duck" + duckteller, diepte++, {_x:this._x + 400, _y:this._y - 20}); duck._xscale = 30; duck._yscale = 30; duck.dropstel = 0; duck.endposx = this._x; duck.done = false; duck.ducknbr = duckteller; duck.startdelay = 30; duck.dropssdiepte = 1200 + (duckteller * 50); duck.gotoAndStop(4); duck.onEnterFrame = function () { if (this.done) { if ((this.ducknbr == 0) && (this.framecount == 0)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 10)) { _parent.sound_duck1.start(); } if ((this.ducknbr == 0) && (this.framecount == 15)) { _parent.sound_watermove2.start(); } this.framecount++; if (this.framecount > this.startdelay) { if (this._currentframe == 1) { this.gotoAndStop(12); dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } else if (this._currentframe == 12) { this.gotoAndStop(11); } else if (this._currentframe == 11) { this.gotoAndStop(10); } else { this.dist_x = 500 - this._x; this.distance = Math.sqrt(this.dist_x * this.dist_x); this.angle = Math.atan2(0, this.dist_x); this.speed = this.distance / delay; this.xspeed = this.speed * Math.cos(this.angle); this._x = this._x + this.xspeed; if ((this.dropstel++) > 15) { if ((this.xspeed > 1) or (this.xspeed < -1)) { dropps = attachMovie("drops", "drops" + this.dropssdiepte, this.dropssdiepte++, {_x:this._x, _y:this._y + 30}); } this.dropstel = 0; if (this.dropssdiepte > 1000) { this.dropssdiepte = 100; } } if (this.distance < 2) { if (this.ducknbr == 0) { gotoAndPlay(_parent.initlevel + 2); } this.removeMovieClip(); } } } } }; } else { this.klik = false; } } if (this.klik) { this.ready = false; duck = getduck(duckteller); duck.dist_x = duck.endposx - duck._x; duck.distance = Math.sqrt(duck.dist_x * duck.dist_x); duck.angle = Math.atan2(0, duck.dist_x); duck.speed = duck.distance / delay; duck.xspeed = duck.speed * Math.cos(duck.angle); duck._x = duck._x + duck.xspeed; if ((duck.dropstel++) > 25) { if ((duck.xspeed > 1) or (duck.xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:duck._x, _y:duck._y + 30}); } duck.dropstel = 0; } if (duck.distance < 18) { duck.gotoAndStop(1); } else if (duck.distance < 26) { duck.gotoAndStop(2); } else if (duck.distance < 30) { duck.gotoAndStop(3); } if (Math.abs(duck.dist_x) < 2) { this.klik = false; this.ready = true; ttt[this.nbr] = 1; doezet(); } } } }; ring.onRelease = function () { if (this.ready && (klikready)) { this.klik = true; _parent.sound_watermove.start(); } }; i++; } stop();
Symbol 137 MovieClip Frame 27
if (!tttsolved) { gotoAndPlay(_parent.initlevel + 1); } else { blackback._alpha = 0; _parent.initlevel = 26; _parent.sound_loop2.stop(); _parent.sound_loop3.start(0, 9999); endscr = attachMovie("endscr", "endscr", 30000, {_x:120, _y:900}); endscr.framecount = 0; endscr.onEnterFrame = function () { this._y = this._y - 0.5; if (this._y < -1354) { this._y = 900; } }; diepte = 5000; startdelayduck = 50; startposxduck = 400; startposyduck = 0; endposduck = 0; duck = attachMovie("duckmovie", "duck10000", 10000, {_x:startposxduck, _y:startposyduck}); duck._xscale = 30; duck._yscale = 30; duck.framecount = 0; duck.gotoAndStop(4); dropssdiepte = 100; dropstel = 0; var glow = (new flash.filters.GlowFilter(13421772, 0.5, 100, 100, 4, 4)); duck.filters = [glow]; duck.onEnterFrame = function () { if (duck.framecount <= startdelayduck) { if (blackback._alpha < 100) { blackback._alpha = blackback._alpha + 10; } if (duck.framecount == 0) { _parent.sound_duck1.start(); } if (duck.framecount == 10) { _parent.sound_duck1.start(); } if (duck.framecount == 15) { _parent.sound_watermove.start(); } duck.framecount++; dist_x = endposduck - this._x; distance = Math.sqrt(dist_x * dist_x); angle = Math.atan2(0, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); this._x = this._x + xspeed; if ((dropstel++) > 10) { if ((xspeed > 1) or (xspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } if (distance < 18) { this.gotoAndStop(1); } else if (distance < 26) { this.gotoAndStop(2); } else if (distance < 30) { this.gotoAndStop(3); } } else { dist_x = _xmouse - this._x; dist_y = _ymouse - this._y; distance = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y)); angle = Math.atan2(dist_y, dist_x); speed = distance / delay; xspeed = speed * Math.cos(angle); yspeed = speed * Math.sin(angle); this._x = this._x + xspeed; this._y = this._y + yspeed; if ((dropstel++) > 10) { if ((((xspeed > 1) or (xspeed < -1)) or (yspeed > 1)) or (yspeed < -1)) { dropps = attachMovie("drops", "drops" + dropssdiepte, dropssdiepte++, {_x:this._x, _y:this._y + 30}); } dropstel = 0; if (dropssdiepte > 1000) { dropssdiepte = 100; } } hoek = (angle * 180) / Math.PI; if ((hoek > 75) && (hoek <= 105)) { this.gotoAndStop(1); } else if ((hoek > 105) && (hoek <= 135)) { this.gotoAndStop(2); } else if ((hoek > 135) && (hoek <= 165)) { this.gotoAndStop(3); } else if ((hoek > 165) || (hoek <= -165)) { this.gotoAndStop(4); } else if ((hoek > -165) && (hoek <= -135)) { this.gotoAndStop(5); } else if ((hoek > -135) && (hoek <= -105)) { this.gotoAndStop(6); } else if ((hoek > -105) && (hoek <= -75)) { this.gotoAndStop(7); } else if ((hoek > -75) && (hoek <= -45)) { this.gotoAndStop(8); } else if ((hoek > -45) && (hoek <= -15)) { this.gotoAndStop(9); } else if ((hoek > -15) && (hoek <= 15)) { this.gotoAndStop(10); } else if ((hoek > 15) && (hoek <= 45)) { this.gotoAndStop(11); } else if ((hoek > 45) && (hoek <= 75)) { this.gotoAndStop(12); } } }; } stop();

Library Items

Symbol 1 Sound [waterup]
Symbol 2 Sound [watermove2]
Symbol 3 Sound [watermove]
Symbol 4 Sound [waterdown]
Symbol 5 Sound [loop4]
Symbol 6 Sound [loop3]
Symbol 7 Sound [loop2]
Symbol 8 Sound [loop1]
Symbol 9 Sound [duck1]
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:59 67
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:20 60
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:20 60
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:20 60
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20 60
Symbol 20 MovieClipUses:13 15 17 19Used by:59
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:27 61
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:27 61
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:27 61
Symbol 27 MovieClipUses:22 24 26Used by:59
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:34 62
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:34 62
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:34 62
Symbol 34 MovieClipUses:29 31 33Used by:59
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:41 63
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:41 63
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41 63
Symbol 41 MovieClipUses:36 38 40Used by:59
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:48 64
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:48 64
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48 64
Symbol 48 MovieClipUses:43 45 47Used by:59
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:53 65
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:53 65
Symbol 53 MovieClipUses:50 52Used by:59
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:58 66
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:58 66
Symbol 58 MovieClipUses:55 57Used by:59
Symbol 59 MovieClip [duckmovie2]Uses:11 20 27 34 41 48 53 58
Symbol 60 MovieClipUses:13 15 17 19Used by:67
Symbol 61 MovieClipUses:22 24 26Used by:67
Symbol 62 MovieClipUses:29 31 33Used by:67
Symbol 63 MovieClipUses:36 38 40Used by:67
Symbol 64 MovieClipUses:43 45 47Used by:67
Symbol 65 MovieClipUses:50 52Used by:67
Symbol 66 MovieClipUses:55 57Used by:67
Symbol 67 MovieClip [duckmovie]Uses:11 60 61 62 63 64 65 66
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClipUses:69Used by:78 79 80
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:78 79 80
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:75 104
Symbol 75 MovieClip [ring]Uses:74Used by:76
Symbol 76 MovieClipUses:73 75Used by:77 81
Symbol 77 MovieClip [drops]Uses:76Used by:78 79 80 134
Symbol 78 MovieClip [violetball]Uses:70 72 77
Symbol 79 MovieClip [redball]Uses:70 72 77
Symbol 80 MovieClip [greenball]Uses:70 72 77
Symbol 81 MovieClip [drops2]Uses:76
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:95 134
Symbol 84 GraphicUsed by:85 88 89
Symbol 85 MovieClipUses:84Used by:88 89
Symbol 86 GraphicUsed by:87 88 89
Symbol 87 MovieClipUses:86Used by:88 89 95
Symbol 88 ButtonUses:85 87 84 86Used by:95
Symbol 89 ButtonUses:85 87 84 86Used by:95
Symbol 90 FontUsed by:91 92 93 94 106 113 115 118 119 120 121 122 123
Symbol 91 TextUses:90Used by:95
Symbol 92 TextUses:90Used by:95
Symbol 93 TextUses:90Used by:95
Symbol 94 EditableTextUses:90Used by:95
Symbol 95 MovieClip [duckthinkgame]Uses:83 88 87 89 91 92 93 94
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClip [arrowm]Uses:97
Symbol 99 GraphicUsed by:100 107 108 109 110 112
Symbol 100 ButtonUses:99Used by:101
Symbol 101 MovieClip [duckbutton]Uses:100
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:105
Symbol 104 MovieClipUses:74Used by:105
Symbol 105 MovieClip [veldring]Uses:103 104
Symbol 106 TextUses:90Used by:111
Symbol 107 ButtonUses:99Used by:111
Symbol 108 ButtonUses:99Used by:111
Symbol 109 ButtonUses:99Used by:111
Symbol 110 ButtonUses:99Used by:111
Symbol 111 MovieClip [endscr]Uses:106 107 108 109 110
Symbol 138 MovieClip [__Packages.MochiAd]
Symbol 112 ButtonUses:99Used by:134
Symbol 113 TextUses:90Used by:134
Symbol 114 GraphicUsed by:134
Symbol 115 TextUses:90Used by:134
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:134
Symbol 118 TextUses:90Used by:134
Symbol 119 TextUses:90Used by:134
Symbol 120 TextUses:90Used by:134
Symbol 121 TextUses:90Used by:134
Symbol 122 TextUses:90Used by:134
Symbol 123 TextUses:90Used by:134
Symbol 124 GraphicUsed by:125 128 129 130 131 132
Symbol 125 MovieClipUses:124Used by:126
Symbol 126 MovieClipUses:125Used by:128 129 130 131 132
Symbol 127 GraphicUsed by:128 129 130 131 132
Symbol 128 ButtonUses:126 127 124Used by:134
Symbol 129 ButtonUses:126 127 124Used by:134
Symbol 130 ButtonUses:126 127 124Used by:134
Symbol 131 ButtonUses:126 127 124Used by:134
Symbol 132 ButtonUses:126 127 124Used by:134
Symbol 133 MovieClipUsed by:134
Symbol 134 MovieClipUses:112 113 114 115 117 118 83 77 119 120 121 122 123 128 129 130 131 132 133Used by:Timeline
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:137
Symbol 137 MovieClipUses:136Used by:Timeline

Instance Names

"duckgame"Frame 10Symbol 137 MovieClip
"oog"Symbol 20 MovieClip Frame 1Symbol 19 MovieClip
"oog2"Symbol 20 MovieClip Frame 1Symbol 19 MovieClip
"duckhit"Symbol 59 MovieClip [duckmovie2] Frame 1Symbol 11 MovieClip
"duck1"Symbol 59 MovieClip [duckmovie2] Frame 1Symbol 20 MovieClip
"oog"Symbol 60 MovieClip Frame 1Symbol 19 MovieClip
"oog2"Symbol 60 MovieClip Frame 1Symbol 19 MovieClip
"duckhit"Symbol 67 MovieClip [duckmovie] Frame 1Symbol 11 MovieClip
"duck1"Symbol 67 MovieClip [duckmovie] Frame 1Symbol 60 MovieClip
"ballhit"Symbol 78 MovieClip [violetball] Frame 1Symbol 70 MovieClip
"ball"Symbol 78 MovieClip [violetball] Frame 2Symbol 70 MovieClip
"ballhit"Symbol 79 MovieClip [redball] Frame 2Symbol 70 MovieClip
"ball"Symbol 79 MovieClip [redball] Frame 2Symbol 70 MovieClip
"ballhit"Symbol 80 MovieClip [greenball] Frame 2Symbol 70 MovieClip
"ball"Symbol 80 MovieClip [greenball] Frame 2Symbol 70 MovieClip
"blackback"Symbol 137 MovieClip Frame 27Symbol 136 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "waterup"
ExportAssets (56)Timeline Frame 1Symbol 2 as "watermove2"
ExportAssets (56)Timeline Frame 1Symbol 3 as "watermove"
ExportAssets (56)Timeline Frame 1Symbol 4 as "waterdown"
ExportAssets (56)Timeline Frame 1Symbol 5 as "loop4"
ExportAssets (56)Timeline Frame 1Symbol 6 as "loop3"
ExportAssets (56)Timeline Frame 1Symbol 7 as "loop2"
ExportAssets (56)Timeline Frame 1Symbol 8 as "loop1"
ExportAssets (56)Timeline Frame 1Symbol 9 as "duck1"
ExportAssets (56)Timeline Frame 1Symbol 59 as "duckmovie2"
ExportAssets (56)Timeline Frame 1Symbol 67 as "duckmovie"
ExportAssets (56)Timeline Frame 1Symbol 75 as "ring"
ExportAssets (56)Timeline Frame 1Symbol 77 as "drops"
ExportAssets (56)Timeline Frame 1Symbol 78 as "violetball"
ExportAssets (56)Timeline Frame 1Symbol 79 as "redball"
ExportAssets (56)Timeline Frame 1Symbol 80 as "greenball"
ExportAssets (56)Timeline Frame 1Symbol 81 as "drops2"
ExportAssets (56)Timeline Frame 1Symbol 95 as "duckthinkgame"
ExportAssets (56)Timeline Frame 1Symbol 98 as "arrowm"
ExportAssets (56)Timeline Frame 1Symbol 101 as "duckbutton"
ExportAssets (56)Timeline Frame 1Symbol 105 as "veldring"
ExportAssets (56)Timeline Frame 1Symbol 111 as "endscr"
ExportAssets (56)Timeline Frame 1Symbol 138 as "__Packages.MochiAd"

Labels

"intro"Frame 6
"spel"Frame 10
"appear"Symbol 78 MovieClip [violetball] Frame 2
"appear"Symbol 79 MovieClip [redball] Frame 2
"appear"Symbol 80 MovieClip [greenball] Frame 2
"geel"Symbol 105 MovieClip [veldring] Frame 2
"paars"Symbol 105 MovieClip [veldring] Frame 3
"doeverder"Symbol 134 MovieClip Frame 341
"hier"Symbol 134 MovieClip Frame 425
"doemaar"Symbol 134 MovieClip Frame 461

Dynamic Text Variables

leveltSymbol 94 EditableText"level"




http://swfchan.com/7/31867/info.shtml
Created: 18/5 -2019 10:04:08 Last modified: 18/5 -2019 10:04:08 Server time: 27/04 -2024 09:01:49