Hey Corona Gurus!
Im trying to create my own sort of tableView here. So far im parsing some json from my server and displaying them on screen. Right now, i can drag each “badge” individually, but i need them in a group so i can move them all together.
Im just having trouble using/understanding groups (and insert) in this case.
coupGroup = display.newGroup()
for i,v in pairs(myBadgeArray) do
myBadges[i] = display.newImage("images/"..v)
myBadges[i]:translate(0,(i-1) \* 100)
myBadges[i]:scale(.75,.75)
myBadges[i]:setReferencePoint(display.CenterReferencePoint);
myBadges[i]:addEventListener("touch", badgeListener)
-- coupGroup:insert(myBadges[i]) -- err something like this?
end
Orrrrrr is there a better way to approach something like this?
I’d appreciate any kind of help at all.
thanks friends! [import]uid: 88004 topic_id: 26373 reply_id: 326373[/import]