# Disable hyphen line break in dynamic textfield

**URL:** https://forum.kirupa.com/t/disable-hyphen-line-break-in-dynamic-textfield/325900
**Category:** flash
**Created:** [November 10, 2011, 6:29pm UTC](https://forum.kirupa.com/t/disable-hyphen-line-break-in-dynamic-textfield/325900 "2011-11-10T18:29:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thedark\_master](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@thedark\_master](https://forum.kirupa.com/u/thedark_master)
#### Post date: [November 10, 2011, 6:29pm UTC](https://forum.kirupa.com/t/disable-hyphen-line-break-in-dynamic-textfield/325900/1 "2011-11-10T18:29:18Z")

</div>

The textfields in flash automatically line break the second part of a hyphenated word. Is there a property to make the hyphen read as a regular character and treat the whole word as one and not line break at the hyphen?

EX: Current text-field behavior:

Buy all of the teacher-  
approved supplies.

I want it to behave like so:

Buy all of the  
teacher-approved supplies.
