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

Optimize your Flash.swf

This is the info page for
Flash #41013

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


Text
VEr. 2.0

321
Optimize
your
flash
Tutorial

STOP

Stop Music

PLAY MUSIC

PLAY

PLAY MUSIC

WHY?

WHY?

WHY?

MENU

MENU

Menu

Images

Click to learn how
to save space via
reducing the
quality of your
jpegs... That is
if you have any...

Images

Collection

Click to see
Newground's Tutorial
collection...
If this has helped
you.. Please submit
it there... ;)

Collection

Download

Click to be taken
to the page where
they hide them
Newgrounds.com
preloaders...

Sound

Click to learn how
to insert sounds
into your flash
works.. Included
is a way to make
flash happy with
your sounds

Chop

Click to learn about
chopping up your
sound files... Chop
them before they
chop you...

Optimize

Click to learn
about optimizing
your sound.. An
often overlooked
but very important
part of being a
star here...

info

Preloader

Click to see two
ways of inserting a
preloader into your
work... Let's face
it nobody wants to
stare at a blank
screen...

[Adding a preloader]

Two easy ways to do it....

The first is just to start your flash in the
preloader file... Just remove all frames
but the first one.....

Now you can start your
masterpiece!!!

Next

The next way is to copy the
frame the preloader is and paste it
into the first frame of your flash

A demonstration maybe?

Right click the frame where
the preloader is...

Click Copy
Frames...

Click your masterpiece..

Click then Right Click on the
frame where you want it to
go.. >THE FIRST FRAME<

Paste it...

WOW! Now you know how to insert
a preloader into a flash...
Possible Problems:
If your symbols and tweenz do not
have unique names, inserting a
preloader can make it a nightmare!
NAME YOUR SYMBOLS AND
TWEENZ BEFORE YOU INSERT
OR INSERT FIRST!

[Crunching them images]

Another a simple way to save
space... If your flash has a lot of
JPEG images in it and you are
willing to sacrifice some quality...

DEMO?

Ok... when you go to export
your work of art

This bad boy pops up

Play with this
until you find a
happy median of
size and quality

[Add them Sounds]

Very few people can pull off a silent
movie, plus everything is more fun
with sound...

Let the fun begin!!!

Adding sound is easier then you think

First you click "file"
Then you scroll down to import
Next you click import to Library
Finally you choose the song you want
YEA! But wait there's a problem.. Flash will
not allow you to import it... It must be either a
.wav or .mp3 file... Sometimes flash is not
even happy with those.. (we'll get into that in
the next part). Let's say everything went well
and the sound is in your library... Now to get it
play when and where you want it to.
DEMO>>

First pick the Key Frame where you want the
sound to begin

Then you choose which sound to use and how it
should behave.

YEA! Now you have successfully done something
or other....

Sound Importing Woes?

Sometimes Flash gets angry and will not allow you to import a
sound file... Whether it be bit rate, or that flash is just on the
rag... This can be frustrating to say the least... but have no fear.
This can be easily remedied!
Download this program..
It allowed you to edit .wav and .mp3 files..

Download Audacity

[Chop them songs up]

Let's face it, you really don't need the whole 10
minute, 8MB song for a 20 second loop..
What to do? Trim that bad boy that's what!
Download mpTrim because it works and it's
FREE
It's quite easy to do... If you can tween a shape
you can use this program...

Download mpTrim

[Optimize the Sound]

The meat and potatoes... The main
point...The reason for this tut...
This too is pretty easy to do but a lot of
people overlook this critical step when
making flash....

When you export.....

After you save as.....

This appears....

Click the red spots.. I will
explain after the exercise is
complete...

32

32

32

Wow, see how easy that was?
Now to explain... Unless you are
an audiophile, you will most
likely hear very like difference if
you set the bit rate to 32... You
click override sound setting to do
just that.. Override the sound
settings.. Mess around with it,
until you get the best mixture of
size and quality...

