The DateField and DateChooser classes were
written for Flash MX 2004 originally so our formatters didn't exist. Feel
free to submit a feature request that asks for those classes to be expanded to
automatically take an instance of the DateFormatter. In the meantime you
can have the DateFormatter do the work by doing this:
<mx:DateFormatter
id="df" formatString="YYYY/MM/DD" />
<mx:DateField dateFormatter="{mx.utils.Delegate.create(df,
df.format)}" />
Matt
-----Original Message-----
From: Raymond Camden
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 11:29
AM
To: [email protected]
Subject: [flexcoders]
datefield/chooser and formatters
Why is it that we can't use a DateFormatter as the
value of the
dateFormatter attribute for dateField/Chooser
controls?
===========================================================================
Raymond Camden, ColdFusion Jedi Master for
Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
Email : [EMAIL PROTECTED]
Blog :
www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it
is." - Yoda