I keep getting this error and I’m not sure why.
TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::[email protected] to fl.controls.TextArea.
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.
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;