Hi,
I tried to use
%26lt;mx:DateFormatter id=''Datum_de'' formatString=''DD.MM.YYYY''/%26gt;
in m Application with Fb4b1:
I got the error message:
''In initializer for 'mxmlContentFactory', type mx.formatters.DateFormatter is not assignable to target Array element type mx.core.IVisualElement.''
What does that mean?
Thanks for any pointers!
Martin Zach
DateFormatter: In initializer for...Hi,
I found the answer by myself:
I have to use that under?%26lt;fx:Declarations%26gt;
such as:
?%26lt;fx:Declarations%26gt;
?%26lt;mx:DateFormatter id=''Date_de'' formatString=''MM.JJ.YYYY''/%26gt;
?%26lt;mx:DateFormatter id=''Date_uk'' formatString=''YYYY/MM/DD''/%26gt;
?%26lt;/fx:Declarations%26gt;
Martin Zach
DateFormatter: In initializer for...In the current Flex 4 trunk the error message reads something like - so hopefully a bit more descriptive.?
'DateFormatter' declaration must be contained within the %26lt;Declarations%26gt; tag, since it is not assignable to the default property's element type 'mx.core.IVisualElement'.
No comments:
Post a Comment