# Hitting Return:: AS2

**URL:** <https://forum.kirupa.com/t/hitting-return-as2/243052>\
**Category:** flash\
**Created:** [November 2, 2007, 9:25am UTC](https://forum.kirupa.com/t/hitting-return-as2/243052 "2007-11-02T09:25:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [November 2, 2007, 9:25am UTC](https://forum.kirupa.com/t/hitting-return-as2/243052/1 "2007-11-02T09:25:25Z")

</div>

I’m making a notes function where you can type in comments and etc on my website. My problem is that when I want to start a new line and hit enter it goes and opens something completly different OR wipes my movie. Is there a way to basically focus on the textfield and get it to only recognise a return on the textfield as meaning need a new line?

Thanks for any advice.
