Library: PracticalSprite
January 22nd, 2008
Author: Michael Krotscheck
Category: Libraries
Tags: actionscript, flash, flex, sprite
I saw the need to create my own sprite class because both Flash and Flex’s method of handling basic component functionality were contained in two completely different classes, both of which happen to be named the same thing. Given that I could at no time guarantee that a developer would have access to the codebase of either, it became necessary for me to roll my own. This way, at least, I can do cross-platform development without having to force my users to a particular dependency. Unfortunately, this class won’t fully solve the problem until Flex 3 is released as open source, since for proper usage in Flex this will have to implement IUIComponent, and that’s still licensed.
