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/76665527?noj=FRM76665527-22DC" width="1" height="1"></div>

Simple Button Tutorial.swf

This is the info page for
Flash #41038

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


Text
Hey there, BlooWolf here.
Today I will show you zombies
how to make epic buttons.

First, draw anything. Anything
at all can be a button. I will
start with just a plain old
start arrow.

Once you have drawn it select
all of it by using the selection
tool and then press Ctrl+F8.
Name it whatever and make
it into a "button".

Now go into it's actions and
copy and paste this script into
the white area:

<p align="left"><font face="Comic Sans MS" size="34" color="#00cc00" letterSpacing="0.000000" kerning="1"><b><i>on (release) {</i></b></font></p><p align="left"><font face="Comic Sans MS" size="34" color="#00cc00" letterSpacing="0.000000" kerning="1"><b><i>gotoAndPlay(0)</i></b></font></p><p align="left"><font face="Comic Sans MS" size="34" color="#00cc00" letterSpacing="0.000000" kerning="1"><b><i>}</i></b></font></p>

Ok, now change 0 to the frame
that the button will bringing
the player to. Also, select the
frame with the button and
go into the frame's actions and
type "stop();" into the white
area.

The "stop();" was to make sure
the frame knew not to continue
to the next frame and stop
so the player could press the
button. That's all you need to
do to make buttons. Simple.

ActionScript [AS1/AS2]

Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Symbol 38 Button
on (release) { getURL ("http://www.newgrounds.com", "_blank"); }
Symbol 46 Button
on (release) { _root.play(); }
Symbol 48 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 Button
on (release) { gotoAndPlay (3); }
Symbol 55 Button
on (release) { gotoAndPlay (4); }
Symbol 57 Button
on (release) { gotoAndPlay (5); }
Symbol 60 Button
on (release) { gotoAndPlay (6); }
Symbol 62 Button
on (release) { gotoAndPlay (7); }
Symbol 65 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 GraphicUsed by:48
Symbol 2 GraphicUsed by:3 38
Symbol 3 MovieClipUses:2Used by:48
Symbol 4 GraphicUsed by:48
Symbol 5 GraphicUsed by:48
Symbol 6 GraphicUsed by:48
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:37
Symbol 10 GraphicUsed by:37
Symbol 11 GraphicUsed by:12 13
Symbol 12 MovieClipUses:11Used by:37
Symbol 13 MovieClipUses:11Used by:37
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:35
Symbol 16 GraphicUsed by:20
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20 23
Symbol 20 MovieClipUses:16 17 19Used by:34
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:21 22 19Used by:34
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:27 30
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:24 25 26Used by:31
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:28 25 29Used by:31
Symbol 31 MovieClipUses:27 30Used by:34
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:34
Symbol 34 MovieClipUses:20 23 31 33Used by:35
Symbol 35 MovieClipUses:15 34Used by:37
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:9 10 12 13 35 36Used by:48
Symbol 38 ButtonUses:2Used by:48
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:39 40Used by:48
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:42 43 44 45Used by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:1 3 4 5 6 37 38 41 46 47Used by:Timeline
Symbol 49 FontUsed by:50 53 56 58 59 61 63
Symbol 50 TextUses:49Used by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 ButtonUses:51Used by:Timeline
Symbol 53 TextUses:49Used by:Timeline
Symbol 54 GraphicUsed by:55 57 60 62
Symbol 55 ButtonUses:54Used by:Timeline
Symbol 56 TextUses:49Used by:Timeline
Symbol 57 ButtonUses:54Used by:Timeline
Symbol 58 TextUses:49Used by:Timeline
Symbol 59 EditableTextUses:49Used by:Timeline
Symbol 60 ButtonUses:54Used by:Timeline
Symbol 61 TextUses:49Used by:Timeline
Symbol 62 ButtonUses:54Used by:Timeline
Symbol 63 TextUses:49Used by:Timeline
Symbol 64 GraphicUsed by:65
Symbol 65 ButtonUses:64Used by:Timeline

Instance Names

"bar"Symbol 48 MovieClip Frame 1Symbol 3 MovieClip

Special Tags

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

Labels

"loaded"Symbol 48 MovieClip Frame 3




http://swfchan.com/9/41038/info.shtml
Created: 10/5 -2019 14:37:57 Last modified: 10/5 -2019 14:37:57 Server time: 22/12 -2024 20:46:23