Shop Mobile More Submit  Join Login
MAKE SURE TO READ ARTIST COMMENTS. VERY IMPORTANT. lol.. I think

Made for beginners, but always good to have a pro review it.

All AS in it is AS2.

Made with Flash CS3 pro, but i have used previous versions of flash (MX 2004, 9/pro 8, CS5, CS4 and CS2) and there are very little changes in the programs considering what is in this tutorial.


Preloader Newgrounds

If the button to something doesn't seem to work, click it again and harder. I've tested it all and it all works. Just gotta click it properly :shrug:

Includes:

Section 1: The stage
> Timeline
> Library
> Properties
> Actions

Section 2: Tools
> Tool box

Section 3: Interactions and control
> Buttons
> Drag and Drop (dress up games)

Section 4: Animation
> Frame by Frame basic animation
> Tweening

Section 5: Sound
> Importing and using sound in flash

Section 6: Extra's
> Basic common actionscripts
> Instance names
> Making a cursor/mouse
> Converting symbols
> Gradients and colour
> Scrollable text

Please suggest anything and I'll see if I know :)


My first flash tut was crap. This is much better because I have developed from layouts with no point and vibrant coloured BG's to simple easy to read designs since my last tutorial.

I made this mainly because when I started flash it took me about 2 years to learn all the basics and it was extremely difficult and frustrating not being able to find a good easy to understand tutorial.

I have made this the most explanatory as I could personally, but if you have any questions at all, please do not hesitate to ask.

I'm also not looking for criticism, but I am only hoping that this will help out as many newbies as possible and not have them go through what I had to

All images, graphics, flash etc Ai-ki-san 2009

Good luck! ;)
Add a Comment:
 
:iconysa27:
ysa27 Featured By Owner Mar 29, 2015  Hobbyist Filmographer
Ello! How do I make the sound stop though? xD
Reply
:iconoddhatt:
Oddhatt Featured By Owner May 23, 2015  Hobbyist Digital Artist
 
  ;create a button
  ;insert this code in the actions panel

on(press) {
stopAllSounds()
}


if you want a shortcut, you can just press f9 on your keyboard to open the actions panel
  
Reply
:iconysa27:
ysa27 Featured By Owner May 24, 2015  Hobbyist Filmographer
oh! alright :D thank you :3
Reply
:iconoddhatt:
Oddhatt Featured By Owner May 24, 2015  Hobbyist Digital Artist
no problem !! :)
Reply
:iconkirathewolf32:
Kirathewolf32 Featured By Owner 5 days ago  Student General Artist
Sorry for interrupting this chat but XD 

Is there any free adobe flash? 


I need to animate but it has to be free :C 

or i cant get it :C

onion sad 
Reply
:iconoddhatt:
Oddhatt Featured By Owner 5 days ago  Hobbyist Digital Artist
no, there's no free adobe flash, however there is a free trial ^u^
please tell me what type of flash professional trial you want owo

most used:
Flash Professional CS3 - Mac Download Windows Download


Flash Professional CS4 - Mac Download Windows Download


wanna know where these came from? you can find the versions here:
Reply
:iconkirathewolf32:
Kirathewolf32 Featured By Owner 5 days ago  Student General Artist
Thanks! ^u^! Hug 
Reply
:iconoddhatt:
Oddhatt Featured By Owner 5 days ago  Hobbyist Digital Artist
heee glad to help Huggle! 
Reply
(2 Replies)
:iconmangakido:
Mangakido Featured By Owner Feb 18, 2015  Hobbyist Digital Artist
How do I drag and drop and have what I dropped deleted? What is the actionscript2 for that?

I wish to have a scene where you can feed a pet like a cupcake an have the pet animated as if eating it. So I need the cupcake to disappear.

Thanks in advance.
Reply
:iconoddhatt:
Oddhatt Featured By Owner Edited 5 days ago  Hobbyist Digital Artist
you could always just use the drag-and-drop code, and modify it abit, so when your cursor releases the cupcake, it goes to the frame of the animation :heart:

on (press) {
startDrag("");
}
on (release) {_root.gotoAndPlay("frame");}


replace 'frame' with your frame's instance name. if you dont know the basics, such as the instance name, refer to the tutorial ^^^^
Reply
:iconmangakido:
Mangakido Featured By Owner 5 days ago  Hobbyist Digital Artist
Thanks for the help, although I am done with this by now. (An I do know to replace the frames and scenes with my own names. :) )

As of now, I am wanting the code to generate random scenes.

=========================
on(release)
var randomNumber = Math.floor(Math.random()*3)
if (randomNumber==0){
gotoAndPlay("talk1");
}
if(randomNumber == 1){
gotoAndPlay("talk2");
}
if(randomNumber == 2){
gotoAndPlay("talk3");
}
}

=========================


I got this from a tutorial here but it's not doing what I hoped it would do.  I've made a button so far and pasted this code but the button only plays scene 1 and not randomly all 3.

