SO, use of this text_mc is use o fan undocumented feature? Is this wise? DK
On 10/31/05, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote: > Greg, > Place breakpoint on the focusOut="setDateFromText()" line. When in > debugger. step in and look at the source of DateField - you should see the > components that make up DateField. > > HTH, > Anatole > > ----- Original Message ----- > From: "Greg Morphis" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Monday, October 31, 2005 4:26 PM > Subject: [flexcoders] text_mc in flex > > > >I ran across some code: > > <mx:DateField > > id="daDate" > > selectedDate="{_selectedDate}" > > change="setDateFromCal(event)" > > open="this.dispatchEvent(event)" > > close="this.dispatchEvent(event)" > > scroll="this.dispatchEvent(event)" /> > > > > <mx:TextInput > > id="input" > > text="{formatter.format(_selectedDate)}" > > width="{daDate.text_mc.width}" > > focusOut="setDateFromText(event)" /> > > > > <mx:DateFormatter id="formatter" /> > > > > > > Can someone explain what text_mc is? I don't see it defined anywhere > > else and I didnt see it in the flex documentation. > > > > Thanks! > > > > > > -- > > Auxilium meum a Domino > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/