# Problem Displaying name from input field

**URL:** https://forum.kirupa.com/t/problem-displaying-name-from-input-field/290402
**Category:** flash
**Created:** [June 14, 2009, 6:33am UTC](https://forum.kirupa.com/t/problem-displaying-name-from-input-field/290402 "2009-06-14T06:33:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Obi\_Wan](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)
#### Post date: [June 14, 2009, 6:33am UTC](https://forum.kirupa.com/t/problem-displaying-name-from-input-field/290402/1 "2009-06-14T06:33:00Z")

</div>

Hey everyone having problem inserting the a name from an input text field and displaying it in another movieclip please take a look

in the class declaration:  
public var playerName:TextField;

in the constructor:  
playerName = userName.text;

1067: Implicit coercion of a value of type String to an unrelated type flash.text:TextField.
