Be a Supporter!

AS3 Tut: Data Structures

rated 2.75 / 5 stars
Share Links:

Credits & Info

Aug 8, 2010 | 11:43 PM EDT

If you liked this, check these out!

Author Comments

I wrote up this tutorial to help beginning to intermediate flash programmers learn how to use data structures. Sounds amazingly boring and nerdy, but if you want to have manageable and, more importantly, working games and whatnot, you're gonna need them.

If you have any questions, feel free to post them in the comments. I will read and try to respond to every comment made, unless I get a flood.

Also, sorry to the audio artists who's awesome songs got butchered by Flash's compression software.




Rated 5 / 5 stars


Thanks for using my music!

People find this review helpful!
Mind-Blight responds:

For sure! It's a sick track.


Rated 5 / 5 stars

An excellent primer for non-programmer developers.

Newgrounds needed something like this years ago! AS3 is much more focused on traditional programming than AS2. Now Mind-Blight presents some very common design patterns every programmer should have in his toolbox. Bonus points for using animation to illustrate some very abstract functionality that usually languishes behind the scenes.

If your game lags, I'm not 100% sure these objects and methods will solve the problem, but they're definitely faster than a typical Flash Array. I'd love to see some examples of use cases (simulating a deck of cards comes to mind for FILO, for example,) or examples of step-through, sort, and search methods which could make these objects as versatile as standard arrays.

Oh well, maybe in part 2! For now, this should be required reading for anyone who uses AS3! Keep up the good work, Mind-Blight!

People find this review helpful!
Mind-Blight responds:

Thanks a bunch!

I'm thinking of creating a second which focuses on OOP philosophy and AS3 in general. I've been browsing the forums, and a lot of people seem to be scared of AS3 because of its more rigorous adherence to OOP styles.


Rated 4 / 5 stars

Excellent, accurate

going to the tutorial section.

People find this review helpful!
Mind-Blight responds:


I hope so.


Rated 1.5 / 5 stars

If your so amazing at programming...

How come the music runs together if you play the other.

People find this review helpful!
Mind-Blight responds:

Because you and I are running different versions of the Flash environment. It works perfectly for me and other people I had test it. In other words, update flash.

I currently work at the University of Oregon programming software for research on helping patients with brain damage. My main mediums are Flash and Javascript/CSS/HTML. Both Javascript and Actionscript are derivations of the same core language: EMAScript 3. Plus, I have a degree in Computer Science. And Mathematics. To break it down for you: I've got a pretty good idea of what I'm talking about.