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

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

The Tower of Hanoi.swf

This is the info page for
Flash #23581

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


Text
loading game...

# of moves:

# of games played: 0.

0

Email

Flash Page

Home Page

History...

3

4

5

6

7

The goal: move the pile to another location.
Click on a number to set the height of the pile
(3 is easy, 7 is very tough).

Resign/play again

ActionScript [AS1/AS2]

Frame 6
if (_framesloaded == _totalframes) { gotoAndStop (9); } else { gotoAndPlay (1); }
Frame 9
stop();
Frame 10
stop();
Frame 18
removeMovieClip("/1"); removeMovieClip("/2"); removeMovieClip("/3"); removeMovieClip("/4"); removeMovieClip("/5"); removeMovieClip("/6"); score = ""; gotoAndStop (9);
Symbol 15 Button
on (release) { getURL ("mailto:e.luitsz@chello.nl"); }
Symbol 16 Button
on (release) { getURL ("http://www.kheops.nl/bert/flash/"); }
Symbol 17 Button
on (release) { getURL ("http://www.chello.nl/~e.luitsz"); }
Symbol 22 Button
on (release) { gotoAndStop (10); nivo = "1"; n = "1"; while ("2" >= n) { duplicateMovieClip (n - "1", n, n); setProperty(n, _xscale , getProperty(n, _xscale) - "22"); setProperty(n, _y , getProperty(n, _y) - "15"); n = n + "1"; } }
Symbol 23 Button
on (release) { gotoAndStop (10); nivo = "2"; n = "1"; while ("3" >= n) { duplicateMovieClip (n - "1", n, n); setProperty(n, _xscale , getProperty(n, _xscale) - "20"); setProperty(n, _y , getProperty(n, _y) - "15"); n = n + "1"; } }
Symbol 24 Button
on (release) { gotoAndStop (10); nivo = "3"; n = "1"; while ("4" >= n) { duplicateMovieClip (n - "1", n, n); setProperty(n, _xscale , getProperty(n, _xscale) - "18"); setProperty(n, _y , getProperty(n, _y) - "15"); n = n + "1"; } }
Symbol 25 Button
on (release) { gotoAndStop (10); nivo = "4"; n = "1"; while ("5" >= n) { duplicateMovieClip (n - "1", n, n); setProperty(n, _xscale , getProperty(n, _xscale) - "16"); setProperty(n, _y , getProperty(n, _y) - "15"); n = n + "1"; } }
Symbol 31 Button
on (release) { gotoAndStop (10); nivo = "5"; n = "1"; while ("6" >= n) { duplicateMovieClip (n - "1", n, n); setProperty(n, _xscale , getProperty(n, _xscale) - "14"); setProperty(n, _y , getProperty(n, _y) - "15"); n = n + "1"; } }
Symbol 35 Button
on (release) { gotoAndStop (18); }
Symbol 38 Button
on (press) { begin4x = _x; begin4y = _y; movienaam = _name; if (begin4x <> getProperty("/" add (movienaam + "1"), _x)) { startDrag ("", true, "50", "60", "450", "80"); Set("/:score", /:score + "1"); } } on (release) { if ((getProperty("/" add movienaam, _x) >= "200") and ("300" >= getProperty("/" add movienaam, _x))) { setProperty("/" add movienaam, _x , "250"); stopDrag(); } else if ((_x >= "301") and ("450" >= _x)) { _x = "400"; stopDrag(); } else if ((getProperty("/" add movienaam, _x) >= "0") and ("199" >= getProperty("/" add movienaam, _x))) { setProperty("/" add movienaam, _x , "100"); stopDrag(); } nr = "1"; while ("6" >= nr) { if (_x == getProperty("/" add (movienaam + nr), _x)) { tellTarget ("/sounds") { gotoAndPlay ("fout"); }; _x = begin4x; _y = begin4y; } nr = nr + "1"; } begin4y = _y; begin4x = _x; call("nr_schijven"); ypos = "GetProperty(\"/0\", _y)"; _y = ("198" + aantal); stopDrag(); if (/:nivo == "1") { call("klaar1"); } else if (/:nivo == "2") { call("klaar2"); } else if (/:nivo == "3") { call("klaar3"); } else if (/:nivo == "4") { call("klaar4"); } else if (/:nivo == "5") { call("klaar5"); } }
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 4
if (("150" < getProperty("/0", _x)) and (getProperty("/2", _y) == "168")) { Set("/:nrspel", /:nrspel + "1"); Set("/:aantalspellen", ("# of games played: " add /:nrspel) add "."); Set("/:scoreverloop", (((((/:scoreverloop add "Game #") add /:nrspel) add ": ") add /:score) add " moves.") add "\r"); tellTarget ("/sounds") { gotoAndPlay ("applaus"); }; tellTarget ("/") { gotoAndPlay ("gelukt"); }; }
Symbol 39 MovieClip Frame 5
if (("150" < getProperty("/0", _x)) and (getProperty("/3", _y) == "153")) { Set("/:nrspel", /:nrspel + "1"); Set("/:aantalspellen", ("# of games played: " add /:nrspel) add "."); Set("/:scoreverloop", (((((/:scoreverloop add "Game #") add /:nrspel) add ": ") add /:score) add " moves.") add "\r"); tellTarget ("/sounds") { gotoAndPlay ("applaus"); }; tellTarget ("/") { gotoAndPlay ("gelukt"); }; }
Symbol 39 MovieClip Frame 6
if (("150" < getProperty("/0", _x)) and (getProperty("/4", _y) == "138")) { Set("/:nrspel", /:nrspel + "1"); Set("/:aantalspellen", ("# of games played: " add /:nrspel) add "."); Set("/:scoreverloop", (((((/:scoreverloop add "Game #") add /:nrspel) add ": ") add /:score) add " moves.") add "\r"); tellTarget ("/sounds") { gotoAndPlay ("applaus"); }; tellTarget ("/") { gotoAndPlay ("gelukt"); }; }
Symbol 39 MovieClip Frame 7
if (("150" < getProperty("/0", _x)) and (getProperty("/5", _y) == "123")) { Set("/:nrspel", /:nrspel + "1"); Set("/:aantalspellen", ("# of games played: " add /:nrspel) add "."); Set("/:scoreverloop", (((((/:scoreverloop add "Game #") add /:nrspel) add ": ") add /:score) add " moves.") add "\r"); tellTarget ("/sounds") { gotoAndPlay ("applaus"); }; tellTarget ("/") { gotoAndPlay ("gelukt"); }; }
Symbol 39 MovieClip Frame 8
if (("150" < getProperty("/0", _x)) and (getProperty("/6", _y) == "108")) { Set("/:nrspel", /:nrspel + "1"); Set("/:aantalspellen", ("# of games played: " add /:nrspel) add "."); Set("/:scoreverloop", (((((/:scoreverloop add "Game #") add /:nrspel) add ": ") add /:score) add " moves.") add "\r"); tellTarget ("/sounds") { gotoAndPlay ("applaus"); }; tellTarget ("/") { gotoAndPlay ("gelukt"); }; }
Symbol 39 MovieClip Frame 10
aantal = "0"; movienaam = _name; if (_x == getProperty("/" add (movienaam - "1"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "2"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "3"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "4"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "5"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "6"), _x)) { aantal = aantal - "15"; } if (_x == getProperty("/" add (movienaam - "7"), _x)) { aantal = aantal - "15"; }
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
gotoAndStop (1);
Symbol 43 MovieClip Frame 3
gotoAndStop (1);
Symbol 43 MovieClip Frame 4
gotoAndStop (1);

