HOME | DD

Published: 2006-02-02 05:35:23 +0000 UTC; Views: 185239; 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
edster9 In reply to ??? [2007-12-14 22:07:19 +0000 UTC]
No its the same you just have to click the object first
👍: 0 ⏩: 0
worldofmyown In reply to ??? [2007-11-27 01:11:57 +0000 UTC]
very simple and easy to understand tutorial! Thanks a billion.
👍: 0 ⏩: 0
Teaganofthetrees In reply to ??? [2007-11-26 17:26:09 +0000 UTC]
i think you should delet that last comment i thought my friend made this but i just clicked on here favorites so you have no idea what half of that message is about hahahahahahahahahahahaha...................*o.0*
so yeah i thihk its awesome.
👍: 0 ⏩: 0
Teaganofthetrees In reply to ??? [2007-11-26 17:22:53 +0000 UTC]
by brain hurts but yay!! now i just need flash on my compy. and manga studio. you should bug your friend about it and right now mg has it. haha
👍: 0 ⏩: 0
keifujimi In reply to ??? [2007-11-25 23:37:08 +0000 UTC]
Thank You So Much!!
That tutorial was amazing and JUST what I needed!
I am forever and ever in your debt!! <3
👍: 0 ⏩: 0
Magdalena220 In reply to ??? [2007-11-25 12:26:01 +0000 UTC]
i wanted to do things like that since so much time! with this tutorial i will can
👍: 0 ⏩: 0
edster9 In reply to ??? [2007-11-25 03:14:37 +0000 UTC]
Ok i can publish it but when I upload it on deviantart I CANT MOVE THE OBJECTS AROUND!!!!
👍: 0 ⏩: 0
Regalroyalprincess In reply to ??? [2007-11-24 21:04:23 +0000 UTC]
wow. this was sooo helpful! thanks sooo much!
👍: 0 ⏩: 0
Cheeseypoofqueen In reply to ??? [2007-11-24 20:10:54 +0000 UTC]
Mine says that the oblact can not have an action scritp.
👍: 0 ⏩: 0
inubasket In reply to ??? [2007-11-23 21:55:12 +0000 UTC]
Erm...yea, I have the same program as you, but after step 3, your tutorial didn't work at all. Ug.
👍: 0 ⏩: 1
TricksyPixel In reply to inubasket [2007-11-25 00:17:35 +0000 UTC]
It's worked for others. What does it do exactly? An error, or?
👍: 0 ⏩: 0
rebeccainanime In reply to ??? [2007-11-23 16:27:31 +0000 UTC]
im a nooooob at flash and just need 1 thing i published it and im submitting it to deviant, but it says flash files only... ODD! since its a flash file
👍: 0 ⏩: 1
TricksyPixel In reply to rebeccainanime [2007-11-25 00:19:32 +0000 UTC]
Are you sending the actual .swf file rather than the one you published?
The .swf file is the actual document you work on, rather than a flash file.
DA only lets you upload your .swf files so they know you have the original Flash, and are not copying someone else's work.
👍: 0 ⏩: 0
edster9 In reply to ??? [2007-11-23 16:07:50 +0000 UTC]
Can you help me out? I made a dress up and the file is .fla but when I upload it to deviant art it says I cant upload it in the flash game category! please help!
👍: 0 ⏩: 2
TricksyPixel In reply to edster9 [2007-11-25 00:20:47 +0000 UTC]
Yeah, just upload the .swf file. The .swf file is the file that you save your project as while working on it.
DA needs the .swf file so that they know you created it, rather than just uploading someone elses flash file.
👍: 0 ⏩: 0
rebeccainanime In reply to edster9 [2007-11-23 16:15:42 +0000 UTC]
also another problem IM having!
👍: 0 ⏩: 0
rebeccainanime In reply to ??? [2007-11-22 23:06:52 +0000 UTC]
i needs help, i LOVED it but i dont kno why code wont work, what do you do whe u type in the code to make it work? like click enter or what? a little confuzzled, but its great
👍: 0 ⏩: 1
TricksyPixel In reply to rebeccainanime [2007-11-25 00:22:56 +0000 UTC]
Depending on what version of Flash you have the codes I have in the description may not work.
But when you select the object/movie clip you want to have the code attached to, you paste in the code, and that's it. You don't have to press enter. If you select something else on the page, and then re-select the object you added the code to, the code should still appear from when you pasted it in last.
👍: 0 ⏩: 0
northernsun In reply to ??? [2007-11-22 05:09:02 +0000 UTC]
im a flash noob.
I've used this tutorial before (it rocks thanks so much for making it)
but This time it wont work XP.
I put in the code, and I test movie and the clothes dont move and a box appears with the code in it....what have i screwed over haha??
👍: 0 ⏩: 0
BustedsBabyGirl1 In reply to ??? [2007-11-22 00:54:32 +0000 UTC]
please please please give me the link for where you downloaded Macromedia Flash MX 2004! Is it free? Can I have a free trial?
👍: 0 ⏩: 0
edster9 In reply to ??? [2007-11-22 00:36:45 +0000 UTC]
please please please give me the link for where you downloaded Macromedia Flash MX 2004! Is it free? Can I have a free trial?
👍: 0 ⏩: 0
Derive12 In reply to ??? [2007-11-20 21:44:55 +0000 UTC]
THANKS MAN!! that shit was so helpfull, i tried all the other findable tutorials on DA first, but yours is the only one that really works.
check what i got out of it and have fun playing the game [link]
and thanks again!
👍: 0 ⏩: 0
kimusensei In reply to ??? [2007-11-20 06:21:49 +0000 UTC]
umm... i tried adding actions to it...but it said: "current selection cannot have actions added to it." ..>___>;; help!
👍: 0 ⏩: 0
TheGuyTM In reply to ??? [2007-11-18 18:44:19 +0000 UTC]
erm...
hasnt been many comment here for a while BUT
one problem that some people might have is:
in the:
on(press) {
startDrag(this); <<<<<<<<<<<<<<
}
on(release) {
stopDrag();
Mouse.show();
}
on(rollOut)
{
Mouse.show();
}
on(releaseOutside) {
stopDrag();
}
flash sometimes seems to think that this refers to _root.
so sometimes when using this clicking any object will move everything in the flash
might i suggest if anyone still uses this to use:
on(press) {
startDrag(_root.this);
}
on(release) {
stopDrag();
Mouse.show();
}
on(rollOut)
{
Mouse.show();
}
on(releaseOutside) {
stopDrag();
}
instead to make sure it never messes up ^^
👍: 0 ⏩: 1
TheGuyTM In reply to TheGuyTM [2007-11-18 18:48:45 +0000 UTC]
ignore me saying there havent been many comments
didnt scroll to the last page
👍: 0 ⏩: 0
Stargona In reply to ??? [2007-11-18 06:01:55 +0000 UTC]
How do you upload the game on deviantart? It won't work for me.
👍: 0 ⏩: 0
kiko987149 In reply to ??? [2007-11-17 15:48:53 +0000 UTC]
really nice tutorial, but i have a few questions. How do you save the actionscript, or do you just leave it open ans what version of actionscrip is this. sorry for all the cunfusuin, but i have never used actionscript before. sorry for seeming like such a noob at this, but i am a noob at this.
👍: 0 ⏩: 1
TricksyPixel In reply to kiko987149 [2007-11-18 02:07:50 +0000 UTC]
Well, I think the bottom code I pasted in the description will work with more versions of Flash, but I'm not so sure if it'll work well with the new CS ones.
I haven't really thought of having a look to see if you can save the action script somewhere within Flash, but now that I think of it, it probably would have something somewhere where you can do that.. >>; But sorry, I don't know whether you can or not.
👍: 0 ⏩: 1
Imzy In reply to ??? [2007-11-11 19:11:25 +0000 UTC]
Most helpful tutorial I've seen in a while!
👍: 0 ⏩: 0
Patch-the-twin-cat In reply to ??? [2007-11-08 23:01:46 +0000 UTC]
could I get a link to the macromedia you used,please?
👍: 0 ⏩: 0
TricksyPixel In reply to LoGGeR [2007-12-14 02:48:08 +0000 UTC]
Just dress up games and making buttons to other pages n' such.... I haven't bothered learning the animation side of it.
👍: 0 ⏩: 0
Harlequinheadbanger In reply to ??? [2007-11-06 02:29:44 +0000 UTC]
I keep getting an error message. Like something about the release button thing.
👍: 0 ⏩: 0
TwilightsAxel In reply to ??? [2007-11-05 04:41:37 +0000 UTC]
ahh sucks for me that i dont have it..
and ive always wanted to try this X3
im sure ill get enough money for it
great tutorial, i can understand stand it perfectly and i dont have the program, haha
thanks for making the tutorial ^^
👍: 0 ⏩: 0
Xx-gottaluvme-xX In reply to ??? [2007-11-05 02:29:56 +0000 UTC]
i am way brand new to computers. Dont ask ive never had one, but how do you even get to that screen. i am completely clueless
👍: 0 ⏩: 0
teehee18 In reply to ??? [2007-11-04 02:38:02 +0000 UTC]
how do you make buttons? i cant seem to figure it out!
👍: 0 ⏩: 0
nyliaace In reply to ??? [2007-10-30 12:48:38 +0000 UTC]
how can you change the skin color if you want to?
👍: 0 ⏩: 0
blackcat-girl In reply to ??? [2007-10-29 06:52:15 +0000 UTC]
Thank you! This is very helpful!
👍: 0 ⏩: 0
pokebucky In reply to ??? [2007-10-28 23:57:09 +0000 UTC]
can u please send me the link for the Macromedia Flash MX 2004
because i want to make one so badly and if my computer gets a virus ill die.. >.< please!
👍: 0 ⏩: 1
aly789neo124 In reply to TricksyPixel [2007-11-02 03:31:46 +0000 UTC]
how much money does it cost?
👍: 0 ⏩: 0
AgY111 In reply to ??? [2007-10-28 17:04:51 +0000 UTC]
and one question... why can I save it?
👍: 0 ⏩: 0
AgY111 In reply to ??? [2007-10-28 16:58:19 +0000 UTC]
aww thanks very much for the idea!!! ^^
👍: 0 ⏩: 0
DemonDog14 In reply to ??? [2007-10-28 11:07:38 +0000 UTC]
erm....what program is this? D: that would be nice to know.... ;_;
👍: 0 ⏩: 1
TricksyPixel In reply to DemonDog14 [2007-10-29 05:02:05 +0000 UTC]
Macromedia Flash MX 2004
👍: 0 ⏩: 0
i-luv-naruto-boyz In reply to ??? [2007-10-27 12:34:32 +0000 UTC]
PLEASE READ THIS WHOLE POST. IT?S SO DANG TRUE*
This post really means something to me so you should feel it too!
1. At least 2 people in this world love you so much they would die for you.
2. At least 15 people in this world love you in some way.
3. The only reason anyone would ever hate you is because they want to be just like you.
4. A smile from you can bring happiness to anyone, even if they don?t like you.
5. Every night, SOMEONE thinks about you before they go to sleep.
6. You mean the world to someone.
7. If not for you, someone may not be living.
8. You are special and unique.
9. Someone that you don?t even know exists loves you.
10. When you make the biggest mistake ever, something good comes from it.
11. When you think the world has turned its back on you, take a look: you most likey turned your back on the world.
12. When you think you have no chance of getting what you want, you probably won?t get, but if you believe in yourself, probably, sooner or later, you will get it.
13. Always remember the compliments you received. Forget about the rude remarks.
14. Always tell someone how you feel about them; you will feel much better when they know.
15. If you have a great friend, take the time to let them know that they are great.
Add this as a comment to ten of your friends tonight and at midnight your true love will love you. Something good will happen to you at 2:25 tomorrow. Get ready for the biggest shock of your life. Whoever breaks this chain letter will be cursed with 10 realationship problems for the next ten years tag ur it!! this is so scary!!! Send this to 15 ppl in the next 143 min. and then press F6 and your crushes name will appear in big letters!! it is so scary because it works?. but if you break the chain... you will be crused w/ realationship problems. NO SEND BACKS If you have less than 15 friends its okay.
👍: 0 ⏩: 1
TricksyPixel In reply to i-luv-naruto-boyz [2007-10-29 05:03:00 +0000 UTC]
Do you mind not posting this bullshit on my deviations? Thanks.
👍: 0 ⏩: 1
<= Prev | | Next =>