# I keep getting this error: TypeError: Error #1034: Please help!

**URL:** <https://forum.kirupa.com/t/i-keep-getting-this-error-typeerror-error-1034-please-help/288896>\
**Category:** flash\
**Created:** [May 22, 2009, 2:41pm UTC](https://forum.kirupa.com/t/i-keep-getting-this-error-typeerror-error-1034-please-help/288896 "2009-05-22T14:41:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [May 22, 2009, 2:41pm UTC](https://forum.kirupa.com/t/i-keep-getting-this-error-typeerror-error-1034-please-help/288896/1 "2009-05-22T14:41:43Z")

</div>

I keep getting this error and I’m not sure why.

TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@3a062121 to fl.controls.TextArea.  
at SrHome\_fla::MainTimeline/frame3()  
at flash.display::MovieClip/gotoAndPlay()  
at SrHome\_fla::intro\_mc\_3/frame139()

I am fairly new at this As 3.0 stuff so bare with me if this is an easy fix.

Here is the code that I am using that produces that error.

import fl.controls.\*;

var info\_txt:TextArea = photoArea\_mc.photoSquare\_mc.info\_txt;

var image:XML = new XML(\<image/\>);  
image.@fileName = “pic1.jpg”;  
image.photographer = “Photographer 1”;

info\_txt.text = image.photographer;

stop();