I was inspired to make this tut when I saw a very
short (mario of course) sprite flash come through
with a file size of 7.2MB.. That just boggled my
mind...
Flash Artists submitting to newgrounds should,
make every effort, to make file sizes as small as
possible... Yes I know that sounds pretty
hypocritical coming from me... but it's true.
Also I couldn't find a tut on "F.O." so I made this
one.... If you read this PM me the number 69..
Just want to see how many people will actually
read this...
Thanks for Watching...

ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false;
Frame 2
my_sound = new Sound(); my_sound.attachSound("mix1"); play(); stop();
Symbol 16 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._yscale = PercentLoaded; } else { gotoAndPlay ("LOADED"); }
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 MovieClip Frame 75
_root.play();
Symbol 26 MovieClip Frame 35
stop();
Symbol 28 Button
on (release) { _root.my_sound.stop(); _root.gotoAndStop("play"); }
Symbol 32 MovieClip Frame 30
stop();
Symbol 36 Button
on (release) { _root.my_sound.start(0, 1000); _root.gotoAndStop("stop"); }
Symbol 41 Button
on (release) { gotoAndStop (9); }
Symbol 47 Button
on (release) { gotoAndStop (3); }
Symbol 59 Button
on (release) { gotoAndStop (5); }
Symbol 66 Button
on (release) { getURL ("http://www.newgrounds.com/collection/flashtutorials", "_blank"); }
Symbol 71 MovieClip Frame 43
stop();
Symbol 74 Button
on (release) { getURL ("http://www.newgrounds.com/downloads/preloaders/", "_blank"); }
Symbol 77 Button
on (release) { gotoAndStop (6); }
Symbol 80 Button
on (release) { gotoAndStop (7); }
Symbol 83 Button
on (release) { gotoAndStop (8); }
Symbol 87 Button
on (release) { gotoAndStop (4); }
Symbol 92 Button
on (release) { _root.my_sound.stop(); _root.gotoAndStop("play"); }
Symbol 96 Button
on (rollOver) { stopAllSounds(); } on (release) { _root.my_sound.start(0, 1000); _root.gotoAndStop("stop"); }
Symbol 106 Button
on (release) { gotoAndPlay (161); }
Symbol 108 Button
on (release) { gotoAndStop (216); }
Symbol 115 Button
on (release) { gotoAndPlay (27); }
Symbol 120 Button
on (release) { gotoAndPlay (75); }
Symbol 122 Button
on (release) { gotoAndPlay (119); }
Symbol 126 Button
on (release) { gotoAndPlay (154); }
Symbol 130 Button
on (release) { gotoAndStop (213); }
Symbol 133 MovieClip Frame 26
stop();
Symbol 133 MovieClip Frame 74
stop();
Symbol 133 MovieClip Frame 118
stop();
Symbol 133 MovieClip Frame 153
stop();
Symbol 133 MovieClip Frame 212
stop();
Symbol 134 MovieClip Frame 160
stop();
Symbol 134 MovieClip Frame 215
stop();
Symbol 138 Button
on (release) { gotoAndPlay (101); }
Symbol 149 MovieClip Frame 100
stop();
Symbol 149 MovieClip Frame 241
stop();
Symbol 153 Button
on (release) { gotoAndStop (201); }
Symbol 156 Button
on (release) { gotoAndStop (202); }
Symbol 172 Button
on (release) { gotoAndStop (242); }
Symbol 177 Button
on (release) { getURL ("http://audacity.sourceforge.net/", "_blank"); }
Symbol 178 MovieClip Frame 241
stop();
Symbol 179 MovieClip Frame 200
stop();
Symbol 184 Button
on (release) { getURL ("http://www.mptrim.com/", "_blank"); }
Symbol 187 Button
on (release) { gotoAndStop (16); }
Symbol 191 Button
on (release) { gotoAndStop (102); }
Symbol 195 Button
on (release) { gotoAndStop (103); }
Symbol 201 Button
on (release) { gotoAndStop (104); }
Symbol 204 Button
on (release) { gotoAndStop (105); }
Symbol 206 Button
on (release) { gotoAndStop (106); }
Symbol 210 Button
on (release) { gotoAndStop (107); }
Symbol 214 Button
on (release) { gotoAndStop (108); }
Symbol 218 MovieClip Frame 101
stop();
Symbol 219 MovieClip Frame 15
stop();

Library Items

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

Instance Names

"bar"Symbol 16 MovieClip Frame 1Symbol 7 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$9/$mJ7CjMxeLTkYxG1ryK.WY0."
ExportAssets (56)Timeline Frame 1Symbol 1 as "mix1"

Labels

"LOADED"Symbol 16 MovieClip Frame 5




http://swfchan.com/9/41013/info.shtml
Created: 10/5 -2019 15:11:00 Last modified: 10/5 -2019 15:11:00 Server time: 22/12 -2024 20:11:29