addEventListener and NewLine not working

Hi,

is it possible to add an event listener to a vector line?

The follwing does not work:

function lineTouch()
print(“Line touched”)
end

local myLine = display.newLine(50, 50, 50, 150)
myLine.width = 12
myLine:setColor(0, 180, 180)
myLine:addEventListener( “touch”, lineTouch )

Am I doing something wrong, or can’t lines have events on them?

I also tried adding the line to agroup, this didn’t work either…

Anyone have a workaround, or is it just not possible?

Thanks [import]uid: 43961 topic_id: 9576 reply_id: 309576[/import]

no touch events on lines. feature is not applicable. no timeline to fix.

c. [import]uid: 24 topic_id: 9576 reply_id: 34988[/import]

I would either use a graphic for the line, or else make a very narrow rectangle that looks like a line. No promises but either of those could work. [import]uid: 6175 topic_id: 9576 reply_id: 35011[/import]

is this ever going to be supported? would be nice…thanks! [import]uid: 35190 topic_id: 9576 reply_id: 66854[/import]

we know. but right now there are higher priorities and we are about to ship as per my twitter few days back.
c
[import]uid: 24 topic_id: 9576 reply_id: 66870[/import]