|
You could also look into the DateFormatter
class. Matt From: Anthony
Merryfield [mailto:[EMAIL PROTECTED] Hi
everyone, I
need to display the current date on screen in an easy to read format but get
this error each time I try: A
class's instance variables may only be initialized to compile-time constant
expressions. A
snippet of my code is below, it is in a component: <?xml
version="1.0" encoding="utf-8"?> <mx:Box
xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns:vo="uk.co.isesolutions.apps.commerce.modules.fulfilment.flex.vo.*"
xmlns:debug="uk.co.isesolutions.framework.flex.debug.*"
xmlns:viewHelper="uk.co.isesolutions.apps.commerce.modules.fulfilment.flex.viewHelper.*"
childrenCreated="initComponent()" hide="validateBDVS()"
width="100%">
<viewHelper:DirectDebitViewHelper id="directDebitVH"
name="directDebitView" view="{ this }" />
<mx:Script>
<mx:VBox width="100%"> </mx:Box>
If
anyone can help, either with the code above or by junking what i've done and
supplying me with something known to work, i'd be very thankful! Cheers,
Tony.
Yahoo! Groups Links
|
Title: Displaying the current date in an easy to read format

