Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


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!

Author Search Results: 'F1Krazy'

We found 16 matches.


<< < > >>

Viewing 1-16 of 16 matches.

1.

Mad as Hell

Topic: N00bish ActionScript problem...damn

Posted: 04/18/08 12:18 PM

Forum: Flash

The button works now, but the thing it links to doesn't. It's supposed to come up with 5 lines, one in each corner and one in the centre, each one following the mouse around the screen, each a different colour.

Here's the code I've got so far (just three of the lines)-

_root.onEnterFrame = function() {
createEmptyMovieClip("line", 1);
with (line) {
moveTo(275, 200);
lineStyle(3, 0x000000, 100);
lineTo(_root._xmouse, _root._ymouse);
}
};
_root.onEnterFrame = function() {
createEmptyMovieClip("line 2", 1);
with (line 2) {
moveTo(0, 0);
lineStyle(3, 0x0000FF, 100);
lineTo(_root._xmouse, _root._ymouse);
]
};
_root.onEnterFrame = function() {
createEmptyMovieClip("line 3", 1);
with (line 3) {
moveTo(550, 0);
lineStyle(3, 0xFF0000, 100);
lineTo(_root._xmouse, _root._ymouse);
}
};

It then comes up with these errors:

**Error** Scene=Scene 3, layer=Layer 1, frame=1:Line 11: ')' expected
with (line 2) {

**Error** Scene=Scene 3, layer=Layer 1, frame=1:Line 15: Unexpected '}' encountered
}

Total ActionScript Errors: 2 Reported Errors: 2

What's the problem this time? Aargh...this fucking ActionScript.


2.

Mad as Hell

Topic: N00bish ActionScript problem...damn

Posted: 04/15/08 11:43 AM

Forum: Flash

Well? Does anybody know what's the problem with my buttons?


3.

Expressionless

Topic: N00bish ActionScript problem...damn

Posted: 04/14/08 12:33 PM

Forum: Flash

I copied and pasted this code into the button's Actions-

on (press) {
gotoAndStop (Scene 3, 1);
}

(It's supposed to take you to the 'spider web', a bunch of lines that stick to your cursor and follow it around the screen)

But when I open the Flash, this comes up-
**Error** Scene=Scene 1, layer=Layer 1, frame=3:Line 2: ')' or ',' expected
gotoAndStop (Scene 3, 1);

**Error** Scene=Scene 1, layer=Layer 1, frame=3:Line 3: Unexpected '}' encountered
}

Total ActionScript Errors: 2 Reported Errors: 2

I followed the tutorial exactly. The tutorial in question is The Tutorial Collab '08 so it's not like it's wrong. So what's the problem?


4.

None

Topic: N00bish ActionScript problem...damn

Posted: 04/14/08 05:05 AM

Forum: Flash

It was the 2nd frame bit. I put the menu in the first frame of Scene 2 with the NG preloader in Scene 1, so, yeah, you were right.

But now I've got problems with the buttons. This time I've literally copied the ActionScript straight off a tutorial. But it comes up with various errors and the button doesn't work. When I click it, nothing happens.

God, this ActionScript stuff is annoying. Anybody know what I'm doing wrong this time?


5.

Happy

Topic: N00bish ActionScript problem...damn

Posted: 04/14/08 04:50 AM

Forum: Flash

Yeah! It works now! Thanks for the help guys!


6.

Mad as Hell

Topic: N00bish ActionScript problem...damn

Posted: 04/13/08 07:26 AM

Forum: Flash

This is a very n00bish problem, I'm sure, but...

I'm trying to make a game. Or, more accurately, a big bunch of widgets. In theory.

It's going to have a main menu, with buttons leading to each widget. When you get to the main menu, the movie's supposed to stop so you actually have time to press the damn buttons. BUT IT DOESN'T!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I've tried all the ActionScript combinations I can think of. But whenever I click the preloader, it skips straight over the main menu and goes back to the fucking preloader.