Library Items

Symbol 1 ShapeTweeningUsed by:Timeline
Symbol 2 FontUsed by:3 6 7 8 9 10 11 12 18 33 36
Symbol 3 EditableTextUses:2Used by:Timeline
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:Timeline
Symbol 6 EditableTextUses:2Used by:Timeline
Symbol 7 EditableTextUses:2Used by:Timeline
Symbol 8 EditableTextUses:2Used by:Timeline
Symbol 9 EditableTextUses:2Used by:Timeline
Symbol 10 EditableTextUses:2Used by:Timeline
Symbol 11 EditableTextUses:2Used by:Timeline
Symbol 12 EditableTextUses:2Used by:Timeline
Symbol 13 GraphicUsed by:15 16 17 35 38
Symbol 14 SoundUsed by:15 16 17 35 38
Symbol 15 ButtonUses:13 14Used by:Timeline
Symbol 16 ButtonUses:13 14Used by:Timeline
Symbol 17 ButtonUses:13 14Used by:Timeline
Symbol 18 EditableTextUses:2Used by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:22 23 24 25 31
Symbol 21 GraphicUsed by:22 23 24 25 31
Symbol 22 ButtonUses:20 21Used by:Timeline
Symbol 23 ButtonUses:20 21Used by:Timeline
Symbol 24 ButtonUses:20 21Used by:Timeline
Symbol 25 ButtonUses:20 21Used by:Timeline
Symbol 26 FontUsed by:27 28 29 30 32
Symbol 27 TextUses:26Used by:Timeline
Symbol 28 TextUses:26Used by:Timeline
Symbol 29 TextUses:26Used by:Timeline
Symbol 30 TextUses:26Used by:Timeline
Symbol 31 ButtonUses:20 21Used by:Timeline
Symbol 32 TextUses:26Used by:Timeline
Symbol 33 EditableTextUses:2Used by:Timeline
Symbol 34 GraphicUsed by:Timeline
Symbol 35 ButtonUses:13 14Used by:Timeline
Symbol 36 EditableTextUses:2Used by:Timeline
Symbol 37 GraphicUsed by:39
Symbol 38 ButtonUses:13 14Used by:39
Symbol 39 MovieClipUses:37 38Used by:Timeline
Symbol 40 SoundUsed by:43
Symbol 41 SoundUsed by:43
Symbol 42 SoundUsed by:43
Symbol 43 MovieClipUses:40 41 42Used by:Timeline

Instance Names

"0"Frame 10Symbol 39 MovieClip
"sounds"Frame 10Symbol 43 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"beginnen"Frame 9
"start"Frame 10
"gelukt"Frame 11
"opnieuw"Frame 18
"klaar1"Symbol 39 MovieClip Frame 4
"klaar2"Symbol 39 MovieClip Frame 5
"klaar3"Symbol 39 MovieClip Frame 6
"klaar4"Symbol 39 MovieClip Frame 7
"klaar5"Symbol 39 MovieClip Frame 8
"nr_schijven"Symbol 39 MovieClip Frame 10
"goed"Symbol 43 MovieClip Frame 2
"fout"Symbol 43 MovieClip Frame 3
"klaar"Symbol 43 MovieClip Frame 4

Dynamic Text Variables

aantalspellenSymbol 7 EditableText"# of games played: 0."
scoreSymbol 8 EditableText"0"
scoreverloopSymbol 9 EditableText""




http://swfchan.com/5/23581/info.shtml
Created: 11/8 -2019 21:46:00 Last modified: 11/8 -2019 21:46:00 Server time: 22/12 -2024 14:18:19