# AS MX 2004 (On Screen Keyboard)

**URL:** <https://forum.kirupa.com/t/as-mx-2004-on-screen-keyboard/150175>\
**Category:** flash\
**Created:** [June 4, 2005, 7:33pm UTC](https://forum.kirupa.com/t/as-mx-2004-on-screen-keyboard/150175 "2005-06-04T19:33:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Post date:** [June 4, 2005, 7:33pm UTC](https://forum.kirupa.com/t/as-mx-2004-on-screen-keyboard/150175/1 "2005-06-04T19:33:00Z")

</div>

This problem has been stuck in my head for awhile. Its an on screen keyboard for a touch screen kiosk.

The text is easy enough.

I have a dynamic text box.

The on screen keys are scripted like this

[COLOR=DarkSlateBlue]a\_btn.onPress = function(){  
my\_txt.text = my\_txt.text + “a”;  
}[/COLOR]

okay that’s fine but how am I going to do a delete key? Strings? Never worked with strings. I’ve been playing with the [COLOR=DarkSlateBlue]String.slice()[/COLOR] method but no luck.
