Image with Javascript

Hello …

I’m trying to get the image path by using Javascript.

  • I have 9 images in folder called ASSET.

  • When user clicked the button I want random image appear on screen.

  • I already used random function in Javascript and I added the path and .png to the random number that I got.

but when I used the path in Image tag it didn’t work I don’t know why !! also I want the image removed when the user clicked on the image that appeared.


Try the latest QA build (Fuse 0.11):

Also, make sure Assets/*.png:Bundle is added to your .unoproj Includes section!