forked from: flash on 2010-1-9

...
@author Charlie Schulze, charlie[at]woveninteractive[dot]com