tags:

views:

33

answers:

1

Hello,

i am trying to modify during runtime an image in my application, this image is located inside assets folder, so thats why i dissable -use-network=false flag, then i call something like this:

img.source="../assets/pict.png";

but it's not working. i know its a silly question but i am stuck here. any hint i appreciate.

Br

+1  A: 

I don't think you need the ".." all of my images are in my "img" folder and I call them with "/img/image.png"

invertedSpear
invertedSpear has it right. You don't need the .. part.
Jason Towne
the .. was because i got the picture folder at the same level than binary one, so move to the parent folder and enter in the imges one.i discover that if i put the resource folder inside the binary one its working, otherwise is not. Maybe some security policy or something is affecting this.anyway thanks for your help, i appreciate.
ignatius