Use a backslash (\) in front of a hyphen to show that you want the hyphen literally
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:TextInput id="firstNameTextInput" restrict="a-z A-Z ' \-" /> </mx:Application>