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

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

Preloader Tutorial..swf

This is the info page for
Flash #63613

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


Text
how to make a preloader

play

volume

ok first make a bar!

such as this!

select it and convert to it
to a symbol use F8

name it "load_bar"

you are on the main time line

prev

movie clip

l

lo

loa

load

load_

load_b

load_ba

load_bar

go inside the symbol
and convert the red
area into a symbol and
give it the instance
name "bar" w/o the
quotes

you are inside the symbol load_bar

anything

In the first frame give it
the action script here

<p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">_root.stop();</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">PercentLoaded = _root.getBytesLoaded() <sbr />/ _root.getBytesTotal() &nbsp;* 100;</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">if (PercentLoaded != 100) {</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">setProperty(bar, _xscale, <sbr />PercentLoaded);</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">} else {</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">gotoAndStop(&quot;loaded&quot;);</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">}</font></p>

in the 2nd Frame give it this
action script

<p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">gotoAndPlay(1);</font></p><p align="left"></p>

this way when it is loading the
frame will keep looping and will not
go to the play button over and over
looking reallly bad

finnally on the 3rd frame make
a button that will be ur play
button.. and delete the loader
on the 3rd frame

put this AS in the button

<p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">on(release){</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">_root.gotoAndPlay(2);</font></p><p align="left"><font face="04b11_16pt_st" size="16" color="#ffffff">}</font></p><p align="left"></p>

you are inside buttons AS

create another frame "blank
key frame" and make a
button.. then give it the
frame a frame label called
loaded

<p align="left"><font face="04b11_16pt_st" size="16" color="#ffff00">&quot;loaded&quot;</font></p>

but w/o the Qotes

l

lo

loa

load

loade

loaded

loaded

now test it

it should work
just like this
when its on a
site

*testing*  dont use F12 or Ctrl +
Enter

credits
bloo_apple

JOIN

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Symbol 16 Button
on (release) { _root.play(); }
Symbol 17 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 28 Button
on (release) { prevFrame(); }
Symbol 29 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip in Symbol 29 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 46 Button
on (release) { nextFrame(); }
Symbol 49 Button
on (release) { prevFrame(); }
Symbol 102 MovieClip Frame 41
stop();
Symbol 107 MovieClip Frame 25
stop();
Symbol 109 Button
on (release) { getURL ("http://s7.invisionfree.com/Sprite_Crew_Forums/", "_self"); }

Library Items

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

Instance Names

"bar"Symbol 17 MovieClip Frame 1Symbol 11 MovieClip
"hitRange"Symbol 29 MovieClip Frame 1Symbol 22 MovieClip

Labels

"loaded"Symbol 17 MovieClip Frame 3




http://swfchan.com/13/63613/info.shtml
Created: 13/4 -2019 15:04:11 Last modified: 13/4 -2019 15:04:11 Server time: 14/05 -2024 13:28:02