Stick Page Forums Archive

app's somewhat actionscript tut [Flash][Buttons]

Started by: Apples | Replies: 10 | Views: 2,590

Apples
2

Posts: 1,931
Joined: Dec 2005
Rep: 10

View Profile
Sep 16, 2006 2:42 PM #15463
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
2

Posts: 22
Joined: May 2006
Rep: 10

View Profile
Sep 17, 2006 11:28 AM #15504
errr good tut lol :P........typo dessups lol
Chronic
2

Posts: 52
Joined: Aug 2006
Rep: 10

View Profile
Sep 22, 2006 9:53 PM #15770
not bad, but why did you use quote tags for your actionscript? There are code tags. Still, not bad.
Deathbat.
2

Posts: 1,359
Joined: Sep 2006
Rep: 10

View Profile
Oct 4, 2006 3:39 PM #16220
good man it helped
chipmunk man
2

Posts: 74
Joined: Dec 2006
Rep: 10

View Profile
Jan 31, 2007 4:53 PM #22234
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file!
Thanks!
Apples
2

Posts: 1,931
Joined: Dec 2005
Rep: 10

View Profile
Jan 31, 2007 10:49 PM #22283
Quote from chipmunk man
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file!
Thanks!

uh, you know this tut was made in like, summer right?
chipmunk man
2

Posts: 74
Joined: Dec 2006
Rep: 10

View Profile
Feb 2, 2007 5:12 PM #22363
Quote from app2224
uh, you know this tut was made in like, summer right?

Me don't care but thanks :)
commander

Posts: 0
Joined: Aug 2025
Feb 3, 2007 8:41 AM #22390
Really good tutorial! Helped me a lot! thanks! now i now how to make a costom mouse!
2-D
2

Posts: 12,355
Joined: Sep 2006
Rep: 10

View Profile
Feb 3, 2007 8:43 AM #22391
Quote from chipmunk man
Omg thank you so much look what i made
(I kinda messed up but oh well!)
View my swf file!
Thanks!

I like the part when the clothes go behind the stick, oh what a fun dress up!
chipmunk man
2

Posts: 74
Joined: Dec 2006
Rep: 10

View Profile
Feb 3, 2007 4:02 PM #22418
Quote from 2-D
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

Posts: 22
Joined: Jul 2008
Rep: 10

View Profile
Jul 10, 2008 1:59 AM #182322
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.
Website Version: 1.0.4
© 2025 Max Games. All rights reserved.