[Flash] Fixed error with embedded assets

Also changed this in hake.
Merge pull request #39 from kirby0016/master

[Flash] Fixed error with embedded assets