Skip to main content
September 2, 2013
Question

type="email" for AS3?

  • September 2, 2013
  • 1 reply
  • 1105 views

Gidday

In HTML5, clicking in an input text field that is of type="email", makes mobile devices show a keyboard specifically for entering emails. Is it possible to do the same for a text field in AS3 when designing an AIR app for iOS/Android?

Cheers

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 2, 2013

using an input textfield should trigger the keyboard when it receives focus

September 2, 2013

Hey mate

It triggers the keyboard, but there are two types of keyboard you can trigger with HTML5 - the regular one, and one that is set up for entering emails - it has the @ key, and the . key. I'm wondering how you trigger the latter with AS3.

Inspiring
September 2, 2013

I doubt that every mobile device has these two types of keyboard. there are literally thousands of different android devices (phones/tablets) that implement these things differently (I have for example a Toshiba Thrive Tablet and never encountered such a "special" keyboard), you should stick to the one this special device defaults to, since that is what the user of this device expects.