Sorry, but probably it's mine failure. It doesn't work when I use logger within. It seems like logger corrupt static properties in someway while going through the logged class.
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Friday, February 10, 2006 9:06 AM To: [email protected] Subject: RE: [flexcoders] Singleton inline initialization problem? Hmm, I believe this should work. Can you put together a case that fails regularly? -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Thursday, February 09, 2006 1:12 AM To: [email protected] Subject: [flexcoders] Singleton inline initialization problem? Hi All! Sometimes application doesn't work correctly when I initialize singleton inline like this: private static var authenticationManager : AuthenticationManager = AuthenticationManager.getInstance(); And then use authenticationManager in class instead of AuthenticationManager.getInstance(). Could you please tell whether I deal with some kind of Flex/Flash bug/feature or such an inline initialization is a mistake by its nature? Thank you in advance! Sergey. -- 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 -- 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/

