You should first get some programming experience.
ActionScript is object oriented like TorqueScript, and the syntax is mostly the same.
If you don't know what ActionScript is, it is used in Flash.
Taking college, university, or even high school classes, can help you get started on programming/scripting in general.
If it isn't clear enough on the course name:
C/U: Computer Programming
HS: Same as above (Possibly), or Computer Information & Science.
Your high school may not offer it.