Flash Tutorial :: Learn how to ActionScript! Scripting 101
Flash Tutorials
5th Feb 2010
25 Comments »
ATTENTION: This tutorial is the basics of Actionscript 2.0. If you are using Flash CS3 or newer you are using Actionscript 3.0. You can however switch back by following this quick video: youtube.com Check this video out at Hi-Res here: www.tutvid.com In this video we will learn the basic things you will need to know to get yourself actionscripting in no time! Check out www.tutvid.com for lesson files as well as other videos! Watch, Learn, Enjoy!


Great intro tutorial. With all due respect, though, you kept calling quotation marks ‘parenthesis’.
this video was so helpful~! thankyou so much!
Great Tutorial. Keep up your good work.
Can you fix it for me?
this._y += _root.yMove;
this._x += _root.xMove;
this._rotation = myDegrees+90;
} includes 2 syntax errors saying this
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Syntax error.
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 3: Syntax error.
myDegrees = Math.round((myRadians*180/Math.PI));
Total ActionScript Errors: 2 Reported Errors: 2
The stalker code is this I have a question and im stuck on this, im trying to make a stalker in flash 8 and this code onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
_root.yChange = Math.round(_root._ymouse-this._y);
_root.xChange = Math.round(_root._xmouse-this._x);
_root.yMove = Math.round(_root.yChange/20);
_root.yMove = Math.round(_root.yChange/20);
_root.xMove = Math.round(_root.xChange/20);
this._y += _root.yMove;
this._x += _root.xMove;
this._rotation = myDegrees+90;
} includes 2 syntax errors saying this **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Syntax error.
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
I have a question and im stuck on this, im trying to make a stalker in flash 8 and this code onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
_root.yChange = Math.round(_root._ymouse-this._y);
_root.xChange = Math.round(_root._xmouse-this._x);
to everybody who says that he is too fast: I’m italian and I understand all! thanks man, and great video!
hay i really love this video its so awesome its a good starter video on scripting but i was just wondering if there is like a scripting comand like say that would take you forward one frame not like gotoAndPlay(2); but like gotoNextFrame or something like that thanks again awesome video
Bla bla bla ACTION SCRIPT, bla bla bla bla… ACTION SCRIPT, bla bla ACTION SCRIPT, …..ACTION SCRIPT, ACTION SCRIPT, bla bla bla
thanks a bunch, this video was super helpful. i was looking all over the place for a simple beginner tut.
This tutorial is perfect!Thanks a lot!You make great tutorials!
XD its so cheap youtube partners can make thier video lager then 10 mins.
How many times can you say action scripting in one sentense?!! Realy?!
Its a little wierd going from media software like photshop and flash to coding – but its not that bad mainly if you have background in css, html, javascript.. It pays well though.
It’s basically a re-statement of what some other people are saying, here, which is pretty much: Jesus Christ, it’s so complicated for the average person who knows a little Flash and is trying to improve their skills.
For whomever it’s straightforward and helpful…..More power to you, and Congrats!
I guess it sounded more sarcastic than was intended. Apologies to anyone who was offended.
What the fuck kind of question is that?
People who enjoy it
Lol the end was so funny. “I hope you learned something.. Aaand I hope you learned something.” XDD
And I have a question. I want to make a flash where when you click the person’s face, they do something. How would I do that? And I want them to click at a certain spot, like, say the person’s cheek. Could you help me out? I have an idea of the ActionScript to use, but I’m sure I’m missing something.
you helped me soo much thank you!
Good God! Who learns this stuff?
as3 is too hard to learn!
Godd…. really confusing…. slow down…
dude….. it’s all nice…. but your’re going too fast on ur tutorials…. ur just like…. super fast…. i cant catch up with u…. please… slow down… thank u