Hi.
I have a problem. I want my newRect to overlap newTextField control. My code:
local localGroup = display.newGroup()
local txtOne = display.newTextField( display.contentWidth/2 - 140, 260, 280, 60)
local txtTwo= display.newTextField( display.contentWidth/2 - 140, 360, 280, 60)
local rect= native.newRect( display.contentWidth/2 - 140, 260, 280, 360)
localGroup:insert(txtOne)
localGroup:insert(txtTwo)
localGroup:insert(rect)
Result i have: txtOne and txtTwo always overlaping my rect object. But I want rect object to be on top of
txtOne and txtTwo. Is there a way to do this?
Thank you [import]uid: 162812 topic_id: 29819 reply_id: 329819[/import]