The reason for this seems to come up as soon as you publish your movie in wmode( transparent window mode), then the movie only can accept US keyboard-key locations.
more here:
http://blog.headlondon.com/archives/no-wmode-please-were-british/
One Workasround could be:
keyPresser = new Object();
keyPresser.onChanged = function(intxt:TextField) {
if (34 == ((Key.getAscii())) || 64 == ((Key.getAscii()))) {
intxt.text = intxt.text.slice(0,intxt.text.length-1) +”@”;
}
};
Key.addListener(keyListener);
input_txt.addListener(keyPresser);
No comments:
Post a Comment