How to change the registration point in AS3

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....

Creating a Dropdown menu with AS3 classes!

I just finished writing a new tutorial on making dropdown menus using AS3 classes. Head on over to actionscript.org and check it out: AS3 Dropdown Menu with Reusable Classes.

You will really like it. My article here on my own site that uses the timeline and frame code is good, of course, but this new approach using classes is definitely way better.

Jody

 

Better Flash Navigation using AS3 Classes

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!

Variables

This article on variables may be somewhat different than the kind you are accustomed to seeing. Rather than focus on what is an int, what is a Number, what is a String (and so on...), I instead choose to focus on certain aspects of variables that I consider more "off the beaten path." Also, I want to stay Flash-centric and not just about programming in general. In other words, stuff that you don't see elsewhere!