|
-
action script
I found some actionscript tutorials for flash mx and flash 5, they work the same or I have to use a koolmoves actionscript tutorial?
-
KoolMoves is probably 95% compatible with Flash 5 and MX action scripting. There are problems with Flash 4 action scripting.
-
undead creature
Originally posted by Bob Hartzell
KoolMoves is probably 95% compatible with Flash 5 and MX action scripting. There are problems with Flash 4 action scripting.
Indeed.
Are missing only symbol-library related commands (attachMovie,attachSound,etc).
However, is not a good idea to "copy & paste" Flash MX scripts into KoolMoves.
Few "corrections" are needed ...
-
A long long time ago I wrote a basic, get you started ACtionscript tutorial. Mind you it is very basic and was written for KM 2.7X (The first version that had scripting). The tut can be found here http://www.koolmoves.com/fresources.html
There are several problems using LM2 (If you can find them) and Flash 5,MX, ETC tutorials. The problem is that MM Flash still allows you to use the old Flash 4 syntax intermixed with the new and 95% of the tutorials out there mix the two syntaxes. It gets even more complicated as Flash 5 and 6 AS were based on the official ECMA 262 where as Flash 7 was based off of the proposed new ECMASCript (262) also known as Javascript 2.0 model. The differences between the two is that you have a more object oriented versus an object based scripting environment. Inside Javscript 2 and Flash AS 7 you can create your own classes just like you would in Java, C++, C, .Net, ECT where as before you could sort of work around it using prototype. The Flash 4 language was more like Pascal/Oberon in structure and not very OO or OB. Most of the AS tutorial writers do not realize this and intermix the three willy-nilly.
The few LM2 tuts out there do not suffer from that problem but rather that LM2 used differnt event handlers.
The best way really to learn AS is to read that real basic tut I wrote then start experimenting on your own. Then get a nice thick book on Javascript (The Nutshell or Dummies books are a good place to start) read it and then read this article from O'Riely http://www.oreillynet.com/pub/a/java...07/action.html Then more experimnts and perhaps even head over to the MM Flash AS Dictionary to try differnt things.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|