HOME | DD

kami6 β€” Dress-up Game tutorial on AS3

Published: 2011-07-14 21:13:37 +0000 UTC; Views: 12394; Favourites: 88; Downloads: 226
Redirect to original
Description This was a little bit hard to make -dies-

Ok, so this is a tutorial I made. Well, i'm not taking all of the credit! The original tutorial is from ~kyra10987 here: [link]

This tutorial teaches on how to make a drag-and-drop and skin-changing game. Please do not copy or repoduce this image. Don't use anything of this tutorial, unless to teach yourself. This tutorial is mine [~kami6 ] and ~kyra10987
Related content
Comments: 28

Pelusita-Fideos [2019-01-03 04:11:55 +0000 UTC]

Hi! thank you for the tutorial! but do you know how can I made a reset button for my dressup games?

πŸ‘: 0 ⏩: 0

Kawaii-Pandaz [2017-05-15 00:51:28 +0000 UTC]

tips from me

1. create a layer called actions so that way you can put all your coding on there. (I had figured that out later)
2. want a simple way to do it
Β  Β  - go to windows and open code snippet
Β  Β  - click on the symbol you want to drag, and drop
Β  Β  - go under actions and click drag, and drop
it should automatically create a action layer and every time you do code snippets and do it on that one actions layer hope this helps you guys.
Β  Β Β 

πŸ‘: 0 ⏩: 1

CoriscaAbobora In reply to Kawaii-Pandaz [2017-06-01 16:49:19 +0000 UTC]

Man that actually helped a lot! Thanks for that ahh

πŸ‘: 0 ⏩: 1

Kawaii-Pandaz In reply to CoriscaAbobora [2017-06-06 14:40:40 +0000 UTC]

Really thanks! ^^

πŸ‘: 0 ⏩: 0

Kasanii [2016-04-28 22:39:54 +0000 UTC]

I don't know how old this tutorial is but for anyone having trouble with the skin color buttons; The maker of the tutorial made a few slight mistakes and probably forgot to explain an important element (and if not, this might fix it);

1. On your doll layer make 1 frame with the peach skin doll and the second frame the brown skinned doll, the code says to swap to a frame when the button is clicked. But it is a bit confusing to understand at first when the only instructions for this piece are "Select the frame and paste this code in the actions panel." n_n

