The idea behind my first app is that you press a button, and it makes noise. Heres the code I have. For some reason, it does everything but play the sound…
display.setStatusBar(display.HiddenStatusBar)
local button = display.newImage( “Circle.png” )
button.x = display.contentWidth / 2
button.y = display.contentHeight - 50
function button:tap( event )
media.playEventSound( “beep.caf” )
end
button:addEventListener( “tap”, button ) [import]uid: 27919 topic_id: 8393 reply_id: 308393[/import]
[import]uid: 27919 topic_id: 8393 reply_id: 30257[/import]