I don't know, I should have included the link in my post, but I can't 
find it now.

Gordon Smith wrote:
>
> > I checked it and double checked it..... very frustrating. .
>  
> Can you please explain exactly what you saw that made you believe that 
> setTextFormat() is a method of TextArea? If there is a documentation 
> problem, I would like to get it fixed so that others aren't similarly 
> confused.
>  
> Gordon Smith
> Adobe Flex SDK Team
>
> ------------------------------------------------------------------------
> *From:* [email protected] [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Doug McCune
> *Sent:* Thursday, January 17, 2008 9:06 PM
> *To:* [email protected]
> *Subject:* Re: [flexcoders] Error: Call to a possibly undefined method 
> setTextFormat
>
> setTextFormat is not a method of TextArea. setTextFormat is a method 
> of TextField. TextArea is not the same as TextField. TextArea is a 
> Flex control. TextField is a base Flash player control. TextArea uses 
> a TextField control internally. If you were to subclass TextArea you 
> could access the protected variable textField, which is the TextField 
> control within TextArea. Then you could call textField.setTextFormat 
> from within your extended class.
>
> Doug
>
> On 1/17/08, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* < 
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>     I checked it and double checked it..... very frustrating. .
>
>
>
>     Sherif Abdou wrote:
>     > There is no setTextFromat property in the TextArea
>     >
>     > ----- Original Message ----
>     > From: "[EMAIL PROTECTED] <mailto:info1%40reenie.org>" <
>     [EMAIL PROTECTED] <mailto:info1%40reenie.org>>
>     > To: [email protected] <mailto:flexcoders%40yahoogroups.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 >
>     >
>     >
>     >
>     > ----------------------------------------------------------
>     > Be a better friend, newshound, and know-it-all with Yahoo!
>     Mobile. Try
>     > it now.
>     >
>     
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20
>     
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>>
>
>     >
>     >
>
>
>  

Reply via email to