This content has been marked as final. Show 3 replies
Setting member.image will not alter member.name - you have something
else going on in your code. Are you perhaps using binding with Valentina?
I think if you store a reference to the member in a variable - property or global, it will be maintained if you change other properties of the member. ie
myMember = member("joker")
--change the picture or image properties
sprite(1).member = myMember
I get sdome images to a lingo list with getImage valentina function. then I do
member("joker").image = imagelist
and the name of the member changes to the filename of the image in imagelist.
If I do the same with picture property there is no problem and the image pereserves its name. So I guess I will use the picture property ans getPicture function
johnAq's approach also works. I also agree that there is a mistake to my code(lingo specific) , maybe references or something but I don't know what is exactly.
thanks a lot