STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #41038 |
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 2stop();Frame 3stop();Frame 4stop();Frame 5stop();Frame 6stop();Frame 7stop();Symbol 38 Buttonon (release) { getURL ("http://www.newgrounds.com", "_blank"); }Symbol 46 Buttonon (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 2gotoAndPlay (1);Symbol 52 Buttonon (release) { gotoAndPlay (3); }Symbol 55 Buttonon (release) { gotoAndPlay (4); }Symbol 57 Buttonon (release) { gotoAndPlay (5); }Symbol 60 Buttonon (release) { gotoAndPlay (6); }Symbol 62 Buttonon (release) { gotoAndPlay (7); }Symbol 65 Buttonon (release) { gotoAndPlay (2); }
Library Items
Symbol 1 Graphic | Used by:48 | |
Symbol 2 Graphic | Used by:3 38 | |
Symbol 3 MovieClip | Uses:2 | Used by:48 |
Symbol 4 Graphic | Used by:48 | |
Symbol 5 Graphic | Used by:48 | |
Symbol 6 Graphic | Used by:48 | |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:9 |
Symbol 9 MovieClip | Uses:8 | Used by:37 |
Symbol 10 Graphic | Used by:37 | |
Symbol 11 Graphic | Used by:12 13 | |
Symbol 12 MovieClip | Uses:11 | Used by:37 |
Symbol 13 MovieClip | Uses:11 | Used by:37 |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip | Uses:14 | Used by:35 |
Symbol 16 Graphic | Used by:20 | |
Symbol 17 Graphic | Used by:20 | |
Symbol 18 Graphic | Used by:19 | |
Symbol 19 MovieClip | Uses:18 | Used by:20 23 |
Symbol 20 MovieClip | Uses:16 17 19 | Used by:34 |
Symbol 21 Graphic | Used by:23 | |
Symbol 22 Graphic | Used by:23 | |
Symbol 23 MovieClip | Uses:21 22 19 | Used by:34 |
Symbol 24 Graphic | Used by:27 | |
Symbol 25 Graphic | Used by:27 30 | |
Symbol 26 Graphic | Used by:27 | |
Symbol 27 MovieClip | Uses:24 25 26 | Used by:31 |
Symbol 28 Graphic | Used by:30 | |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:28 25 29 | Used by:31 |
Symbol 31 MovieClip | Uses:27 30 | Used by:34 |
Symbol 32 Graphic | Used by:33 | |
Symbol 33 MovieClip | Uses:32 | Used by:34 |
Symbol 34 MovieClip | Uses:20 23 31 33 | Used by:35 |
Symbol 35 MovieClip | Uses:15 34 | Used by:37 |
Symbol 36 Graphic | Used by:37 | |
Symbol 37 MovieClip | Uses:9 10 12 13 35 36 | Used by:48 |
Symbol 38 Button | Uses:2 | Used by:48 |
Symbol 39 Graphic | Used by:41 | |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:39 40 | Used by:48 |
Symbol 42 Graphic | Used by:46 | |
Symbol 43 Graphic | Used by:46 | |
Symbol 44 Graphic | Used by:46 | |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 Button | Uses:42 43 44 45 | Used by:48 |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 MovieClip | Uses:1 3 4 5 6 37 38 41 46 47 | Used by:Timeline |
Symbol 49 Font | Used by:50 53 56 58 59 61 63 | |
Symbol 50 Text | Uses:49 | Used by:Timeline |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 Button | Uses:51 | Used by:Timeline |
Symbol 53 Text | Uses:49 | Used by:Timeline |
Symbol 54 Graphic | Used by:55 57 60 62 | |
Symbol 55 Button | Uses:54 | Used by:Timeline |
Symbol 56 Text | Uses:49 | Used by:Timeline |
Symbol 57 Button | Uses:54 | Used by:Timeline |
Symbol 58 Text | Uses:49 | Used by:Timeline |
Symbol 59 EditableText | Uses:49 | Used by:Timeline |
Symbol 60 Button | Uses:54 | Used by:Timeline |
Symbol 61 Text | Uses:49 | Used by:Timeline |
Symbol 62 Button | Uses:54 | Used by:Timeline |
Symbol 63 Text | Uses:49 | Used by:Timeline |
Symbol 64 Graphic | Used by:65 | |
Symbol 65 Button | Uses:64 | Used by:Timeline |
Instance Names
"bar" | Symbol 48 MovieClip Frame 1 | Symbol 3 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Labels
"loaded" | Symbol 48 MovieClip Frame 3 |
|