March 16, 2009
Are your event handlers bad?
Event handlers can be bad. They're not intrinsically bad - that's how shit gets done in AS3. It's the way they often get written that can be bad. Consider the following example:
PLAIN TEXT
Actionscript:
package
{
import fl.motion.Color;
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
public class Nothing [...]