Hi everyone, I have a problem with tables and groups in Corona sdk.
I know you can not insert a table within a group using group: insert (table), but there must be something I can do.
What I need is to remove a group of images from a table when scene change … the images stay on the screen.
So, this is my table:
logoNames = {} logoNames[1].img = { "photo1.png", "photo2.png" } logoNames[2].img = { "photo3.png", "photo4.png" }
Then i’m using a SlideView to show the images:
display.setStatusBar(display.HiddenStatusBar) local slideView = require("Zunware\_SlideView") local topImages = { "1", "2", } topImages = logoNames[cNum].img --imagesGroup:insert(topImages) -- This isn't working
And when you press a button, a whole group swipe out:
transition.to(imagesGroup, { delay = 400, time = 300, y = 600 })
Is there any way to put the images from topImages in the imagesGroup?
**imagesGroup is already exists and is a display.newGroup
**I found this topic that is very similar to my problem, but it doesn’t help me
http://forums.coronalabs.com/topic/42602-how-to-use-insert/
Thank you very much!