Forum Topic: Goddam actionscript!

(204 views • 8 replies)

This topic is 1 page long.

<< < > >>
None

F1Krazy

Reply To Post Reply & Quote

Posted at: 12/5/05 02:05 PM

F1Krazy EVIL LEVEL 10

Sign-Up: 09/25/05

Posts: 17

Man, this is fuking fustrating(damn I spelt fucking frustrating wrong)

I decided I was bored of movies so I made a Flash dress-up game. Or tried to. First, I made a stickman. Then, i made a blue t-shirt. I converted it to a button, and inserted the following actionscript-

on(press){startDrag(Shirt);}on(release){st
opDrag'}'

I swear to God that 'Shirt' was its instance name.
And yet, when I test the goddam thing, a little box comes up telling me, 'syntax error!'

Goddam it, I don't even know what syntax is , but that's not the important thing, 'coz the important thing is that the goddam Actionscript won't let me make anything other than crappy sprite movies, 'coz I get buggered when I try anything that isn't a movie!!!

SOMEONE HELP ME GODDAMMIT!

These MMORPG ads are really annoying...can't Newgrounds advertise something else?


None

liaaaam

Reply To Post Reply & Quote

Posted at: 12/5/05 02:07 PM

liaaaam NEUTRAL LEVEL 21

Sign-Up: 12/11/04

Posts: 12,766

At 12/5/05 02:05 PM, F1Krazy wrote: Man, this is fuking fustrating(damn I spelt fucking frustrating wrong)

Try the delete key, it's fucking marvelous.

SOMEONE HELP ME GODDAMMIT!

on(press){
startDrag("");
}
on(release, releaseOutside){
stopDrag();
}

Place it on the MovieClips that you want to be draggable.


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 12/5/05 02:11 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 9,716

Dood! First, make it MC, not button (doesn't matter much, you can animate it, that's all). Then, if you can't get a drag function right, you can't get nothing right!

on(press) {
this.startDrag()
}
on(release) {
this.stopDrag()
}

haXe AliceML Box2dLite Learn AS
#ngprogramming at irc.freenode.net
OVER NINE THOUSAAAAND!!!


None

Denvish

Reply To Post Reply & Quote

Posted at: 12/5/05 02:37 PM

Denvish DARK LEVEL 42

Sign-Up: 04/25/03

Posts: 15,933

SYNTAX

The rules for the construction of a command or statement

- - Flash - Music - Report Abuse - -
Not around any more, see last news post.

BBS Signature

None

Rustygames

Reply To Post Reply & Quote

Posted at: 12/5/05 02:38 PM

Rustygames LIGHT LEVEL 18

Sign-Up: 05/07/05

Posts: 6,429

dont blame the language

- Matt, Rustyarcade.com


None

F1Krazy

Reply To Post Reply & Quote

Posted at: 12/9/05 12:55 PM

F1Krazy EVIL LEVEL 10

Sign-Up: 09/25/05

Posts: 17

Thank you, all u experienced dudes that really helped. And I'm not being sarcastic here, converting to movie clips seems a good idea. OK, maybe I'll try that. Hope it works. :)

These MMORPG ads are really annoying...can't Newgrounds advertise something else?


Angry

F1Krazy

Reply To Post Reply & Quote

Posted at: 5/21/06 10:26 AM

F1Krazy EVIL LEVEL 10

Sign-Up: 09/25/05

Posts: 17

Damn. Damn, damn, damn, damn.

I've been trying these codes for a new Sonic Dress-up game I'm making (I'm not submitting it to Newgrounds, it'll go the way of my other 5 submissions and get blammed), and nothing works! I've tried every improvisation trick I can think of, and nothing works.

AND I can't remember for the life of me what flipping ActionScript code I used for my other dress-up game, which worked.

Dang it, where am I going wrong NOW?!!

These MMORPG ads are really annoying...can't Newgrounds advertise something else?


None

West-End-Pro

Reply To Post Reply & Quote

Posted at: 5/21/06 10:44 AM

West-End-Pro NEUTRAL LEVEL 23

Sign-Up: 02/15/06

Posts: 2,359

read a dress-up game tutorial...theres one here!


None

Saza

Reply To Post Reply & Quote

Posted at: 5/21/06 12:22 PM

Saza LIGHT LEVEL 13

Sign-Up: 10/01/05

Posts: 1,168

Why not just put this on the movieclip(s) you want to drag ...

on(press){
startDrag(this);
}

on(release){
stopDrag();
}

I believe thats what you wanted lol, if not, just say :P


All times are Eastern Standard Time (GMT -5) | Current Time: 12:10 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!