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.