Does anyone know the correct ActionScript? (and please don't call me a fucking moron or anything)


7.

Mad as Hell

Topic: Damn Actionscript!!

Posted: 09/02/07 10:08 AM

Forum: Flash

I got this ActionScript code off a tutorial on Newgrounds-
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
speed += 2;
}
if (Key.isDown(Key.DOWN)) {
speed -= 1;
}
if (Math.abs(speed)>20) {
speed *= .7;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 14;
}
if (Key.isDown(Key.RIGHT)) {
_rotation += 14;
}
speed *= .98;
x = Math.sin(_rotation*(Math.PI/180))*speed;
y = Math.cos(_rotation*(Math.PI/180))*speed*
-1;
if (!_root.boundary.hitTest(_x+x, _y+y, true)) {
_x += x;
_y += y;
} else {
speed *= -.6;
}
}
onClipEvent (enterFrame) {
if (this._x > 600) {
this._x = -50;
}
}
onClipEvent (enterFrame) {
if (this._y > 450) {
this._y = -50;
}
}
onClipEvent (enterFrame) {
if (this._x < -50) {
this._x = 600;
}
}
onClipEvent (enterFrame) {
if (this._y < -50) {
this._y = 450;
}
}

Paste the code into a car's Actions, and it's supposed to make the car driveable using the arrow keys. I entered the code into my car's Actions, and I could only make the car do donuts. There's no syntax errors and the guy says there's nothing wrong with the ActionScript.

SO WHY IN THE FREAKING BLUE HELL DOESN'T IT WORK PROPERLY??!


8.

Questioning

Topic: Moar actionscript problems

Posted: 06/17/07 05:09 AM

Forum: Flash

Groan...I s'pose Actionscript doesn't like me.

Here's a piece of code-
onClipEvent (enterFrame) {if (Key.isDown(Key.UP)) {speed += 5;}if (Key.isDown(Key.DOWN)) {speed -= 3;}if (Math.abs(speed)>20) {speed *= .7;}if (Key.isDown(Key.LEFT)) {_rotation -= 14;}if (Key.isDown(Key.RIGHT)) {_rotation += 14;}speed *= .98;x = Math.sin(_rotation*(Math.PI/180))*speed*-7;y = Math.cos(_rotation*(Math.PI/180))*speed*-1;if (!_root.boundary.hitTest(_x+x, _y+y, true)) {_x += x;_y += y;} else {speed *= -.6;}}onClipEvent (enterFrame) {if (this._x > 600) {this._x = -50;}}onClipEvent (enterFrame) {if (this._y > 450) {his._y = -50;}}onClipEvent (enterFrame) {if (this._x < -50) {this._x = 600;}}onClipEvent (enterFrame) {if (this._y < -50) {this._y = 450;}}

It's supposed to make something controllable by the arrow keys: y'know, up down left right. Yet when I press the up key, nothing happens. Same for the down key. The actionscript only enables me to spin something round and round in circles. I checked the syntax and it's fine.

WHAT IS WRONG WITH IT AND HOW DO I FIX IT???!!!


9.

Angry

Topic: Goddam actionscript!

Posted: 05/21/06 10:26 AM

Forum: Flash

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?!!


10.

None

Topic: Goddam actionscript!

Posted: 12/09/05 12:55 PM

Forum: Flash

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. :)


11.

None

Topic: Goddam actionscript!

Posted: 12/05/05 02:05 PM

Forum: Flash

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!


12.

None

Topic: How d'you get sprites for movies?

Posted: 11/12/05 11:43 AM

Forum: Flash

Don't. Even. Bother.]

I've managed to get some sprite sheets anyway, and now I'm working on a movie series about Cream the Rabbit.


13.

None

Topic: How do u make sprite flashes? =D

Posted: 11/09/05 12:58 PM

Forum: Flash

Uh, other people may not like it but sprote movies are rather easy:

Download a spritesheet of whatever you want your movie to be about off the Internet.
Then open MS Paint, into a 110x50 screen.
Then...oh forget it, I'm not wasting my time explaining this on a flippin' forum. Forget it for now, then wait until I do a sprite-movie tutorial.


14.

None

Topic: How d'you get sprites for movies?

Posted: 11/06/05 09:53 AM

Forum: Flash

Uh, they were only .gif pictures like before! I can't have .gif pictures, I need a Flash spritesheet of Sonic!


15.

None

Topic: How d'you get sprites for movies?

Posted: 11/06/05 09:45 AM

Forum: Flash

Oh...k. That wasn't helpful. There's no such thing as magic, and I can't draw for squat. I need sprites otherwise I can't submit movies.


16.

Questioning

Topic: How d'you get sprites for movies?

Posted: 11/05/05 10:15 AM

Forum: Flash

I need some Sonic the Hedgehog sprites for a movie idea, but all the sprites I've seen are GIF pictures? Where can I find a Flash spritesheet for Sonic and co. ?


All times are Eastern Daylight Time (GMT -4) | Current Time: 10:51 PM

<< < > >>

Viewing 1-16 of 16 matches.