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

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

U.P.F.T..swf

This is the info page for
Flash #71203

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


Text
Play

Ultra-Packed Flash Tutorial
by, Crazymonkey154

Hello, welcome to this tutorial. In this, you'll learn about symbols,
actionscript, preloaders, sound, buttons, tweening, quality options
and frame-by-frame animation. These are all things you'll need to
know how to do in Flash. Click "Next" to continue. BUT, before
you do, I want you to open a new document in Flash (if you have
it) so you can try out the things taught in this tutorial.

NEXT

H

M

L

Quality

I'm going to start with something simple, Symbols. Symbols
are items that are stored in a "Library". Libraries are Flash's
storage thingies. Libraries are a whole different story, though.
There are 3 types of symbols in Flash: Movie Clip, Button and
Graphic. To make a symbol, make a little thingy, highlight it,
ALL of it, and press F8 to convert it to a symbol. Flash will
ask you whether you want it to be a Movie Clip, Button or
Graphic. Select one of the types, give the symbol a
(reasonable) name, and press "OK" (or enter on your
keyboard) Later on, you will learn about Buttons. Let's stick to
Movie Clips and Graphics for now.

BACK

1. SYMBOLS

Movie Clip: This symbol, like buttons, can have actionscript
for it. You'll learn about actionscript and buttons later. Movie
Clips can be draggable, moved with arrow keys, etc.
Graphic: This is the only symbol that CAN'T have actionscript
for it. However, an advantage with Graphics is that you can
control which frame(s) they play. That is, if your Graphic has a
bit of animation in it.

When you convert something to a symbol (except for a
Button), you may make it (kind of) like a sprite. Real sprites
are a whole different story, though. Go to a DIFFERENT Flash
tutorial if you'd like to know about sprites. Do some animation
in the symbol, then confirm the changes you've made. When
you test your flash, your symbol will loop over and over again.
Well, at least it will if the symbol is a Movie Clip.

2. ACTIONSCRIPT

Actionscript is (kind of) like a code for Flash. It's difficult, but
necessary to have if you want Flash to work right if you've got
buttons or something like that. Actionscript is the code used to
tell Flash what to do when certain things happen. For instance,
what brought you to this section was its actionscript!!! Its
actions were to go to the first frame of Scene 3, which you're
(currently) on. You can give actions to a frame, Movie Clip or
Button.

To give something actionscript, press F9. This will open up the
Actions panel. You'll notice a little light-blue cross sign. This is
where to locate actions for selecting. Look in a file, highlight
an action, click it to choose it. And, it's there. To confirm the
actions, press the blue checkmark. If there are NO errors, it
will say 'This script contains no errors.' Click OK to close it. If
there are any errors, they are shown in a separate panel. If you
need assistance aside from this tutorial, click on Script Assist.
You can only use the assist if there are NO errors. If there are
errors, delete them before clicking on Script Assist again.

Once you get the hang of actionscript, it can be quite simple.
You just have to give the correct actions for things. When
something has actions, the text appears blue or, occasionally,
green. This section of this tutorial should have taught you
everything you need to know about actionscripting things.
And, if actionscript takes you a while to get the hang of,
DON'T feel ashamed!!! It took me a while to first get the hang
of it, and, I DON'T feel ashamed.

______

Buttons are a type of symbols mentioned in the "Symbols"
section. The reason why it has a whole section of its own is
because buttons are, if you ask me, more complex than Movie
Clips and Graphics. Once converted, buttons have 4 frames.
They are (in order) "Up", "Over", "Down" and "Hit". Take a
look at the button below (the line is there because the text can
be anything.
Here's an example of a button in frame "Up":

3. BUTTONS

When you pressed "Next" on the previous page, that was a
button!!! Now,  "Up" is when the mouse is NOT over the
button. "Over" is when the mouse is over the button, but the
button has NOT (yet) been pressed.
Here's an example of a button in frame "Over":

After the mouse is over the button, it is pressed (duh). Unlike
"Over", "Down" is when you've pressed the button.
Here's an example of a button in frame "Down":

After the mouse has pressed the button, it goes into the final
frame, "Hit". "Hit" is when you've pressed and released the
button. It can be the same as "Down", unless the button also
has text, in "Hit", the text has to go (unless your entire button
is text.).
Here's an example of a button in frame "Hit":

Now that you know about the four button frames, try it out!!!
Make a button, and do those steps. Afterwards, click the
(small) button below. NOTHING exciting will happen, though.

4. SOUND

Sound is an important thing to have in your Flash if you're
going to submit it to Newgrounds. Otherwise, it's most likely
to get BLAMMED. Adding sound is actually quite simple. Just
go to File>Import>Import to Stage, and select sound that you
want. However, placing them right is harder. A simple way to
do it is by selecting a frame, going into Properties, and
selecting a sound. You can make sounds play once, twice,
thrice (3 times), loop over and over again, etc. Some people
give each sound its own layer, others have them all on the
same layer.

Here's an example of animation with sound (it will loop over
and over again until you go to the next page):

Remember, sound is your friend in Flash. Without it, your
Flash will NOT turn out so great. Sound may be difficult at
first, but, you'll eventually find it rather simple. Now go to the
next section.

5. QUALITY OPTIONS

Sure some computers are fairly fast, but how about slow
computers?? When a computer is slow, it is recommended to
set the quality to Low, or perhaps Medium. Take a look at the
Quality Option Buttons in the top right corner of this page.
Choose a quality (I added the sound effects for fun). If you
want quality buttons like mine, here's the actionscript you'll
need for Quality buttons:

