Shop More Submit  Join Login
×




Details

Submitted on
May 29, 2007
Image Size
212 KB
Resolution
800×600
Link
Thumb
Embed

Stats

Views
38,841 (5 today)
Favourites
684 (who?)
Comments
230
Downloads
758
×
----------------- EDIT -----------------

Thanks for all the fav's and comments, they make me really happy :D

But I'm sorry to say that I will not be replying to comments about the ActionScript any more, I just don't have the time...

If you have any questions, I suggest searching the internet. There are lot's of good forums out there :)

----------------- EDIT -----------------

When I made a dress-up game I wanted some specific things, like clothes that could change color and clothing that snapped in the right place. So I looked for a tutorial. I looked all over the Internet but I couldn't fined one. So I decided to just fight whit actionscript head on. After a lot of blood sweat and tears (mostly from me and not from actionscript :() I finished my dress-up game and was very happy.

When some people asked me how I had made this I decided to write a tutorial (just because I am just THAT kind of a nice person and not at all because I could use it to score points at my school) It took me a really long time to finish this tutorial but it's finally done!

This is the first time I've made an tutorial or even tried to explain actionscript and I 'm not an actionscript expert, so if my explanations are unclear or wrong please tell me, so I can improve them. Also English is not my first language so please tell me if I made spelling mistakes so I can change that.

I've used Flash MX 2004, in case you were wondering.

Pleas tell me what you think of this tutorial and if it was of any use. And if you make a dress up game please send me the link :).

--- Edit ---

Here is the code I used, so you can copy and paste it :)

stop();
this.onPress = function() {
startDrag(this);
};
this.onRelease = function() {
stopDrag();
if (_root.eyes, hitTest(_root.Pop)) {
setProperty(this, _x, 445.8);
setProperty(this, _y, 203.7);
} else {
setProperty(this, _x, 543.2);
setProperty(this, _y, 127.9);
}
};

and for the buttons:

on (press) {
_root.skate_pants.gotoAndStop(3);
_root.baggy_pants.gotoAndStop(2);
_root.skirt.gotoAndStop(1);
_root.punk_pants.gotoAndStop(6);
_root.short_pants.gotoAndStop(7);
}
Add a Comment:
 
:iconhatersgonnahate9123:
hatersgonnahate9123 Featured By Owner May 11, 2013  Student Artist
~tdprincess 6 days ago You are now cursed. You must send this on or you will be killed. Tonight at 12:00am, by Bloody Mary. This is no joke. So don't think you can quickly get out of it and delete it now because Bloody Mary will come to you if you do not send this on. She will slit your throat and your wrists and pull your eyeballs out with a fork. And then hang your dead corpse in your bedroom cupboard or put you under your bed. What's your parents going to do when they find you dead? Won't be funny then, will it? Don't think this is a fake and it's all put on to scare you because your wrong, so very wrong. Want to hear of some of the sad, sad people who lost their lives or have been seriously hurt by this email?

CASE ONE -
Annalise [Surname Removed] :She got this email. Rubbish she thought. She deleted it. And now, Annalise dead.

CASE TWO -
Louise [Surname Removed]: She sent this to only 4 people and when she woke up in the morning her wrists had deep lacerations on each. Luckily there was no pain felt, though she is scarred for life.

CASE THREE -
Thomas [Surname Removed]: He sent this to 5 people. Big mistake. The night Thomas was lying in his bed watching T.V. The clock shows '12:01am'. The T.V misteriously flickered off and Thomas's bedroom lamp flashed on and off several times. It went pitch black, Thomas looked to the left of him and there she was, Bloody Mary standing in white rags. Blood everywhere with a knife in her hand then disappeared. The biggest fright of Thomas's life.

Warning... NEVER look in a mirror and repeat -'Bloody Mary.Bloody Mary.' Bloody Mary... I KILLED YOUR SON' Is it the end for you tonight! YOU ARE NOW CURSED

We strongly advise you to send this email on. It is seriously NO JOKE. We don't want to see another life wasted. ITS YOUR CHOICE... WANNA DIE TONIGHT? If you send this email to...

NO PEOPLE - You're going to die.

1-5 PEOPLE - You're going to either get hurt or get the biggest fright of your life.

5-15 PEOPLE - You will bring your family bad luck and someone close to you will die.

15 -25 OR MORE PEOPLE - You are safe from Bloody Mary
Reply
:iconmareteyaokami64:
Mareteyaokami64 Featured By Owner Nov 10, 2013  Hobbyist General Artist
quit spammers
Reply
:iconalltogethernow28:
alltogethernow28 Featured By Owner May 22, 2014  Hobbyist General Artist
Yup, lol, it would be a lot more convincing with proper grammar. "Your?" Really? Even spammers can do better than that.
Reply
:iconnightpawofdarkness:
NightpawOFDarkness Featured By Owner Apr 1, 2013  Hobbyist Digital Artist
:o :o :o :o Thank you soooo much! You helped me alot! All i needed was just a few lines of codes, and i spent hours trying to find out how to make a dress up with buttons.
Reply
:iconlumaga:
Lumaga Featured By Owner Mar 22, 2013  Hobbyist Digital Artist
Nice tutorial, I learned a few very useful things from it, thank you very much!
Reply
:iconshittystainshit:
shittystainshit Featured By Owner Jan 21, 2013
ty so much 6 this tutortila and i would like 3 assy thank u for credit to u frerss dress gameup thaank
Reply
:iconrebehm:
Rebehm Featured By Owner Dec 9, 2012  Hobbyist General Artist
I just want to tell you that your generous gift is still helping people get started with Actionscript. :) Thank you very much for making this tutorial. :)
Reply
:icondonndo:
donndo Featured By Owner Aug 31, 2012
plz man would you help me out, I'm Aweful In creating flash games with macromedia flash 4
Reply
:iconthat-s-just-how-i-am:
I'm have major issues with the color change buttons.
I've tried 3 different button codes:

on (release) {
_root.hair.gotoAndStop(FRAME#HERE);
}

gotoAndStop()

and the one in this Tut.
I'm using Adobe Flash CS5.5 AS2, if that helps.
It's a white shirt and then a red shirt on the next keyframe.
The 2 shirts are both instance-named "dress" and the button is "red_dress_button"
Please help!
Reply
:iconjiejen237:
jiejen237 Featured By Owner Feb 9, 2012
Thank you for making this easy to understand tutorial!
Reply
Add a Comment: