There is no setTextFromat property in the TextArea

----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, January 17, 2008 10:58:06 AM
Subject: [flexcoders] Error: Call to a possibly undefined method setTextFormat

Why am I getting: " Error: Call to a possibly undefined method 
setTextFormat" ?

I did a search on google and got zero results for "Error: Call to a 
possibly undefined method setTextFormat"
I totally do not understand why I am the only person in the history of 
the world who is getting this error.

Feedback IS a TextArea, and setTextFormat IS a method of TextArea so it 
makes no sense at all.

var formatter:TextForma t= new TextFormat() ;
formatter.bold= true;
formatter.size= 30;
feedback.setTextFor mat(formatter) ;

<mx:TextArea id="feedback" width="230" fontWeight=" bold" text="" x="350" 
y="100" >

</mx:TextArea >




      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to