views:

32

answers:

1

In ActionScript, you can do something like this:

[Embed(source = "src/myfile.xml", mimeType = "application/octet-stream")]
private var xml : Class;

and it will embed your file to be used in code. How can i do something similar in HaXe?

+3  A: 

HaXe allow you to provide external resources info for embedding in hxml.

You may refer to the doc.

Andy Li