Thanks, that worked. ________________________________ From: Alex Harui <[email protected]> Sent: Sunday, March 15, 2020 10:14:28 AM To: [email protected] <[email protected]> Subject: Re: Reflection Question
Too late at night for me to ponder the best practice, but the easiest workaround should be to make the private var protected. HTH, -Alex On 3/15/20, 12:50 AM, "Yishay Weiss" <[email protected]> wrote: I have Flex code: _value = this[_formatter].format(dtTest); where _formatter == “_dateFormat” In the same class, I have private var _dateFormat:DateFormatter; which is populated In Flex this[_formatter] returns a DateFormatter object, whereas in Royale it’s undefined. On the other hand, in Royale this[Classes_Input_ValidatedTextInput__dateFormat] has the correct DateFormatter; What’s the best way to migrate this code? Thanks.
