forked from: flash on 2010-6-24

...
@author Motoki Matsumoto