01

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.

My flash

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;
}

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.