I’m having an issue where when you click into the password field it doesn’t actually become secure (i set isSecure=true after the user clicks into it). It is setting the text and text color though. any ideas? Thanks!
[code]
passwordField = native.newTextField( display.contentWidth/2-150, display.contentHeight/2, 300, 35, function(event)
if event.phase==“began” then
passwordField.text="";
passwordField.isSecure = true;
passwordField:setTextColor(0,0,0);
elseif event.phase==“submitted” then
native.setKeyboardFocus(nil);
elseif event.phase==“ended” then
end
end);
passwordField.align=“left”;
passwordField.size=32;
passwordField.text=“enter password”;
passwordField.font = native.newFont( native.systemFontBold, 24 )
passwordField:setTextColor( 164, 164, 164 )
[/code] [import]uid: 6317 topic_id: 16311 reply_id: 316311[/import]