forked from: flash on 2010-11-24

对http://wonderfl.net/c/bPbw做了点改动
@author sliz http://game-develop.net/blog/