Hi,
Is it possible to update the parameters of an object which is a display.newImageRect ?
I have nested displayGroups with these objects which have a lot properties. So the way I do it now is removing the object from the displayGroup and reinsert it with new parameters (and properties like object.x for position). This feels kinda clumsy and needs to much code imo.
The properties can be updated easily by accessing the displaygroup like
[lua]myGroup[line][letterImage].x = myGroup[line][letterImage].x + 30[/lua]
But how could the parameters be updated?
To be clear I mean these parameters :
[lua]object = display.newImageRect( [parentGroup,] filename [, baseDirectory] width, height )[/lua]
thx [import]uid: 148841 topic_id: 29602 reply_id: 329602[/import]