2. The code at peach_btn.addEventListener yadayadayada had spelling errors. So change that to this: Β Β peach_btn.addEventListener(MouseEvent.CLICK ,Β fl_ClickToGoToAndStopAtFrame_2);
(If this didn't work, just check for other spelling errors)

3. Help! It works but the skin colors start switching rapidly unless I click one of the buttons, it then works perfectly fine. Scroll all the way up to your code and write stop();
This means stopping all frame animation unless I give directions.


I hope this helps some!

πŸ‘: 0 ⏩: 0

unicorns1501 [2015-09-27 15:02:18 +0000 UTC]

This is amazing, but I can't work out how to add more than 1 item of clothing. Every time I try, nothing works! If I just use one item, however, it works perfectly! Please help, I'm new to Flash, so I don't know how it all works.

πŸ‘: 0 ⏩: 0

benikousagi [2015-08-06 16:43:11 +0000 UTC]

Cute tutorial ^u^

πŸ‘: 0 ⏩: 0

letsplaygirls [2015-04-19 21:51:47 +0000 UTC]

nice tutorial but I think the animated border makes me a little bit nervous after a while. ... only my oppinion.

πŸ‘: 0 ⏩: 0

Ladycandy2011 [2014-09-07 04:01:28 +0000 UTC]

hey hey idk if ur still on but im having a issue with the skin changing part the code isn't working

πŸ‘: 0 ⏩: 0

Eloritea [2013-11-28 01:48:40 +0000 UTC]

Everything with the drag and drop thingy works, but I can't make the color changing work.... I'm doing everything as the tutorial says, but it doesn't work.Β 

πŸ‘: 0 ⏩: 0

LucyTea03 [2013-11-16 00:30:06 +0000 UTC]

I DONT HAVE ACTOIN SCRIPT 3 WHYYYY!!!!

πŸ‘: 0 ⏩: 1

krazykat567 In reply to LucyTea03 [2014-06-15 06:24:25 +0000 UTC]

If you have ActionScript 2.0, look up "dress up tutorial" the thumbnail has a blonde girl with pigtails and a purple background. it was the most helpful thing EVER

πŸ‘: 0 ⏩: 0

Skoryx [2013-08-11 14:54:47 +0000 UTC]

Thanks a lot for the tutorial! :'D

I looked at other tutorials and found that they didn't work with Actionscript 3 until two hours later. . . Then I couldn't find a code that would copy/paste correctly.

Thanks so much!! :'D

πŸ‘: 0 ⏩: 0

amaliadaniels [2013-02-15 02:08:55 +0000 UTC]

Hey there! i came upon this and tried it earlier, but the drop function wouldn't work for me. I click it to drag, but it wont drop when I stop clicking or pressing the left mouse button. T___T I'm using CS% under AS3. Any help? THanks!

πŸ‘: 0 ⏩: 1

kami6 In reply to amaliadaniels [2013-02-17 21:31:32 +0000 UTC]

Hey! you're using this one:

shirt_mc.addEventListener(MouseEvent.MOUSE_DOWN, drag);
shirt_mc.addEventListener(MouseEvent.MOUSE_UP, drop);
function drag(event:MouseEvent):void
{
event.target.startDrag();
}
function drop(event:MouseEvent):void
{
event.target.stopDrag();
}


It will not work if its under CS3 :/ You could try with the Adobe Flash 8 that works great with this codes too c:

πŸ‘: 0 ⏩: 1

amaliadaniels In reply to kami6 [2013-02-18 00:31:41 +0000 UTC]

yeah, i figured it out a few minutes after posting a comment. XD turns out there was something missing in the codes. A look at the original solved it though, and now it's working just fine. I'm using CS5. Thanks a lot!

πŸ‘: 0 ⏩: 1

kami6 In reply to amaliadaniels [2013-02-20 00:49:33 +0000 UTC]

Im glad you had the code right c:

πŸ‘: 0 ⏩: 1

amaliadaniels In reply to kami6 [2013-02-20 15:01:32 +0000 UTC]

yes, and thank you so very much too!!!!

πŸ‘: 0 ⏩: 0

legice [2013-01-20 12:33:40 +0000 UTC]

I dont know what Im doing wrong, but I cant change the skin color, everything else works

πŸ‘: 0 ⏩: 1

kami6 In reply to legice [2013-01-27 18:54:43 +0000 UTC]

sorry for the late reply But are you sure you're putting the instance names right? Or selecting the frame and pasting the code on the actions panel of THAT frame?

πŸ‘: 0 ⏩: 1

legice In reply to kami6 [2013-01-27 20:14:48 +0000 UTC]

found my own way, but thanks anyway

πŸ‘: 0 ⏩: 0

Kittyrocker [2011-08-15 02:30:05 +0000 UTC]

this is awesome but i have a question, i was wondering if this may work for Flash CS5??
thankyou!

πŸ‘: 0 ⏩: 1

Avender In reply to Kittyrocker [2011-11-14 17:46:22 +0000 UTC]

^ it should, CS5 uses AS3

πŸ‘: 0 ⏩: 1

Kittyrocker In reply to Avender [2011-11-17 02:26:18 +0000 UTC]

sweet!

πŸ‘: 0 ⏩: 0

Nicksplosivez [2011-07-17 05:40:16 +0000 UTC]

Cool! I'll use this when I feel like making a dress up game.
Although...I don't have flash.

πŸ‘: 0 ⏩: 1

kami6 In reply to Nicksplosivez [2011-07-17 18:31:44 +0000 UTC]

Thanks c:

Um.. you can download it free on many websites... i use Flash 8.

πŸ‘: 0 ⏩: 2

PrincessMephista In reply to kami6 [2013-12-25 13:52:22 +0000 UTC]

do you know the websites?

πŸ‘: 0 ⏩: 0

Nicksplosivez In reply to kami6 [2011-07-18 06:12:01 +0000 UTC]

πŸ‘: 0 ⏩: 0