Thanks for the reply. My new group never shows on the screen which is why I didn’t think I could do what you describe.
I created a new group local vowelGroup and then insert that sceneGroup:insert(vowelGroup)
Take a look below. Suddenly those widgets don’t show up on the screen.
[lua]
– Called when the scene’s view does not exist:
function scene:create( event )
local sceneGroup = self.view
– Initialize the scene here.
– Example: add display objects to “sceneGroup”, add touch listeners, etc.
local vowelGroup = display.newGroup( )
sceneGroup:insert( vowelGroup )
–BACKGROUND
local bg = display.newImageRect(“images/BG_vowels.png”, 1024, 768)
bg.x = centerX
bg.y = centerY
sceneGroup:insert(bg)
–LOGO
Logo = display.newImageRect( “images/BB_logo.png”, 263, 211 )
Logo.x = display.contentWidth -915
Logo.y = display.contentHeight -90
Logo: scale( .5, .5 )
sceneGroup:insert(Logo)
–WIDGETS
local a_btn = widget.newButton
{
left = 203,
top = 110,
defaultFile = “images/a_red_btn_v.png”,
overFile = “images/a_red_btnPush_v.png”,
onEvent = play_a_btn
}
vowelGroup:insert(a_btn)
local e_btn = widget.newButton
{
left = 585,
top = 110,
defaultFile = “images/e_red_btn_v.png”,
overFile = “images/e_red_btnPush_v.png”,
onEvent = play_e_btn
}
vowelGroup:insert(e_btn)
[/lua]