STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229703 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5192 |
This is the info page for Flash #68055 |
Loading... |
Next |
Next |
Hi there ! This is a TUTORIAL, not a GAME ! So don't give me crappy reviews like "stupidest game ever" and "wtf is this game about?". I am here to teach you how to make a nice looking preloader in two ways ! |
ULTIMATE GUIDE TO |
Coocooletmoi's |
Cool Preloader |
Start |
Start |
Normal Preloader |
PreLoaders ! |
Back |
Back |
First, open Flash. (for info I'm using Flash 8) Draw your preloader. It should look like mine. Convert it to a movie clip. |
ULTIMATE GUIDE TO LOADERS |
Coocooletmoi |
This is the layer where we put the "Loading" text. |
This is the layer where we put the load-bar fill |
This is the layer where we put the load-bar's border |
This is the layer where we put all the actions |
After that, double-click your movieclip. Create 3 more layers. There should be 4 layers now. Name them like below (and in the same order, too) : Done that ? Great ! |
<p align="left"><font face="Verdana" size="17" color="#000000" letterSpacing="0.000000" kerning="1">stop();</font></p> |
Each layer should only have each a keyframe. Actions : Click it, and put the action in it. LoadBarBorder : Double-click the border of your load bar, convert it to a graphic (F8), cut it, and paste it in place in this layer (Control+Shift+V). LoadBar : Now, click the fill color of your loadbar, convert it to movieclip and paste it in place on this layer (Control+Shift+V) Static Text : In here, just add your text - Loading will do the trick. Be sure it is in this layer. (You can also add your custom text here!) |
Come back to the main movie and place your loading bar. Then, add the code on the next page. |
<p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> loading = _parent.getBytesLoaded();</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> total = _parent.getBytesTotal();</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1">if (percent == undefined) percent = 0;</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> percent -= (percent-((loading/total)*100))*.25;</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> per = int(percent);</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> percentage = per+"%";</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> loadBar._width = per;</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> if (percent>99) {</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> _parent.gotoAndStop(2);</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1"> }</font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p> |
loadBar._width = per; |
<p align="left"><font face="Verdana" size="12" color="#000000" letterSpacing="0.000000" kerning="1">*2.58</font></p> |
<p align="left"><font face="Verdana" size="12" color="#000000" letterSpacing="0.000000" kerning="1">*1.598</font></p> |
Check your loadbar's lenght. If it is 159.8 pix then add before the semi-column. If it's 258 then add . |
onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); if (percent == undefined) percent = 0; percent -= (percent-((loading/total)*100))*.25; per = int(percent); percentage = per+"%"; if (percent>99) { _parent.gotoAndStop(2); } } |
Congratulations ! |
Done that ? Great ! In fact.... You finished the tutorial ! An example of how it should look like : |
Loading... |
First, open Flash. (for info I'm using Flash 8) Draw your preloader. It should look alike mine. Also, be sure it has ten balls/shapes. Convert it to a movie clip. |
After that, double-click your movieclip. Create 10 more key- frames. It should have 11 key-frames in total. On the first keyframe, in the middle, write 0%. On the second, 10%. Third, 20% and so on. Then, on the second keyframe, color one shape, on the second, another, and so on. Come back to the main movie and add the code given : |
<p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1"> loading = _parent.getBytesLoaded();</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1"> total = _parent.getBytesTotal();</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent == undefined) percent = 0;</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">percent -= (percent-((loading/total)*100))*.25;</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 0) this.gotoAndStop(1)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 10) this.gotoAndStop(2)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 20) this.gotoAndStop(3)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 30) this.gotoAndStop(4)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 40) this.gotoAndStop(5)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 50) this.gotoAndStop(6)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 60) this.gotoAndStop(7)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 70) this.gotoAndStop(8)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 80) this.gotoAndStop(9)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 90) this.gotoAndStop(10)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 93.5) this.gotoAndStop(11)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">if (percent >= 99) _parent.gotoAndStop(2)</font></p><p align="left"><font face="Verdana" size="9" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p> |
0% |
10% |
20% |
30% |
40% |
50% |
60% |
70% |
80% |
90% |
100% |
ActionScript [AS1/AS2]
Instance of Symbol 6 MovieClip in Frame 1onClipEvent (enterFrame) { this.startDrag(Mouse); Mouse.hide(); loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); if (percent == undefined) { percent = 0; } percent = percent - ((percent - ((loading / total) * 100)) * 0.25); per = int(percent); percentage = per + "%"; loadBar._width = per * 1.8; if (percent > 99) { _parent.gotoAndStop(2); } }Frame 2stop();Instance of Symbol 9 MovieClip in Frame 2onClipEvent (enterFrame) { Mouse.hide(); this.startDrag(Mouse); }Frame 3stop();Frame 4stop();Frame 5stop();Frame 6stop();Frame 7stop();Frame 8stop();Frame 9stop();Frame 10stop();Instance of Symbol 61 MovieClip in Frame 10onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); if (percent == undefined) { percent = 0; } percent = percent - ((percent - ((loading / total) * 100)) * 0.25); per = int(percent); percentage = per + "%"; loadBar._width = per * 1.8; if (percent > 99) { _parent.gotoAndStop(10); } }Frame 11stop();Frame 12stop();Frame 13stop();Frame 14stop();Symbol 6 MovieClip Frame 1stop();Symbol 16 Buttonon (release) { nextFrame(); }Symbol 25 Buttonon (release) { gotoAndStop (11); }Symbol 27 Buttonon (release) { gotoAndStop (4); }Symbol 32 Buttonon (release) { prevFrame(); }Symbol 56 Buttonon (release) { gotoAndStop (3); }Symbol 61 MovieClip Frame 1stop();Symbol 62 Buttonon (release) { gotoAndStop (3); }
Library Items
Symbol 1 Graphic | Used by:6 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:6 61 |
Symbol 4 Font | Used by:5 47 60 | |
Symbol 5 Text | Uses:4 | Used by:6 |
Symbol 6 MovieClip | Uses:1 3 5 | Used by:Timeline |
Symbol 7 Graphic | Used by:Timeline | |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:Timeline |
Symbol 10 Graphic | Used by:16 25 27 32 56 62 | |
Symbol 11 Font | Used by:12 14 19 20 22 23 24 26 29 30 31 34 35 | |
Symbol 12 Text | Uses:11 | Used by:16 56 |
Symbol 13 Graphic | Used by:16 25 27 32 56 62 | |
Symbol 14 Text | Uses:11 | Used by:16 56 |
Symbol 15 Graphic | Used by:16 25 27 32 56 62 | |
Symbol 16 Button | Uses:10 12 13 14 15 | Used by:Timeline |
Symbol 17 Font | Used by:18 33 37 38 39 40 42 45 47 48 49 50 51 52 53 55 57 58 63 66 67 68 69 71 73 75 77 79 81 83 85 87 | |
Symbol 18 Text | Uses:17 | Used by:Timeline |
Symbol 19 Text | Uses:11 | Used by:Timeline |
Symbol 20 Text | Uses:11 | Used by:Timeline |
Symbol 21 Sound | Used by:Timeline | |
Symbol 22 Text | Uses:11 | Used by:Timeline |
Symbol 23 Text | Uses:11 | Used by:25 27 |
Symbol 24 Text | Uses:11 | Used by:25 27 |
Symbol 25 Button | Uses:10 23 13 24 15 | Used by:Timeline |
Symbol 26 Text | Uses:11 | Used by:Timeline |
Symbol 27 Button | Uses:10 23 13 24 15 | Used by:Timeline |
Symbol 28 Font | Used by:29 | |
Symbol 29 Text | Uses:11 28 | Used by:Timeline |
Symbol 30 Text | Uses:11 | Used by:32 62 |
Symbol 31 Text | Uses:11 | Used by:32 62 |
Symbol 32 Button | Uses:10 30 13 31 15 | Used by:Timeline |
Symbol 33 Text | Uses:17 | Used by:Timeline |
Symbol 34 Text | Uses:11 | Used by:Timeline |
Symbol 35 Text | Uses:11 | Used by:Timeline |
Symbol 36 Graphic | Used by:Timeline | |
Symbol 37 Text | Uses:17 | Used by:Timeline |
Symbol 38 Text | Uses:17 | Used by:Timeline |
Symbol 39 Text | Uses:17 | Used by:Timeline |
Symbol 40 Text | Uses:17 | Used by:Timeline |
Symbol 41 Graphic | Used by:Timeline | |
Symbol 42 Text | Uses:17 | Used by:Timeline |
Symbol 43 Bitmap | Used by:44 | |
Symbol 44 Graphic | Uses:43 | Used by:Timeline |
Symbol 45 EditableText | Uses:17 | Used by:Timeline |
Symbol 46 Font | Used by:47 | |
Symbol 47 Text | Uses:17 46 4 | Used by:Timeline |
Symbol 48 Text | Uses:17 | Used by:Timeline |
Symbol 49 EditableText | Uses:17 | Used by:Timeline |
Symbol 50 Text | Uses:17 | Used by:Timeline |
Symbol 51 EditableText | Uses:17 | Used by:Timeline |
Symbol 52 EditableText | Uses:17 | Used by:Timeline |
Symbol 53 Text | Uses:17 | Used by:Timeline |
Symbol 54 Graphic | Used by:Timeline | |
Symbol 55 Text | Uses:17 | Used by:Timeline |
Symbol 56 Button | Uses:10 12 13 14 15 | Used by:Timeline |
Symbol 57 Text | Uses:17 | Used by:Timeline |
Symbol 58 Text | Uses:17 | Used by:Timeline |
Symbol 59 Graphic | Used by:61 | |
Symbol 60 Text | Uses:4 | Used by:61 |
Symbol 61 MovieClip | Uses:59 3 60 | Used by:Timeline |
Symbol 62 Button | Uses:10 30 13 31 15 | Used by:Timeline |
Symbol 63 Text | Uses:17 | Used by:Timeline |
Symbol 64 Graphic | Used by:65 89 | |
Symbol 65 MovieClip | Uses:64 | Used by:Timeline |
Symbol 66 Text | Uses:17 | Used by:Timeline |
Symbol 67 EditableText | Uses:17 | Used by:Timeline |
Symbol 68 Text | Uses:17 | Used by:89 |
Symbol 69 Text | Uses:17 | Used by:89 |
Symbol 70 Graphic | Used by:89 | |
Symbol 71 Text | Uses:17 | Used by:89 |
Symbol 72 Graphic | Used by:89 | |
Symbol 73 Text | Uses:17 | Used by:89 |
Symbol 74 Graphic | Used by:89 | |
Symbol 75 Text | Uses:17 | Used by:89 |
Symbol 76 Graphic | Used by:89 | |
Symbol 77 Text | Uses:17 | Used by:89 |
Symbol 78 Graphic | Used by:89 | |
Symbol 79 Text | Uses:17 | Used by:89 |
Symbol 80 Graphic | Used by:89 | |
Symbol 81 Text | Uses:17 | Used by:89 |
Symbol 82 Graphic | Used by:89 | |
Symbol 83 Text | Uses:17 | Used by:89 |
Symbol 84 Graphic | Used by:89 | |
Symbol 85 Text | Uses:17 | Used by:89 |
Symbol 86 Graphic | Used by:89 | |
Symbol 87 Text | Uses:17 | Used by:89 |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:68 64 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | Used by:Timeline |
Instance Names
"loadBar" | Symbol 6 MovieClip Frame 1 | Symbol 3 MovieClip |
"loadBar" | Symbol 61 MovieClip Frame 1 | Symbol 3 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
|