PDA

View Full Version : app's somewhat actionscript tut


Apples
09-16-2006, 08:42 AM
well, I figure, as so many people such as people who just start flash, dont really know much about actionscript.

the intro:

most people just starting flash 8 dont know what actionscript is. well, its mainly a type of code (kind of a language) that alows you to make so many things acually work. like scene selections, they require a simple on release action script. but some things, such as games, require more complex and long action script. well, Ill teach you some action script.


so lets see, most of the games and animations on newgrounds or flashportal, have a custom cursor, well heres what you do:

1. make a layer above all other layers in your game/movie.

2.draw your mouse

3.convert it into a movieclip by going over your mouse and press f8

4.now click your movie clip, and open up the proporties.

5. now go to actions.

6. put in the following script:
onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}

7. but make sure the plus sign pf the movie clip is on your tip of the mouse.

dessups, ok, there are lots of dress ups out there, now, I will show you how to make one.

1. draw your character.

2. draw whatever you want to put on him/her.

3. now ad this script to your clothes:
on(press){
startDrag("");
}
on(release){
stopDrag();
}

buttons, ok, god only knows how many people who know how to make these work, im just ganna teach you it? k?

1. first, draw a button.

2. convert into a button

3. double click it and do what you want with the over, on, and hit things.

4. when your done, ad this script:
on (release){

5. and add what ever else you want to it, like a play action script.

eh? im getting bored, wait for the next tut, k?

bam-s13
09-17-2006, 05:28 AM
errr good tut lol :P........typo dessups lol

Chronic
09-22-2006, 03:53 PM
not bad, but why did you use quote tags for your actionscript? There are code tags. Still, not bad.

Deathbat.
10-04-2006, 09:39 AM
good man it helped

chipmunk man
01-31-2007, 09:53 AM
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file! (http://www.swfup.com/swf-view.php?id=5204)
Thanks!

Apples
01-31-2007, 03:49 PM
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file! (http://www.swfup.com/swf-view.php?id=5204)
Thanks!
uh, you know this tut was made in like, summer right?

chipmunk man
02-02-2007, 10:12 AM
uh, you know this tut was made in like, summer right?
Me don't care but thanks :)

commander
02-03-2007, 01:41 AM
Really good tutorial! Helped me a lot! thanks! now i now how to make a costom mouse!

2-D
02-03-2007, 01:43 AM
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file! (http://www.swfup.com/swf-view.php?id=5204)
Thanks!
I like the part when the clothes go behind the stick, oh what a fun dress up!

chipmunk man
02-03-2007, 09:02 AM
I like the part when the clothes go behind the stick, oh what a fun dress up!


I know i don't try :)

poo on a stick
07-09-2008, 07:59 PM
I've been looking for this code and I found one before that had like 28 columns of coding, this is alot simpler, I'll try it out later to see if it works for me.