# How to make an object fade after user enter his details

**URL:** <https://forum.kirupa.com/t/how-to-make-an-object-fade-after-user-enter-his-details/319560>\
**Category:** Uncategorized\
**Created:** [February 24, 2011, 4:08pm UTC](https://forum.kirupa.com/t/how-to-make-an-object-fade-after-user-enter-his-details/319560 "2011-02-24T16:08:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaak](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kaak](https://forum.kirupa.com/u/kaak)\
**Post date:** [February 24, 2011, 4:08pm UTC](https://forum.kirupa.com/t/how-to-make-an-object-fade-after-user-enter-his-details/319560/1 "2011-02-24T16:08:08Z")

</div>

This is my first query at any flash forums. I have a assignment where the name and password textfield is on the moon designed on the screen.  
As the user enters his name and password then presses enter the moon has to fade away so another animation can take place.

Is there some action script…that flash recognizes that user typed and pressed entered event then moon fading takes places?.

I know this must be silly, but I don’t know how to do this.
