# Linebreaks and freezing a button's position

**URL:** https://forum.kirupa.com/t/linebreaks-and-freezing-a-buttons-position/273825
**Category:** flash
**Created:** [October 21, 2008, 12:19pm UTC](https://forum.kirupa.com/t/linebreaks-and-freezing-a-buttons-position/273825 "2008-10-21T12:19:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Drew91](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@Drew91](https://forum.kirupa.com/u/Drew91)
#### Post date: [October 21, 2008, 12:19pm UTC](https://forum.kirupa.com/t/linebreaks-and-freezing-a-buttons-position/273825/1 "2008-10-21T12:19:52Z")

</div>

Alright, I’m new to flash and actionscript, and I’m making a site in flash for a school project. I was wondering what the command would be to cause a line break when text is inserted through actionscript.

```auto
 
hometext.text = "Text here";

```

Another problem I’m having is I have buttons that move out when the mouse is over them. I want to know how to lock the button in it’s “moved out” state so that the user knows which catagory they’re in, and for the button to move back when a new button is locked in a “moved out” position.
