like this? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" > <mx:Script> <![CDATA[ [Bindable] private var myFontSize:Number=20; private function initApp():void{ myFontSize=40; } ]]> </mx:Script> <mx:Label id="test" text="Sherif" fontSize="{myFontSize}" mouseOver="initApp()" /> </mx:Application>
----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, January 17, 2008 11:46:20 AM Subject: Re: [flexcoders] Error: Could not resolve <mx:TextField> to a component implementation. Thanks, but I want to change the size dynamically. I want the size to get larger and then smaller. Sherif Abdou wrote: > > <mx:Label fontSize="20" /> > > > > > > ----- Original Message ---- > From: "[EMAIL PROTECTED] org" <[EMAIL PROTECTED] org> > To: [EMAIL PROTECTED] ups.com > Sent: Thursday, January 17, 2008 11:39:41 AM > Subject: Re: [flexcoders] Error: Could not resolve <mx:TextField> to a > component implementation. > > And then how do I set the fontSize ? > Error: Access of possibly undefined property fontSize through a > reference with static type mx.controls: Label. > > Maciek Sakrejda wrote: > > > > Try <mx:Label>. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] org <mailto:info1% 40reenie. org> <mailto:info1% > 40reenie. org> <[EMAIL PROTECTED] org <mailto:info1% 40reenie. org> > > <mailto:info1% 40reenie. org>> > > Reply-To: [EMAIL PROTECTED] ups.com > <mailto:flexcoders% 40yahoogroups. com> <mailto:flexcoders% > 40yahoogroups. com> > > To: [EMAIL PROTECTED] ups.com > <mailto:flexcoders% 40yahoogroups. com> <mailto:flexcoders% > 40yahoogroups. com> > > Subject: [flexcoders] Error: Could not resolve <mx:TextField> to a > > component implementation. > > Date: Thu, 17 Jan 2008 12:18:08 -0500 > > > > Is there no mxml TextField tag ? > > > > Error: Could not resolve <mx:TextField> to a component implementation. > > <mx:TextField id="feedback" width="230" fontWeight=" bold" text="" > > x="350" y="100" > > > > > </mx:TextField > > > > > I'm trying to make the word "correct" with a font size of 20 > > > > > > > > ------------ --------- --------- --------- --------- --------- - > 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=Ahu06i62sR 8HDtDypao8Wcj9tA cJ%20> > > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

