I've only recently discovered KitchenSyncLib, an excellent open source ActionScript 3 library for sequencing all manner of things in Flash and Flex applications (animations, function calls, etc.)
The Killing zombie sequences dead in KitchenSyncLib article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
It's an absolute joy to work with but I did hit one tiny snag: When you create a Sequence instance (or any subclass of AbstractSynchronizedActionGroup), populate it with some Actions, and then kill() it, the child actions do not get killed off and can cause the whole Sequence instance to return as a zombie to eat your brains as you tear your hair out in frustration (see issue 10).
The fix, thankfully, is easy. Just replace the kill() method in AbstractSynchronizedActionGroup with the one below:
override public function kill():void { for (var i in _childActions) { _childActions[i].kill(); } _childActions = null; super.kill(); }
Once you've killed all the children and performed your super.kill() power move, the zombie sequences will leave your brains alone forever. :)
The Killing zombie sequences dead in KitchenSyncLib article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Aral,
How does KitchenSyncLib compare to Tweener? I checked out the project page and see that you can sequence pretty much anything including functions, sounds, etc. I believe Tweener can do that too right?
Justin
useflashmore.com
Hey Aral,
I’m glad you like it! Lumbering zombie actions are a stone drag.
Mims