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

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

Candy Man.swf

This is the info page for
Flash #68625

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


Text
Lo-diddely-oading

Back to menu

CONGRATULATIONS!

FAIL!

Use this:
To push this:
Into this:
So that this
doesn't empty:

You are a freelancing babysitter. Rich people
with fat kids employ you all the time, and it's
annoying as hell, but hey, you earn bucketloads
of money!
To keep the spoiled little brats satisfied, you
have to constantly feed them with those giant
blue candies. To help you do this, you have your
trustworthy old Candy pusher. Use the mouse to
steer this and push the candy right into those
bigass mouths until their parents come home.
Does it sound easy? Well, I suggest you try and
tame that Candy pusher first, by practising.
Also, the amount of 0's on your
paycheck depends on how
full the kids are when their
parents come home.

This copy should only exist on newgrounds.com, if found anywhere else it has been stolen.
If so, please notify me at pont@post.com. Thank you.
Note that another copy lives at zonogames.com.
Thanks to Gutya for his creative and original ideas!

Music:

Quality:

ActionScript [AS1/AS2]

Frame 1
stop(); glp = new Sound(); glp.attachSound("gulp"); musik = new Sound(); musik.attachSound("mus"); music = true;
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (enterFrame) { ploaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); bload._y = 58 - (ploaded / 1.58730158730159); pload.text = ploaded + "%"; if (ploaded == 100) { _root.nextFrame(); } }
Frame 2
Mouse.show(); stopAllSounds(); active = false;
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) { bname = "Start"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.money = 0; _root.level = 0; _root.gotoAndStop("start"); }
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) { bname = "How to"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("howto"); }
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) { bname = "Practice"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("practice"); }
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) { bname = "Credits"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("credits"); }
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (load) { bname = "Options"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("options"); }
Frame 3
stop(); var sw = Stage.width; var sh = (Stage.height + 100); if (music) { musik.start(0, 9999); } level = 1; var hunger = 100; var dist; var time = 60; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (hunger * 10); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } } }, 1000); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 4
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 2; var hunger = 100; var hunger2 = 100; var dist; var time = 60; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + ((hunger + hunger2) * 10); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; hunger2--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger2) { gotoAndStop ("lose"); Mouse.show(); } } }, 950); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 5
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 3; var hunger = 100; var hunger2 = 100; var hunger3 = 100; var dist; var time = 60; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (((hunger + hunger2) + hunger3) * 10); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; hunger2--; hunger3--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger2) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger3) { gotoAndStop ("lose"); Mouse.show(); } } }, 890); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } distd = Math.ceil((6 - Math.sqrt(Math.pow(targ3._x - ball._x, 2) + Math.pow(targ3._y - ball._y, 2))) / 2); if (distd > 0) { ((hunger3 <= 90) ? ((hunger3 = hunger3 + 10)) : ((hunger3 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid3.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } kid3.hungerbar.gotoAndStop(Math.ceil((hunger3 / 10) + 1)); if (hunger3 >= 100) { kid3.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 6
clearInterval(id1); clearInterval(id2); stop(); var sw = Stage.width; var sh = (Stage.height + 100); level = 4; var hunger = 100; var dist; var time = 90; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (hunger * 20); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } } }, 820); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 7
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 5; var hunger = 100; var hunger2 = 100; var dist; var time = 90; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + ((hunger + hunger2) * 20); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; hunger2--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger2) { gotoAndStop ("lose"); Mouse.show(); } } }, 740); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 8
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 6; var hunger = 100; var hunger2 = 100; var hunger3 = 100; var dist; var time = 90; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (((hunger + hunger2) + hunger3) * 20); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; hunger2--; hunger3--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger2) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger3) { gotoAndStop ("lose"); Mouse.show(); } } }, 650); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } distd = Math.ceil((6 - Math.sqrt(Math.pow(targ3._x - ball._x, 2) + Math.pow(targ3._y - ball._y, 2))) / 2); if (distd > 0) { ((hunger3 <= 90) ? ((hunger3 = hunger3 + 10)) : ((hunger3 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid3.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } kid3.hungerbar.gotoAndStop(Math.ceil((hunger3 / 10) + 1)); if (hunger3 >= 100) { kid3.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 9
clearInterval(id1); clearInterval(id2); stop(); var sw = Stage.width; var sh = (Stage.height + 100); level = 7; var hunger = 100; var dist; var time = 120; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (hunger * 30); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } } }, 550); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 10
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 8; var hunger = 100; var hunger2 = 100; var dist; var time = 120; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + ((hunger + hunger2) * 30); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); nextFrame(); } } }, 440); id2 = setInterval(function () { if (active) { hunger--; hunger2--; if (!hunger) { gotoAndStop ("lose"); Mouse.show(); } if (!hunger2) { gotoAndStop ("lose"); Mouse.show(); } } }, 1000 - (level * 50)); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 11
clearInterval(id1); clearInterval(id2); var sw = Stage.width; var sh = (Stage.height + 100); level = 9; var hunger = 100; var hunger2 = 100; var hunger3 = 100; var dist; var time = 120; var active = false; dialog.dialog.text = ("Level " + level) + " - Start"; id1 = setInterval(function () { if (active) { time--; if (!time) { level++; money = money + (((hunger + hunger2) + hunger3) * 30); ball._visible = false; pusher._visible = false; dialog._visible = true; active = false; Mouse.show(); gotoAndStop ("win"); } } }, 1000); id2 = setInterval(function () { if (active) { hunger--; hunger2--; hunger3--; if (!hunger) { gotoAndStop ("lose"); } if (!hunger2) { gotoAndStop ("lose"); } if (!hunger3) { gotoAndStop ("lose"); } } }, 320); onEnterFrame = function () { if (active) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); if (distb > 0) { ((hunger <= 90) ? ((hunger = hunger + 10)) : ((hunger = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid.head.play(); } distc = Math.ceil((6 - Math.sqrt(Math.pow(targ2._x - ball._x, 2) + Math.pow(targ2._y - ball._y, 2))) / 2); if (distc > 0) { ((hunger2 <= 90) ? ((hunger2 = hunger2 + 10)) : ((hunger2 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid2.head.play(); } distd = Math.ceil((6 - Math.sqrt(Math.pow(targ3._x - ball._x, 2) + Math.pow(targ3._y - ball._y, 2))) / 2); if (distd > 0) { ((hunger3 <= 90) ? ((hunger3 = hunger3 + 10)) : ((hunger3 = 100))); glp.start(); ball._x = 275; ball._y = 75; ball._visible = false; drop.play(); kid3.head.play(); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } kid.hungerbar.gotoAndStop(Math.ceil((hunger / 10) + 1)); if (hunger >= 100) { kid.hungerbar.gotoAndStop(12); } kid2.hungerbar.gotoAndStop(Math.ceil((hunger2 / 10) + 1)); if (hunger2 >= 100) { kid2.hungerbar.gotoAndStop(12); } kid3.hungerbar.gotoAndStop(Math.ceil((hunger3 / 10) + 1)); if (hunger3 >= 100) { kid3.hungerbar.gotoAndStop(12); } } stats.text = (((("Parents come home in: " + time) + " seconds\n$: ") + money) + "\nLevel: ") + level; };
Frame 12
clearInterval(id1); clearInterval(id2); stopAllSounds(); wintext.text = ("You have completed the game!\nYour reward is honor, and " + money) + " e-dollars! Feel the pride?";
Instance of Symbol 29 MovieClip in Frame 12
onClipEvent (load) { bname = "Menu"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("menu"); }
Frame 13
clearInterval(id1); clearInterval(id2); stopAllSounds(); losetext.text = "Why you... You made the little brat starve! You bastard, you. What will his parents say?";
Instance of Symbol 29 MovieClip in Frame 14
onClipEvent (load) { bname = "Back"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("menu"); }
Frame 15
Mouse.hide(); var sw = Stage.width; var sh = (Stage.height + 100); var accu = 9; onEnterFrame = function () { if (_currentframe == (_totalframes - 2)) { dist = Math.sqrt(Math.pow(_root._xmouse - ball._x, 2) + Math.pow(_root._ymouse - ball._y, 2)) + 2; if ((ball._width / 2) > dist) { x = ball._x - (Math.cos(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._width / 2) - dist)); y = ball._y - (Math.sin(Math.atan2(_root._ymouse - ball._y, _root._xmouse - ball._x)) * ((ball._height / 2) - dist)); if (((x > 0) || (x > ball._x)) && ((x < (sw - 30)) || (x < ball._x))) { ball._x = x; } if (((y > 0) || (y > ball._y)) && ((y < (sh - 30)) || (y < ball._y))) { ball._y = y; } } if (ball._x < 30) { ball._x = 30; } else if (ball._x > (sw - 30)) { ball._x = sw - 30; } if (ball._y < 30) { ball._y = 30; } else if (ball._y > (sh - 30)) { ball._y = sh - 30; } distb = Math.ceil((6 - Math.sqrt(Math.pow(targ._x - ball._x, 2) + Math.pow(targ._y - ball._y, 2))) / 2); targ.gotoAndStop(distb); if (distb <= 0) { targ.gotoAndStop(1); } with (pusher) { _x = _root._xmouse; _y = _root._ymouse; _rotation = (Math.atan2(ball._y - _root._ymouse, ball._x - _root._xmouse) * 180) / Math.PI; } } };
Instance of Symbol 29 MovieClip in Frame 15
onClipEvent (load) { bname = "Back"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { Mouse.show(); _root.gotoAndStop("menu"); delete _root.id; }
Instance of Symbol 29 MovieClip in Frame 16
onClipEvent (load) { bname = "Back"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.gotoAndStop("menu"); }
Instance of Symbol 29 MovieClip in Frame 17
onClipEvent (load) { bname = "Low"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _quality = "LOW"; }
Instance of Symbol 29 MovieClip in Frame 17
onClipEvent (load) { bname = "Medium"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _quality = "MEDIUM"; }
Instance of Symbol 29 MovieClip in Frame 17
onClipEvent (load) { bname = "High"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _quality = "HIGH"; }
Instance of Symbol 29 MovieClip in Frame 17
onClipEvent (load) { bname = "On"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.music = true; }
Instance of Symbol 29 MovieClip in Frame 17
onClipEvent (load) { bname = "Off"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.music = false; }
Symbol 6 MovieClip [Symbol 3] Frame 1
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 6
gotoAndPlay (2);
Symbol 67 MovieClip Frame 1
stop(); with (_root.ball) { _x = 275; _y = 75; _visible = true; }
Instance of Symbol 29 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (load) { bname = "Go!"; } onClipEvent (enterFrame) { (hitTest(_root._xmouse, _root._ymouse) ? (nextFrame()) : (prevFrame())); } on (release) { _root.pusher._visible = true; _root.ball._visible = true; _root.ball._x = 275; _root.ball._y = 75; _parent._visible = false; _root.active = true; Mouse.hide(); }
Symbol 81 Button
on (release) { gotoAndStop ("menu"); }
Symbol 92 MovieClip Frame 1
stop();

Library Items

Symbol 1 Sound [mus]
Symbol 2 Sound [gulp]
Symbol 3 GraphicUsed by:6
Symbol 4 GraphicUsed by:6 92
Symbol 5 GraphicUsed by:6 92
Symbol 6 MovieClip [Symbol 3]Uses:3 4 5Used by:Timeline
Symbol 7 GraphicUsed by:15
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:15
Symbol 10 GraphicUsed by:15
Symbol 11 FontUsed by:12
Symbol 12 TextUses:11Used by:15
Symbol 13 FontUsed by:14 19 74 76 79 84 86 88 89 95 97 98
Symbol 14 EditableTextUses:13Used by:15
Symbol 15 MovieClipUses:7 9 10 12 14Used by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 GraphicUsed by:29
Symbol 18 GraphicUsed by:29 67 68
Symbol 19 EditableTextUses:13Used by:29
Symbol 20 GraphicUsed by:29
Symbol 21 GraphicUsed by:29
Symbol 22 GraphicUsed by:29
Symbol 23 GraphicUsed by:29
Symbol 24 GraphicUsed by:29
Symbol 25 GraphicUsed by:29
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:29
Symbol 28 SoundUsed by:29
Symbol 29 MovieClipUses:17 18 19 20 21 22 23 24 25 26 27 28Used by:75  Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:65
Symbol 32 GraphicUsed by:46
Symbol 33 GraphicUsed by:46
Symbol 34 GraphicUsed by:46
Symbol 35 GraphicUsed by:46
Symbol 36 GraphicUsed by:46
Symbol 37 GraphicUsed by:46
Symbol 38 GraphicUsed by:46
Symbol 39 GraphicUsed by:46
Symbol 40 GraphicUsed by:46
Symbol 41 GraphicUsed by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:32 33 34 35 36 37 38 39 40 41 42 43 44 45Used by:65
Symbol 47 GraphicUsed by:60
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:60
Symbol 50 GraphicUsed by:60
Symbol 51 GraphicUsed by:60
Symbol 52 GraphicUsed by:60
Symbol 53 GraphicUsed by:60
Symbol 54 GraphicUsed by:60
Symbol 55 GraphicUsed by:60
Symbol 56 GraphicUsed by:60
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:47 49 50 51 52 53 54 55 56 57 58 59Used by:65
Symbol 61 GraphicUsed by:64
Symbol 62 GraphicUsed by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:61 62 63Used by:65
Symbol 65 MovieClipUses:31 46 60 64Used by:Timeline
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66 18Used by:Timeline
Symbol 68 MovieClipUses:18Used by:Timeline
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:Timeline
Symbol 71 GraphicUsed by:75
Symbol 72 FontUsed by:73 95
Symbol 73 EditableTextUses:72Used by:75
Symbol 74 EditableTextUses:13Used by:75
Symbol 75 MovieClipUses:71 73 29 74Used by:Timeline
Symbol 76 EditableTextUses:13Used by:Timeline
Symbol 77 GraphicUsed by:81
Symbol 78 GraphicUsed by:81
Symbol 79 TextUses:13Used by:81
Symbol 80 GraphicUsed by:81
Symbol 81 ButtonUses:77 78 79 80Used by:Timeline
Symbol 82 FontUsed by:83 85
Symbol 83 TextUses:82Used by:Timeline
Symbol 84 EditableTextUses:13Used by:Timeline
Symbol 85 TextUses:82Used by:Timeline
Symbol 86 EditableTextUses:13Used by:Timeline
Symbol 87 GraphicUsed by:Timeline
Symbol 88 TextUses:13Used by:Timeline
Symbol 89 TextUses:13Used by:Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91 4 5Used by:Timeline
Symbol 93 GraphicUsed by:Timeline
Symbol 94 GraphicUsed by:Timeline
Symbol 95 TextUses:13 72Used by:Timeline
Symbol 96 GraphicUsed by:Timeline
Symbol 97 TextUses:13Used by:Timeline
Symbol 98 TextUses:13Used by:Timeline

Instance Names

"kid"Frame 3Symbol 65 MovieClip
"drop"Frame 3Symbol 67 MovieClip
"ball"Frame 3Symbol 68 MovieClip
"targ"Frame 3Symbol 6 MovieClip [Symbol 3]
"pusher"Frame 3Symbol 70 MovieClip
"dialog"Frame 3Symbol 75 MovieClip
"stats"Frame 3Symbol 76 EditableText
"kid2"Frame 4Symbol 65 MovieClip
"targ2"Frame 4Symbol 6 MovieClip [Symbol 3]
"kid2"Frame 5Symbol 65 MovieClip
"kid3"Frame 5Symbol 65 MovieClip
"targ2"Frame 5Symbol 6 MovieClip [Symbol 3]
"targ3"Frame 5Symbol 6 MovieClip [Symbol 3]
"kid2"Frame 7Symbol 65 MovieClip
"targ2"Frame 7Symbol 6 MovieClip [Symbol 3]
"kid2"Frame 8Symbol 65 MovieClip
"kid3"Frame 8Symbol 65 MovieClip
"targ2"Frame 8Symbol 6 MovieClip [Symbol 3]
"targ3"Frame 8Symbol 6 MovieClip [Symbol 3]
"kid2"Frame 10Symbol 65 MovieClip
"targ2"Frame 10Symbol 6 MovieClip [Symbol 3]
"kid2"Frame 11Symbol 65 MovieClip
"kid3"Frame 11Symbol 65 MovieClip
"targ2"Frame 11Symbol 6 MovieClip [Symbol 3]
"targ3"Frame 11Symbol 6 MovieClip [Symbol 3]
"wintext"Frame 12Symbol 84 EditableText
"losetext"Frame 13Symbol 86 EditableText
"targ"Frame 15Symbol 92 MovieClip
"ball"Frame 15Symbol 68 MovieClip
"pusher"Frame 15Symbol 70 MovieClip
"bload"Symbol 15 MovieClip Frame 1Symbol 9 MovieClip
"pload"Symbol 15 MovieClip Frame 1Symbol 14 EditableText
"head"Symbol 65 MovieClip Frame 1Symbol 46 MovieClip
"hungerbar"Symbol 65 MovieClip Frame 1Symbol 60 MovieClip
"tears"Symbol 65 MovieClip Frame 1Symbol 64 MovieClip
"dialog"Symbol 75 MovieClip Frame 1Symbol 73 EditableText
"dialog_bonus"Symbol 75 MovieClip Frame 1Symbol 74 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "mus"
ExportAssets (56)Timeline Frame 1Symbol 2 as "gulp"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 3Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 4Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 4Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 5Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 5Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 5Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 6Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 7Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 7Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 8Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 8Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 8Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 9Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 10Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 10Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 11Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 11Symbol 6 as "Symbol 3"
ExportAssets (56)Timeline Frame 11Symbol 6 as "Symbol 3"

Labels

"menu"Frame 2
"start"Frame 3
"win"Frame 12
"lose"Frame 13
"howto"Frame 14
"practice"Frame 15
"credits"Frame 16
"options"Frame 17

Dynamic Text Variables

bnameSymbol 19 EditableText""




http://swfchan.com/14/68625/info.shtml
Created: 10/4 -2019 22:42:29 Last modified: 10/4 -2019 22:42:29 Server time: 29/05 -2024 10:18:22