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

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

Protective Tutorial.swf

This is the info page for
Flash #57157

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


Text
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 1
Stage.showMenu = false;
Frame 2
stop();
Symbol 15 Button
on (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 2
gotoAndPlay (1);
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 3
stop();
Symbol 32 MovieClip Frame 4
stop();
Symbol 32 MovieClip Frame 5
stop();
Symbol 39 Button
on (press) { _root.Music.gotoAndStop(1); stopAllSounds(); }
Symbol 43 Button
on (press) { _root.Music.play(); }
Symbol 48 Button
on (press) { _root.Background.play(); }
Symbol 51 Button
on (press) { prevFrame(); }
Symbol 54 Button
on (press) { nextFrame(); }
Symbol 84 Button
on (release) { if (pass == 1234) { gotoAndStop ("Right"); } else { gotoAndStop ("Wrong"); } }
Symbol 100 Button
on (press) { getURL ("http://www.tutorialized.com/tutorial/Customize-the-Flash-Context-Menu-a.k.a.-Right-Click-Menu/13601", "_blank"); }

Library Items

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

Instance Names

"Background"Frame 2Symbol 32 MovieClip
"Music"Frame 2Symbol 57 MovieClip
"bar"Symbol 16 MovieClip Frame 1Symbol 5 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"Wrong"Frame 11
"Right"Frame 12
"loaded"Symbol 16 MovieClip Frame 3

Dynamic Text Variables

passSymbol 60 EditableText"Text Box"
passSymbol 81 EditableText"Text Box"




http://swfchan.com/12/57157/info.shtml
Created: 18/4 -2019 13:17:49 Last modified: 18/4 -2019 13:17:49 Server time: 16/05 -2024 00:43:49