[Flash] Fixed error with embedded assets

Also changed this in hake.