fix for pure flash target

useful for testing AIR mobile apps (without OpenFL)
Merge pull request #38 from PeyTy/master

fix for pure flash target