STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #73422 |
How to make a simple quiz game |
Lets Learn! |
Next |
prev. |
Well to start, you need a play button ( on frame 1 ) |
make your play button and hit F8, to convert it to a symbol. then right click it, and give it these actions |
on(release){_root. gotoAndStop(3)} |
right click the frame, and give it these actions stop() |
Now on frame 2, draw a wrong answer frame ex. |
wrong |
convert it to a symbol, so wrong or whatever you choose is the replay button. give it these actions |
on(release){_root.gotoAnd Stop(3)} |
Now on frame 3, make your 1st question |
write the answers to choose from, and convert them to a button. |
on the correct answer(s), give it these actions |
on(release){_root.nextFrame();} |
on the wrong answers, give it these actions |
on(release){_root.gotoAndStop(2)} |
you may repeat this as much as you like |
on the last frame, make a win you or whatever you like |
if you want to make it or anything a repeat button, make it a symbol and give it these actions |
on(release){_root.gotoAndStop(3)} |
example |
prev. |
5 + 5 + .....? |
2 |
9 |
3 |
10 |
You Win |
REPLAY |
ActionScript [AS1/AS2]
Frame 2stop();Frame 3stop();Frame 11stopAllSounds();Symbol 9 Buttonon (release) { getURL ("http://www.newgrounds.com", "_blank"); }Symbol 15 MovieClip Frame 1function timerHandler() { var _local2 = this; if (!loadingComplete) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._yscale = 100 * _local3; if (_local3 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop ("loaded"); } return; } } else { dt = getTimer() - time; time = time + dt; frameAccum = frameAccum + dt; var _local1 = 0; while ((frameAccum >= FRAME_TIME) && (_local1 < MAX_FRAME_SKIP)) { advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(_local2, false, false); } (frameAccum = frameAccum - FRAME_TIME); _local1++; } updateAfterEvent(); } } function advanceFrame(clip, recurse, loop) { var _local1 = clip; var _local2 = loop; var _local3 = recurse; if (!_local1) { } else { _local1.stop(); if (_local1._currentframe == _local1._totalframes) { if (_local2) { _local1.gotoAndStop(1); } } else { _local1.nextFrame(); } if (_local3) { for (childName in _local1) { if (typeof(_local1[childName]) == "movieclip") { advanceFrame(_local1[childName], _local3, _local2); } } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.3333333333333; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler();Symbol 15 MovieClip Frame 72startMovie();Symbol 24 Buttonon (release) { gotoAndStop (3); }Symbol 26 Buttonon (release) { nextFrame(); }Symbol 29 Buttonon (release) { prevFrame(); }Symbol 51 Buttonon (release) { nextFrame(); }Symbol 54 Buttonon (release) { prevFrame(); }Symbol 60 Buttonon (release) { _root.gotoAndStop(2); }Symbol 62 Buttonon (release) { _root.nextFrame(); }Symbol 67 Buttonon (release) { _root.gotoAndStop(3); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:15 |
Symbol 3 Graphic | Used by:15 | |
Symbol 4 Graphic | Used by:5 9 | |
Symbol 5 MovieClip | Uses:4 | Used by:15 |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:6 | Used by:8 |
Symbol 8 MovieClip | Uses:7 | Used by:15 |
Symbol 9 Button | Uses:4 | Used by:15 |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip | Uses:10 | Used by:15 |
Symbol 12 Graphic | Used by:13 | |
Symbol 13 MovieClip | Uses:12 | Used by:15 |
Symbol 14 Sound | Used by:15 | |
Symbol 15 MovieClip | Uses:2 3 5 8 9 11 13 14 SS1 | Used by:Timeline |
Symbol 16 Sound | Used by:Timeline | |
Symbol 17 Font | Used by:18 22 25 27 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 52 55 56 57 58 61 65 66 | |
Symbol 18 Text | Uses:17 | Used by:Timeline |
Symbol 19 Bitmap | Used by:20 | |
Symbol 20 Graphic | Uses:19 | Used by:Timeline |
Symbol 21 Button | Used by:Timeline | |
Symbol 22 Text | Uses:17 | Used by:24 |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 Button | Uses:22 23 | Used by:Timeline |
Symbol 25 Text | Uses:17 | Used by:26 |
Symbol 26 Button | Uses:25 | Used by:Timeline |
Symbol 27 Text | Uses:17 | Used by:29 |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 Button | Uses:27 28 | Used by:Timeline |
Symbol 30 Text | Uses:17 | Used by:Timeline |
Symbol 31 Text | Uses:17 | Used by:Timeline |
Symbol 32 Text | Uses:17 | Used by:Timeline |
Symbol 33 Text | Uses:17 | Used by:Timeline |
Symbol 34 Text | Uses:17 | Used by:Timeline |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Text | Uses:17 | Used by:Timeline |
Symbol 37 Text | Uses:17 | Used by:Timeline |
Symbol 38 Text | Uses:17 | Used by:Timeline |
Symbol 39 Text | Uses:17 | Used by:Timeline |
Symbol 40 Text | Uses:17 | Used by:Timeline |
Symbol 41 Text | Uses:17 | Used by:Timeline |
Symbol 42 Text | Uses:17 | Used by:Timeline |
Symbol 43 Text | Uses:17 | Used by:Timeline |
Symbol 44 Text | Uses:17 | Used by:Timeline |
Symbol 45 Text | Uses:17 | Used by:Timeline |
Symbol 46 Text | Uses:17 | Used by:Timeline |
Symbol 47 Text | Uses:17 | Used by:Timeline |
Symbol 48 Text | Uses:17 | Used by:Timeline |
Symbol 49 Text | Uses:17 | Used by:51 |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 Button | Uses:49 50 | Used by:Timeline |
Symbol 52 Text | Uses:17 | Used by:54 |
Symbol 53 Graphic | Used by:54 | |
Symbol 54 Button | Uses:52 53 | Used by:Timeline |
Symbol 55 Text | Uses:17 | Used by:Timeline |
Symbol 56 Text | Uses:17 | Used by:60 |
Symbol 57 Text | Uses:17 | Used by:60 |
Symbol 58 Text | Uses:17 | Used by:60 |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 Button | Uses:56 57 58 59 | Used by:Timeline |
Symbol 61 Text | Uses:17 | Used by:62 |
Symbol 62 Button | Uses:61 | Used by:64 |
Symbol 63 Graphic | Used by:64 | |
Symbol 64 Button | Uses:62 63 | Used by:Timeline |
Symbol 65 Text | Uses:17 | Used by:Timeline |
Symbol 66 Text | Uses:17 | Used by:67 |
Symbol 67 Button | Uses:66 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 15 MovieClip |
Instance Names
"bar" | Symbol 15 MovieClip Frame 1 | Symbol 5 MovieClip |
"loadingText" | Symbol 15 MovieClip Frame 1 | Symbol 8 MovieClip |
Labels
"LOADED" | Symbol 15 MovieClip Frame 2 |
|