But if I " /> But if I " /> But if I "/>

How to embed an image in windows target?

164 Views Asked by At

I tried to add embed = true in project xml like this:

<assets embed="true" path="Assets" rename="assets" include="*" exclude="openfl.svg" />

But if I try to delete an image from assets folder, then run the exe file, the image will not be displayed, thus, it still loaded form assets folder.

Can some one help?

1

There are 1 best solutions below

0
simo On

Thanks every body, I found the answer of Joshua here Embeding and reading image assets when deploying to Windows

But who to know where to read about the answer in the openFL documentation?