Recent News
Published October 19, 2011
|
FITC Amsterdam has been announced, and as always we've gotten an exclsuive discount for ActionScript.org members. Discount code Actionscript provides 10% off any FITC Amsterdam 2011 tickets. The super early bird deadline is November 25th. (No, we don't get kickbacks. We just love you!)
Featured Articles
The NextPrev tutorial deals with pagination in Flash, a situation I seem to run into more and more these days. My usual course of action was to serve up the data to a PHP/HTML page and let it deal with paginating the results. But Flash has so much more to offer than the traditional html page, that I decided to recreate the process in Flash, which is a bit ironic in these days of Mr Jobs pushing HTML5 to do everything Flash does, only better. The resulting code was a natural for a Class, or at least it was after I copied and pasted it into a few different projects. This tutorial started out to be of average length, but as I got into it, I realized that there is quite a bit going on in the demo file that really needs to be explained. I am always muttering about the author leaving unexplained the one part I really wanted to know about, so, not wanting to do that, it's a bit longer than usual. And, if there are things I haven't explained to your personal satisfaction, my inBox is always open!
In this tutorial, we will build a class together that will automate the task of giving any group of buttons some "button disabling" behavior. You will learn about how to make the class handle any type of button. You will learn about how to decide what tasks ought to be "built-in" to the class, and which tasks are best managed by outside code. You will also learn about interfaces and polymorphism (painlessly, I promise). What you will learn about AS3 classes and OOP is the important thing, but at the same time, I think the ButtonDisabler class is something you wlll find handy and useful in the future. And I hope you'll also realize that if you can make something like this, there are any number of other similar things that you can make as well. It just takes some imagination.Recent Articles
Recent Blogs
By Alex Nino
|
March 24, 2011
By Ruben Swieringa
|
March 14, 2011
By Atishay Jain
|
March 2, 2011
By Alex Nino
|
February 7, 2011
By Haik Sahakian
|
January 14, 2011
By Haik Sahakian
|
August 25, 2010
By Haik Sahakian
|
April 27, 2010
By Haik Sahakian
|
April 21, 2010

