In this article, you will learn how to build this simple dropdown menu in Flash using Actionscript 3.0:
Here is something I think everyone would love to know how to do in Actionscript: dynamically change the registration point of a Movieclip or Sprite at runtime. I have certainly wanted to know how to do it for a long time, and I have been kind of less than satisfied with some of the solutions I've seen online. I should say, though, that they did give me valuable clues on developing my own solution, so I certainly don't mean to knock anyone here. One of the most popular solutions you'll find out there is a class that lets you link a library symbol to it. After you do, you get properties like rotation2, x2, y2, scaleX2, scaleY2--you get the idea.
However, this is not what I wanted....
In this article, you will learn a much better, more object oriented way to structure a Flash application than the typical "frames on the main timeline" scheme that you see so often everywhere. This better way might be summed up in a few words as "MovieClips as screens." This is so far superior to "Frames as screens," that I think you will be as amazed as I was, when I line out for you exactly why. Read on!
This is something that you are probably going to kick yourself over when you see how easy it is! ....

Copyright © 2009, 2010, 2011 by Jody Hall
