updated for dartflash 0.7.1