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!


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

Blan 's Guide to Buttons.swf

This is the info page for
Flash #37786

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


Text
blanblan's

blanblan's

blanblan's

blanblan's

blanblan's

blanblan's

blanblan's

blanblan's

guide

to buttons!

OMG

BUTTONS!!!

So, you would like to learn how to make buttons?

Well then, let's start
by simply drawing one!
Maybe just a rectangle
for now.

Convert it to a symbol by right clicking on it and
clicking on "convert to symbol."  Sound easy so
far?  Well that's because it is! :D
Name it 'button' or something.  Then turn it
into a button and click OK.

Then right-click on the button and click on Actions.

And it is!!!

Afterwards, type in 'on,' then 'release' in
parenthesis. With me so far?  If you are, good!  If
you aren't, don't worry!  The tutorial won't go on
until you click the arrow! :D
Anyways, here is what the action should look like.

Now hit Enter at the end
of that line and type in
'gotoAndPlay.'  (It's
case sensitive!!)  It
should look like this.
Then after the
gotoAndPlay, type the
number of the frame you
want the button to lead
to in parentheses.  That
would be these: ( )

For example, if you were going to make it go to
frame 4, it would be something like this...

Be sure to have the frame freeze or stop,
so your viewers actually have a chance to
press the button!  If you don't  know how
to stop a frame,            , and I will
that.

click here

click here

fix

Click here
for copyable
actionscript.

Click here
for copyable
actionscript.

With me so far?  Good!  I'd give you a cookie, but he's
already eating it...
He's eating pretty fast, too.
What a loser.  He needs to learn not
to steal other people's cookies.

Something else you need to learn how to do involves
these words:  Up, Over, Down, and Hit.  They are the
button's appearance guides.  Double click the button
to enter this edit mode.
This will make more sense if you're actually looking at
it...

Over would be how the
button looks like when
the cursor is over it.

Down would be how
the button looks like
when it is clicked.

Hit would be the
clickable area of the
button.

Up would be how the
button looks like when it
is in its normal position.

Try testing your button out and see if it works!  If
it does, I have succeeded in making a helpful
tutorial.  If it doesn't, I have failed. :(
Buttons are very useful especially if you are making
a game or a tutorial or something.
Buttons don't always have to be a rectangle or a
square, they can be a face, or some words, or even
an apple! :D

If you want to review something,

click the back button.

Or just replay the whole thing!

Music by HouseMasta

Making a frame stop is very simple!  Just right-click on the
frame, click on actions, and type this in...

Easy, right?  Yes, it is.
Click on the button to go
back to the tutorial!

Look for another
edible item in this
flash for another
surprise!

You've just found
yourself FOUR whopping
boxes of Apple Jacks!

If you want another
puzzle, count the number
of palm trees in this flash
and go to that frame.
Click on the word that
rhymes with it.

w00t!!!

Haa just kidding.

Click here

Click here

Aah ha ha ha...  that's good stuff.
Hey, at least it wasn't just the Apple
Jacks box spinning.

Even though it is spinning...

Here's the copy-and-paste-able
text for you.

<p align="left"><font face="Comic Sans MS" size="22" color="#000000" letterSpacing="0.000000" kerning="1">on (release) {</font></p><p align="left"><font face="Comic Sans MS" size="22" color="#000000" letterSpacing="0.000000" kerning="1">gotoAndPlay()</font></p><p align="left"><font face="Comic Sans MS" size="22" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p>

Actionscript explained:  The 'on release'
means that once the button is released,
it would go to its next command, which is
to goto and play the desired frame.

Here's some more actionscript that should be
helpful to you.

gotoAndStop()

This is basically the same as
gotoAndPlay, except it would go to
the frame and stop... you figured
that out before I told you, right?  I
really hope so, dude...

nextScene()/prevScene()

This would have the button lead to the
next or previous scene in your movie (if
you have other scenes).

nextFrame()/prevFrame()

This obviously leads to the
next or previous frame. =P
'Nuff said.

getURL

CLICK

CLICK

This action is like a link to a website.
Click on the button below to find out
more, since I can't fit it here.  :P

The getURL action is a way to link to a website on
the internet.  Don't you DARE be intimidated by it,
because it's really very easy.  :)

Start with the traditional 'on (release),' or
'on (press),' whatever.  Then, press enter, and
type in "getURL" without the quotes.

BACK

Now look at the screenshot below.  As you can see,
you now have to type your desired website URL in
quotes in the parentheses.

When finished, add "blank" with quotes after a
comma.  This ensures that the site is opened in a
new browser window, and not in the shockwave
thing itself.  :)

