Having trouble with MultiTouch

Hi,

Am having a problem with MultiTouch and getting it working with widget buttons.

My buttons work fine on their own but if I press on one and hold down and then try pressing on another, the one am pressing on releases.

I am using StoryBoard and enabling MultiTouch in Main.lua before I do anything else.

My event code for each button is -

 if event.phase == "press" then  
 display.getCurrentStage():setFocus( event.target, event.id )  
 -- I have code here to fire stuff etc...  
 elseif event.phase == "release" then  
 display.getCurrentStage():setFocus( nil, event.id )  
 end  
 return true  

I have only just added the setFocus stuff, as I thought that would solve the problem.

Dave [import]uid: 117617 topic_id: 27515 reply_id: 327515[/import]

Just converted 2 buttons to use the old ui.lua from the sample code and they are handling MultiTouch perfectly.

Looks like the Widget buttons don’t do MultiTouch.

Dave [import]uid: 117617 topic_id: 27515 reply_id: 111798[/import]