Display group objects updatable?

Hi,

Can you update a value of an object property in a display group?

something like this:

[lua]local Objects = display.newGroup()

local ObjectX = display.newRect( 0, 0, 25, 25 )
ObjectX.Target = “Bob”
Objects:insert( ObjectX )

Objects[1].Target = “Steve”[/lua]

Thanks,

Pep [import]uid: 23182 topic_id: 18459 reply_id: 318459[/import]

Yes, that code is valid

Raúl Beltrán
MIU Games [import]uid: 44101 topic_id: 18459 reply_id: 70852[/import]

Yes, that code is valid

Raúl Beltrán
MIU Games [import]uid: 44101 topic_id: 18459 reply_id: 70853[/import]