Yee, yee I know its me again, but that forum is so helpful that can’t resist to ask again for help 
…after my button is pressed I would like to change scene using director.lua and make that button invisible on scene1.
I did that on project without ui, but I prefer with ui.
Here is my code everything works (sound, rollover) but no scene change action.
Thanks for help.
[lua]module(…, package.seeall)
local ui = require(“ui”)
local director = require (“director”)
display.newGroup()
function new()
local localGroup = display.newGroup()
local beepsound = media.newEventSound( “ch1.mp3” )
local button1Release = function( event )
media.playEventSound( beepsound )
end
local background = display.newImage (“background.png”)
localGroup:insert(background)
local button1 = ui.newButton{
default = “fire.png”,
over = “fireroll.png”,
onRelease = button1Release, button1Release
onEvent = buttonHandler,
id = “button1”,
text = “Fire”,
font = “Trebuchet-BoldItalic”,
textColor = { 51, 51, 51, 255 },
size = 20,
emboss = true
}
button1.x = 95; button1.y = 55
local function touchstart (event)
if event.phase == “ended” then
director:changeScene (“scene2”, “overFromRight”)
end
end[/lua] [import]uid: 22037 topic_id: 11584 reply_id: 42649[/import]