HOME | DD

Published: 2006-02-02 05:35:23 +0000 UTC; Views: 185222; Favourites: 5306; Downloads: 11525
Redirect to original
Description
Read below for any common mistakes.I'm disabling comments, because I don't have the time any more to go through each question and comment I get sent to me on here. Chances are, by the time I answer any questions, the problems are already probably fixed.
And as I promised in the tutorial... Here's the Action script crap to copy and paste in:
--------------------------------------------------------------------------------------------------
on(press) {
startDrag(this);
}
on(release) {
stopDrag();
Mouse.show();
}
on(rollOut)
{
Mouse.show();
}
on(releaseOutside) {
stopDrag();
}
--------------------------------------------------------------------------------------------------
Have fun!
The program used was Macromedia Flash MX 2004
Having a lot of people asking what Flash was. xD
If you want to download that specific version, all you have to do is google "Macromedia Flash MX 2004 trial". Simple as that.
*It seems some people are having issues with the coding, mostly people with the more recent Flash programs. So if you're having problems with getting the scripting to work, and you have one of the latest programs, chances are the script I posted up here ain't gonna work.
I suggest asking on Newgrounds.com's forum for any extra help with that.
BUT this might work for ya instead:
--------------------------------------------------------------------------------------------------
on(press) {
startDrag(this);
}
on(release) {
stopDrag();
}
on(releaseOutside) {
stopDrag();
}
--------------------------------------------------------------------------------------------------
Also, for gods sake, please make sure you paste the code on the actual object, rather than the actual layer, or it just wont work. Too many people have asked me why nothing will move, only to find that they had pasted the code on the layer instead of the object.
AND for people with the new version of Flash, this may help with the code problem, but I know nothing of it:
Quoted from ohyoshimi.
"you should note that this is actionscript 2.0, and if people are using cs3 to make sure they create an actionscript 2.0 file, because in 3.0 it will not work."
Related content
Comments: 1018
Gothic--Rouge [2008-03-13 23:04:57 +0000 UTC]
when I try it an error window comes up [link]
π: 0 β©: 1
TricksyPixel In reply to Gothic--Rouge [2008-03-16 03:34:09 +0000 UTC]
Not sure. Did you first turn the objects into symbols and then set them to movie clips?
And make sure you pasted the script onto the actual symbols, rather than the layers they're on.
π: 0 β©: 1
Gothic--Rouge In reply to TricksyPixel [2008-03-16 17:27:04 +0000 UTC]
I can't tell when the layer vs object is selected, i right click the symbol/clothes and paste in the action box.... but i don't know if it is layer somehow selected...
π: 0 β©: 0
cherrilious6ix [2008-03-13 22:52:41 +0000 UTC]
Great Tut!! [: just a question though, how do i make it so certian items go over other items, like i'm making tank top like items and i want them to go under other shirts.
π: 0 β©: 1
TricksyPixel In reply to cherrilious6ix [2008-03-16 03:37:57 +0000 UTC]
You just have to sort them out with each layer. If you have each item as individual layers, then you can just drag the layers around for the order you want.
If you did them all on the same layer, I'm sure there's somewhere if you select the specific item, you can probably right click, or go look through one of the lists on the top like "edit" or "select" and find something about "arrange to front" or something similar. (I haven't used the program in a while, but I'm sure there'd be something like that, like most other art programs)
π: 0 β©: 1
cherrilious6ix In reply to TricksyPixel [2008-03-16 05:47:26 +0000 UTC]
Ok thanks [: I fished my game too! lol the clothes don't exactly fit >.< but i think it's still cute [:
π: 0 β©: 0
Gothic--Rouge [2008-03-13 10:06:12 +0000 UTC]
Question, can you merge layers in flash? If so how. -thanks
π: 0 β©: 0
Hatty-hime [2008-03-13 02:35:26 +0000 UTC]
Ohhh...I am so gonna buy flash soon! D: Gifing is fun, but I want to have it easy liek teh rest of joo!
π: 0 β©: 0
kai-zer [2008-03-13 00:22:20 +0000 UTC]
ZOMG i've been looking for a tutorial for this kind of thing for eeeeevveeeeerrrrrrrr (well i didn't look THAT hard). but whee. gonna try this out when i can : ] thanks in advance!
π: 0 β©: 0
little-pink-ninja [2008-03-12 20:17:52 +0000 UTC]
wow awesome! I always wanted to know how yew did those things ^_^ yay you!!! <3
π: 0 β©: 0
ohyoshimi [2008-03-12 18:22:07 +0000 UTC]
you should note that this is actionscript 2.0, and if people are using cs3 to make sure they create an actionscript 2.0 file, because in 3.0 it will not work.
π: 0 β©: 0
WhiteWolfIris [2008-03-12 15:12:21 +0000 UTC]
this is really awesome im gonna make one ... but i have one question thin kthese things need a little preview to submit the deviation how do you do that
π: 0 β©: 1
TricksyPixel In reply to WhiteWolfIris [2008-03-27 06:16:16 +0000 UTC]
I'm not so sure about that any more. xD I don't think I've uploaded a preview image on Deviant Art's new layout yet.. Last time I had to do that was a longgggg time ago.
π: 0 β©: 1
WhiteWolfIris In reply to TricksyPixel [2008-03-27 14:59:26 +0000 UTC]
oh thanks anyway ;
π: 0 β©: 0
specialagentfluffy [2008-03-12 02:26:51 +0000 UTC]
So. Incredibly. Helpful.
Last time I had Flash available to me I spent five days trying to figure this out. I failed, miserably. X3
But now I can do it! Yayyayyayyayyayyaythankyou!
π: 0 β©: 0
hikari64 [2008-03-12 00:51:20 +0000 UTC]
this is a wonderful tutorial... I wanna make one now but I have the CS3 Pro version and almost all the codes I've found are for the older version... ;o;
any tips or ideas as to where I can find some more recent actionscripts or maybe someone I can ask?
π: 0 β©: 1
TricksyPixel In reply to hikari64 [2008-03-12 05:34:46 +0000 UTC]
You'll have to try ask the people in the NewGrounds.com forum. There should be plenty of people there who know the codes for the latest versions.
π: 0 β©: 1
hikari64 In reply to TricksyPixel [2008-03-12 16:20:15 +0000 UTC]
okies... any specific forum?
π: 0 β©: 1
TricksyPixel In reply to hikari64 [2008-03-27 06:15:30 +0000 UTC]
There should be a board on their forum about Flash Help, or something along those lines.
π: 0 β©: 1
Khumo [2008-03-12 00:10:33 +0000 UTC]
Can I do it even if I don't have an icecream and a lattΓ©
π: 0 β©: 1
TricksyPixel In reply to Khumo [2008-03-12 05:35:53 +0000 UTC]
IIIIII dunno, that's a long shot...
π: 0 β©: 0
Prepare4someDOOM [2008-03-11 20:46:26 +0000 UTC]
Cool thanks for tutorial. I love you. ;-; *Doesn't even know you*
π: 0 β©: 0
Snowphlake [2008-03-11 19:45:29 +0000 UTC]
That was great 8)
Now all i need to do is get flash, and learn to draw something descent xD
and cute character!!
π: 0 β©: 0
SillyCynic [2008-03-11 19:04:03 +0000 UTC]
Awesome! I've always wanted to know how to do SOMEthing in flash. XD
*Pirates Flash*
You didn't see that. c:
π: 0 β©: 0
paperfleur [2008-03-10 10:31:44 +0000 UTC]
hi im using cs3, but everytime i try this and i go to the actions palette, it says "selection cannot have actions applied to it." WTF. hell dude, help?
thanks
π: 0 β©: 1
TricksyPixel In reply to paperfleur [2008-03-27 06:21:02 +0000 UTC]
I know nothing about cs3, but someone mentioned something about how people with cs3 should make an ActionScript 2.0 file, instead of 3.0..... Not that I know about that myself, but seeing as you have cs3, you might get it more than me.
π: 0 β©: 0
IndigoCrystal [2008-03-06 20:18:39 +0000 UTC]
Oh thanks VERY much for this tutorial! It helped a lot!
π: 0 β©: 0
TakuniChan [2008-03-06 01:43:07 +0000 UTC]
I heard that you can do a dress up game in photoshop. Is this true or just a rumor?
π: 0 β©: 1
TricksyPixel In reply to TakuniChan [2008-03-07 07:17:45 +0000 UTC]
Well, you could make the clothes/images in Photoshop, but you'd still have to put them into Flash as png files, then do the rest of the coding, and such in Flash.
π: 0 β©: 1
TakuniChan In reply to TricksyPixel [2008-03-08 04:44:50 +0000 UTC]
Ah, darn. I was hoping that I could do it in photoshop all in its own. Ok then, thanks for the info!
π: 0 β©: 0
TheSilentOrchestra [2008-03-05 07:24:49 +0000 UTC]
OMG thank you sooo much for this tutorial!!! you made this soo easy to inderstand and it really helped me!
π: 0 β©: 0
Natephoenix [2008-03-04 17:44:51 +0000 UTC]
Yeah, it keeps coming up with errors for me too.
I'm using MX2004, like you. I made sure to select each item, and add the code, and convert to symbol and all that...but yeah. Arg.
I don't think Flash likes me...
π: 0 β©: 1
TricksyPixel In reply to Natephoenix [2008-03-07 07:19:17 +0000 UTC]
Wow.. Really? Maybe you're adding the code to the actual layer, rather than the object you want to move?
π: 0 β©: 1
Natephoenix In reply to TricksyPixel [2008-03-07 11:02:07 +0000 UTC]
Nah, i'm certain i selected the items each and converted them to symbols, so when putting in the code it's just got to be on the item itself. i dunno why, and i don't think it's your tutorial thats in the wrong either...cause i've looked at some other tutorials for the exact same thing online, and following them to the leter offers the same results. Crazy stuff.
π: 0 β©: 0
VintagePanic [2008-03-04 05:17:59 +0000 UTC]
Thanks for the stuff, ya know...
I always forget the coding and I'm too lazy to look it up meself.
meh.
π: 0 β©: 0
freeza-frost [2008-03-04 01:06:09 +0000 UTC]
tried the alt version and got 3 errors! T_T
π: 0 β©: 0
freeza-frost [2008-03-04 01:02:32 +0000 UTC]
i tried this and i get 4 errors! i did a test with freeza and a pair of glasses.
π: 0 β©: 0
serenathehedgehog [2008-03-03 15:07:27 +0000 UTC]
if i had flash, i would try it, but this still really helped me out. thanks
π: 0 β©: 0
Redesignated [2008-03-03 09:37:19 +0000 UTC]
Yay. XD Once I get Flash this'll be helpful. [>w>]
π: 0 β©: 0
StrangeComet [2008-03-02 07:21:42 +0000 UTC]
I've been wanting to make one of these for awhile, hopefully I can follow directions. ^ ^;;
π: 0 β©: 0
MuffinSquire [2008-03-02 06:33:24 +0000 UTC]
Hold up, cafe late?
As in the food place?
Do they have those in places other than Grand Ave...?
Either way, tight tutorial. Looks like fun.
π: 0 β©: 1
TricksyPixel In reply to MuffinSquire [2008-03-27 06:26:01 +0000 UTC]
lol Nah, cafe late as in a brand of ice coffee that Nestle makes.
π: 0 β©: 0
Espiadahedgehog [2008-02-29 21:49:06 +0000 UTC]
Is there any way to use it without macromedia flash??
π: 0 β©: 1
| Next =>