the end

ActionScript [AS1/AS2]

Frame 3
stopAllSounds();
Frame 103
stop();
Frame 104
stop();
Frame 105
stop();
Frame 106
stop();
Frame 107
stop();
Frame 108
stop();
Frame 109
stop();
Frame 110
stop();
Frame 111
stop();
Frame 112
stop();
Frame 113
stop();
Frame 114
stop();
Frame 115
stop();
Frame 116
stop();
Frame 117
stop();
Frame 118
stop();
Frame 119
stop();
Frame 120
stop();
Symbol 9 Button
on (release) { getURL ("http://www.newgrounds.com", "blank"); }
Symbol 14 Button
on (release) { _root.play(); }
Symbol 15 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 45 Button
on (release) { gotoAndPlay (104); }
Symbol 47 Button
on (release) { gotoAndPlay (114); }
Symbol 58 Button
on (release) { prevFrame(); }
Symbol 59 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { dragging = true; } } onClipEvent (enterFrame) { if (dragging && (_parent.hitRange.hitTest(_root._xmouse, _root._ymouse, false))) { _x = (_parent._xmouse - 10); _root.all.setVolume((_x + 62) / 0.55); } } onClipEvent (mouseUp) { dragging = false; } onClipEvent (load) { dragging = false; _root.all = new Sound(); }
Symbol 65 Button
on (release) { gotoAndPlay (105); }
Symbol 66 Button
on (release) { gotoAndPlay (103); }
Symbol 75 Button
on (release) { gotoAndPlay (106); }
Symbol 77 Button
on (release) { gotoAndPlay (107); }
Symbol 82 Button
on (release) { gotoAndPlay (108); }
Symbol 87 Button
on (release) { gotoAndPlay (109); }
Symbol 93 Button
on (release) { gotoAndPlay (112); }
Symbol 95 Button
on (release) { gotoAndPlay (115); }
Symbol 98 Button
on (release) { gotoAndPlay (117); }
Symbol 102 Button
on (release) { gotoAndPlay (114); }
Symbol 113 Button
on (release) { gotoAndPlay (118); }
Symbol 114 Button
on (release) { gotoAndPlay (108); }
Symbol 116 Button
on (release) { gotoAndPlay (111); }
Symbol 125 Button
on (release) { gotoAndPlay (110); }
Symbol 130 Button
on (release) { gotoAndPlay (3); }
Symbol 134 Button
on (release) { gotoAndPlay (113); }
Symbol 158 Button
on (release) { gotoAndPlay (103); }
Symbol 164 Button
on (release) { gotoAndPlay (116); }
Symbol 175 Button
on (release) { gotoAndPlay (111); }
Symbol 181 Button
on (release) { gotoAndPlay (109); }
Symbol 192 Button
on (release) { gotoAndPlay (109); }
Symbol 195 Button
on (release) { nextFrame(); }
Symbol 198 Button
on (release) { nextFrame(); }
Symbol 204 Button
on (release) { gotoAndStop (118); }
Symbol 209 Button
on (release) { prevFrame(); }

Library Items

