Today I decided to learn Action Script using Macromedia Flash MX 2004.
I will learn it one file at a time, i.e. one task or project at a time. I know Help has lots of tutorials and stuff, but I will leave that alone for a while.
Since WordPress doesnt allow embedded Flash files, you have to click a link to see the flash in action somewhere else.
I will start with something simple. Move the mouse around. How do you have to move the mouse for the image to move horisontally? Vertically?
I found the code here and changed it slightly.
I will put the urls to pages with action script examples etc, here. Please click the link and add your own favourites.
The code is not lengthy:
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
But, of course, I had to change it to:
onClipEvent (enterFrame) {
_x = _root._ymouse;
_y = _root._xmouse;
}