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 #57157 |
PROTECTIVE |
TUTORIAL |
MUSIC |
OFF |
OFF |
ON |
ON |
BACKGROUND |
Protective Tutorial |
So, do you want to create your own password? For a game? Cutscene? Checkpoint? Secret frame? Anything you want protected can be done with a password. |
First, create a text box. This will be where you type your password. Next to it type "Put password here" or something so they know what to do. |
Text Box |
Make sure it is set to input text, so the person can type and select text. |
A |
Input <Instance> |
Now where it says variable, put in "pass" or "password" or whatever you like. |
Variable |
Pass |
Next to the variable box, you will see another box. It should say "Single Line". Click and choose "password." This turns "password" into "********". |
A |
Password |
Make a button. Put on it "Submit" or "Confirm" or "Go" or just something you like. It doesn't matter, just don't make it too big. |
CONFIRM |
Post this Action Script in the button. |
on (release) { if (pass == 1234) { gotoAndStop("Right"); } else { gotoAndStop("Wrong"); } } |
What all those scripts does is it makes it so flash creates a variable called "pass" and if it is equal to the the set password, then it goes to the "right" frame. |
Now type in the password. It's 1234. You also might want to put some finishing touches on your button. I beveled mine and put a drop shadow. |
Text Box |
Wrong! Hit next twice... |
Correct! Let's move on. |
Make two keyframes with a correct and wrong page on them. In the properties menu, label them "Right" and "Wrong" without the quotes. |
Frame |
<Frame Label> |
A lot people think they can just right click and push play or forward. Now to change that. Put these actions in the first frame of your movie. |
Stage.showMenu = false; |
Try right clicking. Doesn't work, does it? This is perfect for quiz games and RPGs with one frame for each area. |
A lot of people also want to learn about making a custom menu. I'm sorry I can't teach you about that, it's just not part of the "security" issue. This website can though: |
WEBSITE |
WEBSITE |
Well, I hoped you enjoyed this tutorial. You now know how to do anything you want with a password! ...Well, almost anyways. Thanks for using this tutorial! |
ActionScript [AS1/AS2]
Frame 1Stage.showMenu = false;Frame 2stop();Symbol 15 Buttonon (release) { _root.play(); }Symbol 16 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }Symbol 16 MovieClip Frame 2gotoAndPlay (1);Symbol 32 MovieClip Frame 1stop();Symbol 32 MovieClip Frame 2stop();Symbol 32 MovieClip Frame 3stop();Symbol 32 MovieClip Frame 4stop();Symbol 32 MovieClip Frame 5stop();Symbol 39 Buttonon (press) { _root.Music.gotoAndStop(1); stopAllSounds(); }Symbol 43 Buttonon (press) { _root.Music.play(); }Symbol 48 Buttonon (press) { _root.Background.play(); }Symbol 51 Buttonon (press) { prevFrame(); }Symbol 54 Buttonon (press) { nextFrame(); }Symbol 84 Buttonon (release) { if (pass == 1234) { gotoAndStop ("Right"); } else { gotoAndStop ("Wrong"); } }Symbol 100 Buttonon (press) { getURL ("http://www.tutorialized.com/tutorial/Customize-the-Flash-Context-Menu-a.k.a.-Right-Click-Menu/13601", "_blank"); }
Library Items
Symbol 1 Bitmap | Used by:2 | |
Symbol 2 Graphic | Uses:1 | Used by:3 |
Symbol 3 MovieClip | Uses:2 | Used by:32 Timeline |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:16 |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip | Uses:6 | Used by:16 |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:16 |
Symbol 10 Graphic | Used by:15 | |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 MovieClip | Uses:11 | Used by:15 |
Symbol 13 Graphic | Used by:15 | |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 Button | Uses:10 12 13 14 | Used by:16 |
Symbol 16 MovieClip | Uses:5 7 9 15 | Used by:Timeline |
Symbol 17 Font | Used by:18 19 35 37 38 41 42 46 55 56 59 60 62 63 64 66 67 68 70 71 72 74 75 77 78 79 80 81 85 86 88 89 90 92 93 94 95 98 99 101 | |
Symbol 18 Text | Uses:17 | Used by:Timeline |
Symbol 19 Text | Uses:17 | Used by:Timeline |
Symbol 20 Bitmap | Used by:21 | |
Symbol 21 Graphic | Uses:20 | Used by:22 |
Symbol 22 MovieClip | Uses:21 | Used by:32 |
Symbol 23 Bitmap | Used by:24 | |
Symbol 24 Graphic | Uses:23 | Used by:25 |
Symbol 25 MovieClip | Uses:24 | Used by:32 |
Symbol 26 Bitmap | Used by:27 | |
Symbol 27 Graphic | Uses:26 | Used by:28 |
Symbol 28 MovieClip | Uses:27 | Used by:32 |
Symbol 29 Bitmap | Used by:30 | |
Symbol 30 Graphic | Uses:29 | Used by:31 |
Symbol 31 MovieClip | Uses:30 | Used by:32 |
Symbol 32 MovieClip | Uses:3 22 25 28 31 | Used by:Timeline |
Symbol 33 Graphic | Used by:34 | |
Symbol 34 MovieClip | Uses:33 | Used by:44 |
Symbol 35 Text | Uses:17 | Used by:44 |
Symbol 36 Graphic | Used by:39 | |
Symbol 37 Text | Uses:17 | Used by:39 |
Symbol 38 Text | Uses:17 | Used by:39 |
Symbol 39 Button | Uses:36 37 38 | Used by:44 |
Symbol 40 Graphic | Used by:43 | |
Symbol 41 Text | Uses:17 | Used by:43 |
Symbol 42 Text | Uses:17 | Used by:43 |
Symbol 43 Button | Uses:40 41 42 | Used by:44 |
Symbol 44 MovieClip | Uses:34 35 39 43 | Used by:Timeline |
Symbol 45 Graphic | Used by:48 | |
Symbol 46 Text | Uses:17 | Used by:48 |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 Button | Uses:45 46 47 | Used by:Timeline |
Symbol 49 Graphic | Used by:50 51 53 54 | |
Symbol 50 MovieClip | Uses:49 | Used by:51 |
Symbol 51 Button | Uses:49 50 | Used by:Timeline |
Symbol 52 Graphic | Used by:54 | |
Symbol 53 MovieClip | Uses:49 | Used by:54 |
Symbol 54 Button | Uses:52 53 49 | Used by:Timeline |
Symbol 55 Text | Uses:17 | Used by:Timeline |
Symbol 56 Text | Uses:17 | Used by:Timeline |
Symbol 57 MovieClip | Uses:SS1 | Used by:Timeline |
Symbol 58 Graphic | Used by:Timeline | |
Symbol 59 Text | Uses:17 | Used by:Timeline |
Symbol 60 EditableText | Uses:17 | Used by:Timeline |
Symbol 61 Graphic | Used by:Timeline | |
Symbol 62 Text | Uses:17 | Used by:Timeline |
Symbol 63 Text | Uses:17 | Used by:Timeline |
Symbol 64 EditableText | Uses:17 | Used by:Timeline |
Symbol 65 Graphic | Used by:Timeline | |
Symbol 66 Text | Uses:17 | Used by:Timeline |
Symbol 67 Text | Uses:17 | Used by:Timeline |
Symbol 68 EditableText | Uses:17 | Used by:Timeline |
Symbol 69 Graphic | Used by:Timeline | |
Symbol 70 Text | Uses:17 | Used by:Timeline |
Symbol 71 Text | Uses:17 | Used by:Timeline |
Symbol 72 Text | Uses:17 | Used by:Timeline |
Symbol 73 Graphic | Used by:Timeline | |
Symbol 74 Text | Uses:17 | Used by:Timeline |
Symbol 75 Text | Uses:17 | Used by:84 Timeline |
Symbol 76 Graphic | Used by:Timeline | |
Symbol 77 Text | Uses:17 | Used by:Timeline |
Symbol 78 EditableText | Uses:17 | Used by:Timeline |
Symbol 79 Text | Uses:17 | Used by:Timeline |
Symbol 80 Text | Uses:17 | Used by:Timeline |
Symbol 81 EditableText | Uses:17 | Used by:Timeline |
Symbol 82 Graphic | Used by:84 | |
Symbol 83 Graphic | Used by:84 | |
Symbol 84 Button | Uses:82 75 83 | Used by:Timeline |
Symbol 85 Text | Uses:17 | Used by:Timeline |
Symbol 86 Text | Uses:17 | Used by:Timeline |
Symbol 87 Graphic | Used by:Timeline | |
Symbol 88 Text | Uses:17 | Used by:Timeline |
Symbol 89 Text | Uses:17 | Used by:Timeline |
Symbol 90 EditableText | Uses:17 | Used by:Timeline |
Symbol 91 Graphic | Used by:Timeline | |
Symbol 92 Text | Uses:17 | Used by:Timeline |
Symbol 93 EditableText | Uses:17 | Used by:Timeline |
Symbol 94 Text | Uses:17 | Used by:Timeline |
Symbol 95 Text | Uses:17 | Used by:Timeline |
Symbol 96 Graphic | Used by:97 100 | |
Symbol 97 MovieClip | Uses:96 | Used by:100 |
Symbol 98 Text | Uses:17 | Used by:100 |
Symbol 99 Text | Uses:17 | Used by:100 |
Symbol 100 Button | Uses:97 98 99 96 | Used by:Timeline |
Symbol 101 Text | Uses:17 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 57 MovieClip |
Instance Names
"Background" | Frame 2 | Symbol 32 MovieClip |
"Music" | Frame 2 | Symbol 57 MovieClip |
"bar" | Symbol 16 MovieClip Frame 1 | Symbol 5 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Labels
"Wrong" | Frame 11 |
"Right" | Frame 12 |
"loaded" | Symbol 16 MovieClip Frame 3 |
Dynamic Text Variables
pass | Symbol 60 EditableText | "Text Box" |
pass | Symbol 81 EditableText | "Text Box" |
|