Symbol 1 GraphicUsed by:15
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:15
Symbol 4 GraphicUsed by:15
Symbol 5 GraphicUsed by:8 9
Symbol 6 GraphicUsed by:8 9
Symbol 7 GraphicUsed by:8 9
Symbol 8 MovieClipUses:5 6 7Used by:9
Symbol 9 ButtonUses:8 5 6 7Used by:15
Symbol 10 GraphicUsed by:14
Symbol 11 GraphicUsed by:14
Symbol 12 GraphicUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 ButtonUses:10 11 12 13Used by:15
Symbol 15 MovieClipUses:1 3 4 9 14Used by:Timeline
Symbol 16 SoundUsed by:Timeline
Symbol 17 FontUsed by:18 19 20 21 22 23 24 25 26 27 36 37 39 64 71 74 76 81 86 90 91 92 94 117 118 119 120 122 131 156 157 160 161 162 163 174 177 184 185 187 189 191 193 194 197 199 208 210
Symbol 18 TextUses:17Used by:Timeline
Symbol 19 TextUses:17Used by:Timeline
Symbol 20 TextUses:17Used by:Timeline
Symbol 21 TextUses:17Used by:Timeline
Symbol 22 TextUses:17Used by:Timeline
Symbol 23 TextUses:17Used by:Timeline
Symbol 24 TextUses:17Used by:Timeline
Symbol 25 TextUses:17Used by:Timeline
Symbol 26 TextUses:17Used by:Timeline
Symbol 27 TextUses:17Used by:Timeline
Symbol 28 GraphicUsed by:Timeline
Symbol 29 GraphicUsed by:Timeline
Symbol 30 GraphicUsed by:Timeline
Symbol 31 GraphicUsed by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 GraphicUsed by:Timeline
Symbol 34 GraphicUsed by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 TextUses:17Used by:Timeline
Symbol 37 TextUses:17Used by:Timeline
Symbol 38 GraphicUsed by:Timeline
Symbol 39 TextUses:17Used by:Timeline
Symbol 40 FontUsed by:41 64 71 76 96 97 99 115 123 124 126 135 136 159 179 180 182 186 188 190 196 197 199 205 208
Symbol 41 TextUses:40Used by:Timeline
Symbol 42 GraphicUsed by:45 65 66 75 77 82 87 113 114 116 125 158 175 181 192 198 209
Symbol 43 GraphicUsed by:45 65 66 75 77 82 87 113 114 116 125 158 175 181 192 198 209
Symbol 44 GraphicUsed by:45 65 66 75 77 82 87 113 114 116 125 158 175 181 192 198 209
Symbol 45 ButtonUses:42 43 44Used by:Timeline
Symbol 46 GraphicUsed by:47
Symbol 47 ButtonUses:46Used by:Timeline
Symbol 48 GraphicUsed by:59
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:59
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:59
Symbol 53 GraphicUsed by:59
Symbol 54 GraphicUsed by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:54 55 56 57Used by:59
Symbol 59 MovieClipUses:48 50 52 53 58Used by:61
Symbol 60 GraphicUsed by:61
Symbol 61 ButtonUses:59 60Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:Timeline
Symbol 64 TextUses:40 17Used by:Timeline
Symbol 65 ButtonUses:42 43 44Used by:Timeline
Symbol 66 ButtonUses:42 43 44Used by:Timeline
Symbol 67 GraphicUsed by:Timeline
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:Timeline
Symbol 70 GraphicUsed by:Timeline
Symbol 71 TextUses:40 17Used by:Timeline
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:Timeline
Symbol 74 TextUses:17Used by:Timeline
Symbol 75 ButtonUses:42 43 44Used by:Timeline
Symbol 76 TextUses:40 17Used by:Timeline
Symbol 77 ButtonUses:42 43 44Used by:Timeline
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 TextUses:17Used by:Timeline
Symbol 82 ButtonUses:42 43 44Used by:Timeline
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:Timeline
Symbol 85 GraphicUsed by:Timeline
Symbol 86 TextUses:17Used by:Timeline
Symbol 87 ButtonUses:42 43 44Used by:Timeline
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:Timeline
Symbol 90 TextUses:17Used by:Timeline
Symbol 91 TextUses:17Used by:93
Symbol 92 TextUses:17Used by:93
Symbol 93 ButtonUses:91 92Used by:Timeline
Symbol 94 TextUses:17Used by:95
Symbol 95 ButtonUses:94Used by:Timeline
Symbol 96 TextUses:40Used by:98
Symbol 97 TextUses:40Used by:98
Symbol 98 ButtonUses:96 97Used by:Timeline
Symbol 99 TextUses:40Used by:Timeline
Symbol 100 GraphicUsed by:112
Symbol 101 GraphicUsed by:102
Symbol 102 ButtonUses:101Used by:112
Symbol 103 GraphicUsed by:112
Symbol 104 GraphicUsed by:112
Symbol 105 GraphicUsed by:112
Symbol 106 GraphicUsed by:112
Symbol 107 GraphicUsed by:112
Symbol 108 GraphicUsed by:112
Symbol 109 GraphicUsed by:112
Symbol 110 GraphicUsed by:112
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:100 102 103 104 105 106 107 108 109 110 111Used by:Timeline
Symbol 113 ButtonUses:42 43 44Used by:Timeline
Symbol 114 ButtonUses:42 43 44Used by:Timeline
Symbol 115 TextUses:40Used by:Timeline
Symbol 116 ButtonUses:42 43 44Used by:Timeline
Symbol 117 TextUses:17Used by:Timeline
Symbol 118 TextUses:17Used by:Timeline
Symbol 119 TextUses:17Used by:Timeline
Symbol 120 TextUses:17Used by:Timeline
Symbol 121 GraphicUsed by:Timeline
Symbol 122 TextUses:17Used by:Timeline
Symbol 123 TextUses:40Used by:Timeline
Symbol 124 TextUses:40Used by:Timeline
Symbol 125 ButtonUses:42 43 44Used by:Timeline
Symbol 126 TextUses:40Used by:Timeline
Symbol 127 GraphicUsed by:130
Symbol 128 GraphicUsed by:130
Symbol 129 GraphicUsed by:130
Symbol 130 ButtonUses:127 128 129Used by:Timeline
Symbol 131 TextUses:17Used by:Timeline
Symbol 132 GraphicUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 ButtonUses:132 133Used by:Timeline
Symbol 135 TextUses:40Used by:Timeline
Symbol 136 TextUses:40Used by:Timeline
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:Timeline
Symbol 139 BitmapUsed by:140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
Symbol 140 GraphicUses:139Used by:155
Symbol 141 GraphicUses:139Used by:155
Symbol 142 GraphicUses:139Used by:155
Symbol 143 GraphicUses:139Used by:155
Symbol 144 GraphicUses:139Used by:155
Symbol 145 GraphicUses:139Used by:155
Symbol 146 GraphicUses:139Used by:155
Symbol 147 GraphicUses:139Used by:155
Symbol 148 GraphicUses:139Used by:155
Symbol 149 GraphicUses:139Used by:155
Symbol 150 GraphicUses:139Used by:155
Symbol 151 GraphicUses:139Used by:155
Symbol 152 GraphicUses:139Used by:155
Symbol 153 GraphicUses:139Used by:155
Symbol 154 GraphicUses:139Used by:155
Symbol 155 MovieClipUses:140 141 142 143 144 145 146 147 148 149 150 151 152 153 154Used by:173  Timeline
Symbol 156 TextUses:17Used by:Timeline
Symbol 157 TextUses:17Used by:Timeline
Symbol 158 ButtonUses:42 43 44Used by:Timeline
Symbol 159 TextUses:40Used by:Timeline
Symbol 160 TextUses:17Used by:Timeline
Symbol 161 TextUses:17Used by:Timeline
Symbol 162 TextUses:17Used by:164
Symbol 163 TextUses:17Used by:164
Symbol 164 ButtonUses:162 163Used by:Timeline
Symbol 165 GraphicUsed by:173
Symbol 166 GraphicUsed by:173
Symbol 167 GraphicUsed by:173
Symbol 168 GraphicUsed by:173
Symbol 169 GraphicUsed by:173
Symbol 170 SoundUsed by:173
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:165 155 166 167 168 169 170 171 172Used by:Timeline
Symbol 174 TextUses:17Used by:Timeline
Symbol 175 ButtonUses:42 43 44Used by:Timeline
Symbol 176 FontUsed by:177
Symbol 177 TextUses:17 176Used by:Timeline
Symbol 178 GraphicUsed by:Timeline
Symbol 179 TextUses:40Used by:Timeline
Symbol 180 EditableTextUses:40Used by:Timeline
Symbol 181 ButtonUses:42 43 44Used by:Timeline
Symbol 182 TextUses:40Used by:Timeline
Symbol 183 GraphicUsed by:Timeline
Symbol 184 TextUses:17Used by:Timeline
Symbol 185 TextUses:17Used by:Timeline
Symbol 186 TextUses:40Used by:Timeline
Symbol 187 TextUses:17Used by:Timeline
Symbol 188 TextUses:40Used by:Timeline
Symbol 189 TextUses:17Used by:Timeline
Symbol 190 TextUses:40Used by:Timeline
Symbol 191 TextUses:17Used by:Timeline
Symbol 192 ButtonUses:42 43 44Used by:Timeline
Symbol 193 TextUses:17Used by:195
Symbol 194 TextUses:17Used by:195
Symbol 195 ButtonUses:193 194Used by:Timeline
Symbol 196 TextUses:40Used by:Timeline
Symbol 197 TextUses:40 17Used by:Timeline
Symbol 198 ButtonUses:42 43 44Used by:Timeline
Symbol 199 TextUses:40 17Used by:Timeline
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:Timeline
Symbol 202 FontUsed by:203
Symbol 203 TextUses:202Used by:204
Symbol 204 ButtonUses:203Used by:Timeline
Symbol 205 TextUses:40Used by:Timeline
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:Timeline
Symbol 208 TextUses:40 17Used by:Timeline
Symbol 209 ButtonUses:42 43 44Used by:Timeline
Symbol 210 TextUses:17Used by:Timeline

Instance Names

"bar"Symbol 15 MovieClip Frame 1Symbol 3 MovieClip
"hitRange"Symbol 59 MovieClip Frame 1Symbol 52 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""

Labels

"loaded"Symbol 15 MovieClip Frame 3




http://swfchan.com/8/37786/info.shtml
Created: 13/5 -2019 20:44:29 Last modified: 13/5 -2019 20:44:29 Server time: 23/12 -2024 01:08:03