local btn = ccui.Button:create("button/btn_n.png", "button/btn_p.png", "button/btn_d.png", 0)
self:addChild(btn)
btn:pos(display.cx, display.cy + 300)
btn:addTouchEventListener(function(ref, eventType)
if cc.EventCode.BEGAN == eventType then
print("BEGAN")
elseif cc.EventCode.MOVED == eventType then
print("MOVED")
elseif cc.EventCode.ENDED == eventType then
print("ENDED")
elseif cc.EventCode.CANCELLED == eventType then
print("CANCELLED")
end
end)