If you could help me with this, you would make my day. :D
Reply
:iconoddhatt:
Oddhatt Featured By Owner Edited 5 days ago  Hobbyist Digital Artist
you could do it like a random name generator.
say, the names we have are:

Casey E
Ariel F
Jamie F
Brendan H
Deanna P
Bryan M
Sunil K
Justin R
Jessy R
Kasey S
Dan T
Joe V

code:
var nameArr:Array = new Array("Casey E", "Ariel F", "Jamie F", "Brendan H", "Deanna P", "Bryan M", "Sunil K", "Justin R", "Jessy R", "Kasey S", "Dan T", "Joe V"); var randNum:Number = (Math.random()*nameArr.length) >> 0; var randName:String = nameArr[randNum];


so you could just exchange the names with your talks. But if you want it to switch frames, could i ask for the info on the tutorial? i'd like to see it first ^u^;
Reply
:iconmangakido:
Mangakido Featured By Owner 5 days ago  Hobbyist Digital Artist
RANDOM convo tut


That's the tutorial. An no, nothing says I am doing anything wrong. I only get errors when I attempt to edit the code.

An no, I understand. I'm willing to wait if I'm getting help. ^_^ 

Also, I am using a rather old flash program, Flash Mx 2004. If that helps any.

(I don't want the Hp or dating sim part though)
Reply
:iconoddhatt:
Oddhatt Featured By Owner 5 days ago  Hobbyist Digital Artist
there's one error when i tried to compile an example of it,

on(release){
var randomNumber = Math.floor(Math.random()*3)
if (randomNumber==0){
gotoAndPlay("talk1");
}
if(randomNumber == 1){
gotoAndPlay("talk2");
}
if(randomNumber == 2){
gotoAndPlay("talk3");
}
}

you had been missing a '{' on line 1. After fixing that one error, it seemed to work smoothly for me. But I believe that's because your using an outdated Flash program, I used Flash professional 8, I think you should switch to it, in order for the code to work.
otherwise, you could try the code above. Hope this helped ~:heart: :cuddle:
Reply
:iconmangakido:
Mangakido Featured By Owner 5 days ago  Hobbyist Digital Artist
I copied and pasted your code. My flash accepts it with no errors but it will only play "talk 1". I never see "talk2" or "talk3". :(

Thanks for your help btw. I though the tutorial I linked you was the same version as mine but I guess I as wrong.

Thanks again, you're a sweet heart. :nod:
Reply
:iconoddhatt:
Oddhatt Featured By Owner 4 days ago  Hobbyist Digital Artist
no problem, i hope it works for you soon :heart: :hug:
Reply
(1 Reply)
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 17, 2014
still find this tutorial helpful. so glad you made this!!
Reply
:iconnekokittens:
nekokittens Featured By Owner Sep 29, 2014  Hobbyist Writer
Hi! I was wondering if you know to make the player of a flash game able to insert their name?
I've been trying to figure it out and if you could tell me that would help
alot, thanks :3
Reply
:iconoddhatt:
Oddhatt Featured By Owner Feb 20, 2015  Hobbyist Digital Artist
To do that you will need to use variables. 
(1). Insert A TextBox
(2). Open the properties panel below 
(3). Above the 'Instance Name', change the setting to an 'Input Text'
(4). After, go right below that setting, there should be something that says, 'Instance name'
(5). Insert 'playername' in the 'Instance name' box.
(6). And there will be another box on the right, saying, 'var' place name in that box.
(7). Next, make another text box, instead this time, it will be a 'Dynamic Text'
(8). Place in the same 'Instance Name' and the same 'var' which will be 
     Instance Name - playername
     var - name
(9). Test it out by pressing ctrl and enter button by typing something in the Input text box. Later on you should see the Text you put in the text.

If you don't understand, I'll be glad to help you :)
Reply
:iconnekokittens:
nekokittens Featured By Owner Mar 22, 2015  Hobbyist Writer
Thank you so much!
This helps a lot! ^v^
Reply
:iconoddhatt:
Oddhatt Featured By Owner Mar 23, 2015  Hobbyist Digital Artist
glad to help :)
Reply
:iconinsane-otaku181:
Insane-otaku181 Featured By Owner Jul 18, 2014  Student Digital Artist
I can't copy the code for the next/previous buttons….
Reply
:iconoddhatt:
Oddhatt Featured By Owner Mar 23, 2015  Hobbyist Digital Artist
for the next button
on (release) {nextFrame();}

for the previous buttons
on (release) {prevFrame();}
Reply
:iconinsane-otaku181:
Insane-otaku181 Featured By Owner May 20, 2015  Student Digital Artist
"Expecting semicolon before left brace" 
Reply
:iconoddhatt:
Oddhatt Featured By Owner Edited May 20, 2015  Hobbyist Digital Artist
what type of flash are you using, this code is solely for AS2, even if it may seem similar to other actionscripts.

I possibly made a mistake, here are the codes once again.

for the next button
on(release) {nextFrame();}


for the previous buttons
on(release) {prevFrame();}