<p align="left"><font face="Times New Roman" size="15" color="#000000" letterSpacing="0.000000" kerning="1">on (press) {_quality = &quot;high&quot;;}</font></p><p align="left"><font face="Times New Roman" size="15" color="#000000" letterSpacing="0.000000" kerning="1">on (press) {_quality = &quot;low&quot;;}</font></p><p align="left"><font face="Times New Roman" size="15" color="#000000" letterSpacing="0.000000" kerning="1">on (press) {_quality = &quot;medium&quot;;}</font></p>

Once you're done, you should be left with the following (Try
the options BELOW out!!):

Medium Quality

Low Quality

High Quality

You should be good on making quality options by now. I hope
this section helped. Now go eat some cookies with a glass of
milk, but (please) save some for me.

Tweening is a type of animation. There are 2 types of
tweening; Motion Tween and Shape Tween. Here is how to use
each type of tween;
Motion: Select what you would like to tween, convert it to a symbol, and
put it on its own layer. Insert a keyframe 10 or so frames after the current
frame, put it in a different area, and you're done.
Shape: Make a shape, such as a circle, do NOT convert it to a symbol.
Insert a keyframe 10 or so frames after the current frame, make a different
shape, like a rectangle, and you're done.

6. TWEENING

Here's an example of Motion Tween (it will loop over and over
until you click "next".):

Here's an example of Shape Tween (it will loop over and over
until you click "next".):

To select either type of tween, go into Properties, and select the
tween you want. This is all I have to say on Tweening. Now,
go drink a glass of water.

Frame-by-frame is another type of animation. It is more
difficult than tweening. To animate frame-by-frame, make
keyframe after keyframe, adjusting slightly each frame. If
you're going to animate frame-by-frame, I'd recommend using
a tool called "Onion Skin". Onion Skin is the button below the
timeline bar and between a red thingy and 2 white squares. In
frame-by-frame animation, Onion Skin really helps, I mean it.

7. FRAME-BY-FRAME ANIMATION

Here's an example of Frame-by-frame animation (it will loop
over and over until you click "next".). I know it's choppy, but
it's only a demonstration.:

So, I think that's all you need to know about frame-by-frame
animation. You can decide on whether you like this or
tweening, though. I DON'T care, or necessarily recommend
one or the other.

Preloaders are what load your movie/game. I saved this topic
for last because it requires doing some things mentioned in
some other topics. If you have NOT read about Actionscript,
Buttons or Tweening, go back NOW and look at each of them,
you'll need to know about each of those for this.

8. PRELOADERS

Let's start by making a rectangle with a black outline, but a
DIFFERENT inner color. Mine is blue, but you can use any
color you wish, but preferably NOT white (If White's your
background color.).

Next, convert the rectangle to a Movie Clip, and call it
"Loadbar". Double-click it to go into edit mode. Call the 1st
layer "Fill". Create another layer and call it "Lines". Put the
outline of the rectangle on the "lines" layer. Insert a keyframe
at frame 100 for the "Fill" layer. Leave the bar full at 100.
Simply insert a frame at frame 100 for the "Lines" layer. At the
1st frame in the "Fill" layer, shrink the fill part, like this:

Now, in frame 1 of the "Fill" layer, select Shape Tween. Insert
a keyframe at frame 101 for both layers. Then, insert a 3rd
layer and call it "Actionscript". Insert a keyframe at frame 101
for the "Actionscript" Layer as well. In it go to actions and go
to Global Functions>Timeline Control>Stop. In frame 101 of
the "Lines" layer, delete the lines. Also delete the bar in the
"Fill" layer. Do NOT worry, we are going to make a "Play"
button.

In the "Fill" layer, make a "Play" button, and put this in its
actions:

<p align="left"><font face="Times New Roman" size="20" color="#000000" letterSpacing="0.000000" kerning="1">on (release) {</font></p><p align="left"><font face="Times New Roman" size="20" color="#000000" letterSpacing="0.000000" kerning="1">_root.play();</font></p><p align="left"><font face="Times New Roman" size="20" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p>

Now, put your finished Preloader in the first frame (make it a
single frame), and in its actions, go to Global
Functions>Timeline Control>Stop. The rest of the movie/game
is totally up to you to come up with. Congrats!! You've
passed!! This is the end of the tutorial. I hope you now know a
good deal of Flash. If you ever forget how to do something,
feel free to come back to this tutorial at anytime. Now go play
some video games.

Replay

ActionScript [AS1/AS2]

Frame 1
stop(); stopAllSounds();
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Frame 15
stop();
Frame 16
stop();
Frame 17
stop();
Frame 18
stop();
Frame 19
stop();
Frame 20
stop();
Frame 21
stop();
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 25
stop();
Frame 26
stop();
Frame 27
stop();
Frame 28
stop();
Frame 29
stop();
Frame 30
stop();
Frame 31
stop();
Frame 32
stop();
Symbol 12 Button
on (release) { _root.play(); }
Symbol 13 MovieClip Frame 101
stop();
Symbol 20 Button
on (release) { nextFrame(); }
Symbol 23 Button
on (press) { _quality = "high"; }
Symbol 26 Button
on (press) { _quality = "medium"; }
Symbol 29 Button
on (press) { _quality = "low"; }
Symbol 34 Button
on (release) { prevFrame(); }
Symbol 80 Button
on (press) { _quality = "medium"; }
Symbol 82 Button
on (press) { _quality = "low"; }
Symbol 84 Button
on (press) { _quality = "high"; }
Symbol 133 Button
on (release) { play(); }

Library Items

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

Special Tags

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




http://swfchan.com/15/71203/info.shtml
Created: 9/4 -2019 11:43:35 Last modified: 9/4 -2019 11:43:35 Server time: 05/11 -2024 10:35:07