I have a very similar issue to this post http://community.openfl.org/t/cant-access-gif-with-assets-getbytes/329 but the fix proposed does not work for me...
Basically, I want to display an animated gif using the haxe-gif library:
var bytes = haxe.io.Bytes.ofString(Assets.getText("images/mygif.gif"));
But I got the following error:
There is no String Asset with an id of images/mygif.gif
Same error (no ByteArray asset) if I do:
var bytes = haxe.io.Bytes.ofData(Assets.getBytes("images/mygif.gif"));
So I added the type "binary" to my assets tag in the project.xml file as suggested in the post mentioned above but I still got the same error.
<assets type="binary|images|text" path="../../Assets/img/hd" rename="images"/>