remember.. this only works for buttons.
Reply
:iconinsane-otaku181:
Insane-otaku181 Featured By Owner May 24, 2015  Student Digital Artist
I'm sorry, I'm using AS3
Reply
:iconoddhatt:
Oddhatt Featured By Owner May 24, 2015  Hobbyist Digital Artist
thats alright! here's the code for AS3

for the previous button

stop(); button1.onRelease = function() { this._parent.prevFrame(); };  

for the next button

stop(); button2.onRelease = function() { this._parent.nextFrame(); }; 

please note that 'button1' and 'button2' are the instance name of the buttons.

im also new to AS3, i hope this helps either way.
Reply
:iconjellyjr:
JellyJr Featured By Owner Jul 17, 2014
;-; thank you for making this tutorial.i now at least know the basics:shuffelin:.but,how do you put link on flash? thank you Thanks for everything! 
Reply
:iconoddhatt:
Oddhatt Featured By Owner Edited Mar 23, 2015  Hobbyist Digital Artist
you'd have to put this code on a button:
on(release){
   getUrl("[insertlinkhere].com/");
}
Reply
:iconzaiiya:
Zaiiya Featured By Owner Jun 16, 2014  Hobbyist Digital Artist
I keep getting this error when I attempt the drag and drop. The instructions are easy to follow and I'm certain I am doing them right. I have no idea what's wrong. Anyone know?
on handlers may not nest within other on handlers
Reply
:iconchi-u:
chi-u Featured By Owner Jun 17, 2014  Hobbyist Digital Artist
I'm sorry I'm not quite sure of that error. Perhaps try googling the error?
Reply
:iconzaiiya:
Zaiiya Featured By Owner Jun 16, 2014  Hobbyist Digital Artist
IGNORE FIGURED IT OUT
Reply
:iconaryiea:
Aryiea Featured By Owner May 25, 2014
I may have just missed it because I am a total noob to flash, but how would I make little hoverable tooltips like you have for your "assist" thing? I basically want to make one single image with a whole bunch of different areas that, when hovered over, a different tooltip will pop up.
Reply
:iconchi-u:
chi-u Featured By Owner May 25, 2014  Hobbyist Digital Artist
See play buttons under section 3. It's basically a play button with no actionscript on it. The "over" frame inside the play button contains the little cloud of information that pops up when you hover over it.
Reply
:iconaryiea:
Aryiea Featured By Owner May 25, 2014
Thank you!
Reply
:iconmuffineevee:
muffineevee Featured By Owner May 5, 2014  Hobbyist Digital Artist
Thanks! This really Helped! :iconthankyouplz:
Reply
:iconfiqachu:
fiqachu Featured By Owner Mar 23, 2014
do you know any free link to download flash?
Reply
:iconrippedmoon:
RippedMoon Featured By Owner Apr 18, 2014  Hobbyist Digital Artist
You can download the free trial on adobe's website
Reply
:icondemonwolf-faerie:
demonwolf-faerie Featured By Owner Dec 19, 2013  Hobbyist Digital Artist
where/how do I get flash/as2 and all that?
Reply
:iconoddhatt:
Oddhatt Featured By Owner Mar 23, 2015  Hobbyist Digital Artist
on adobe's website, here's the link
www.adobe.com/support/flash/do…
Reply
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 19, 2013

what file type should I open it as if I want to make buttons.

it says something about not being able to apply action script to object on stage or something like that

Reply
:iconchi-u:
chi-u Featured By Owner Oct 20, 2013  Hobbyist Digital Artist
It should be an .flv which is a flash working file.
Reply
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 22, 2013

could you make a youtube video? or is that asking too much?

I followed the instructions you had in your tutorial and still got stuck

Reply
:iconchi-u:
chi-u Featured By Owner Oct 23, 2013  Hobbyist Digital Artist
Sorry I don't really have the time. I don't understand your problem however. Maybe I can help more if you elaborate further. 
Reply
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 23, 2013

okay. Can I ask you to watch a video and do a comparison?

the video is only like 2 or 3 minutes

Reply
:iconchi-u:
chi-u Featured By Owner Oct 23, 2013  Hobbyist Digital Artist
Sure
Reply
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 23, 2013

www.youtube.com/watch?v=wi--b8…

 

tht is the video I would like you to watch. now when the person clicks on the button itself on the stage I am not able to execute the same move.

I get that message about not being able to apply script to an object on stage stuff.

THank you for helping!!

Reply
:iconchi-u:
chi-u Featured By Owner Oct 23, 2013  Hobbyist Digital Artist
Could you please send me the exact wording of the error you are getting? I can try to find a solution. Or you could google it too.
Reply
(1 Reply)
:iconsafesolemn442:
SafeSolemn442 Featured By Owner Oct 20, 2013
can I change that under edit or something in Flash?
Reply
Add a Comment:
 
×
Download SWF download, 9.0 MB




Details

Submitted on
July 14, 2009
Image Size
9.0 MB
Resolution
700×700
Link
Thumb
Embed

Stats

Views
30,874 (4 today)
Favourites
1,439 (who?)
Comments
664
Downloads
1,593 (1 today)
×