[Resolved] Storyboard.gotoScene flickers?

Hey guys,
When I call the function [code] local bannererror = display.newImageRect(“Images/Interfaces/specserror.png”,350,53)
bannererror:setReferencePoint(display.CenterReferencePoint)
bannererror.x = display.contentCenterX
bannererror.y = display.contentHeight/10.5
bannererror:scale(.9,.9)
–Begin Internal Banner Error Function–

function bannererror:tap( event )
storyboard.gotoScene(“preferences”)
end

bannererror:addEventListener( “tap”, bannererror )

–End Internal Banner Error Function–
[/code] It briefly flashes the preferences.lua scene, but then remains at its current scene. Do you know what might be causing this?
Thanks,

Alex [import]uid: 139917 topic_id: 26690 reply_id: 326690[/import]

Hey guys quick update. I was able to find the culprit. I did not realize that I hadn’t removed the excess Runtime/enterFrame Functions that I left in main.lua

Sorry for all the noob questions, I’m new to lua and I’m learning as I go along,
Thanks

Alex [import]uid: 139917 topic_id: 26690 reply_id: 108196[/import]

Not a noob question at all - and please, don’t be sorry, you posted your solution for others who encounter the same problem. Thank you :slight_smile: [import]uid: 52491 topic_id: 26690 reply_id: 108289[/import]