Be a Supporter!

Credits & Info

Uploaded
May 30, 2004 | 6:39 AM EDT

Related Stuff

If you liked this, check these out!


Author Comments

******PLEASE READ*******PLEASE REVIEW*****

MAKE SURE TO SAVE IT AS FLASH 6

This is a flash action script tutorial.
Based entierly on things you can do with action scripting.. This Tutorial Includes:

How to make an object movable with arrow keys
How to make a dress up game
How to make a custom cursor
And how to make a 3D rotating cube using **ONLY** action script

P.S. when the black screen come up move your cursor around the screen and towards the center of the black screen

Reviews


denmanderdenmander

Rated 4.5 / 5 stars September 10, 2010

error

in the release script the "startDrag" it was "startdrag" this won't work if keep like this



KfjustisKfjustis

Rated 4 / 5 stars July 30, 2010

This and That

I give you an eight because not much was explained, but most of the scripts did work for me. Nice job!



ThatGreenAlienThatGreenAlien

Rated 3 / 5 stars July 5, 2010

meh

I could get them all to work except the last one. I really don't like how you just gave us the code and was like "you did it!!!!" I mean, at least tell us what it means so we can actually learn it.


People find this review helpful!

therockbytherockby

Rated 4.5 / 5 stars May 2, 2010

Something wrong

I tested to move the thing i draw and it Don't move Its just rotating!



RetrospectiveRetrospective

Rated 3.5 / 5 stars March 29, 2010

For all having trouble moving object with keys...

THe code on this tutorial does not work. Here is the code to make a moveable object:

onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_y -= 15;
}
if (Key.isDown(Key.DOWN)) {
_y += 15;
}
if (Math.abs(speed)>20) {
_y *= .15;
}
if (Key.isDown(Key.LEFT)) {
_x -= 15;
}
if (Key.isDown(Key.RIGHT)) {
_x += 15;
}
x = Math.sin(_rotation*(Math.PI/180))*_sp eed*-1;
y = Math.cos(_rotation*(Math.PI/180))*_sp eed*-1;
if (!_root.land.hitTest(_x+x, _y+y, true)) {
_x += x;
_y += y;
} else {
speed *= -.8;
}
}

For more speed, mess around with the speed*= -.8; or the _x or _y parts and you should be okay


People find this review helpful!