Without looking at more of the code, I’m guessing there is a “descriptors” property that returns the “_descriptors” array. If that’s the case, then I would add a check to the descriptors getter to check if _descriptors has been initialized and if not, call setFormatsToDefault.
-Alex From: Serkan Taş <serkan....@likyateknoloji.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Monday, November 25, 2019 at 12:55 PM To: "users@royale.apache.org" <users@royale.apache.org> Subject: TextConverter method call Hi, TextConverter has a method named setFormatsToDefault() and called while the application is loaded - I guess automatically because I could not find any reference - in Flex, but never called in Royale. Source piece Royale : // register standard importers and exporters setFormatsToDefault(); /** @private */ static public function setFormatsToDefault():void // No PMD { _descriptors = []; addFormat(TEXT_LAYOUT_FORMAT, TextLayoutImporter, TextLayoutExporter, TEXT_LAYOUT_FORMAT); addFormat(TEXT_FIELD_HTML_FORMAT, TextFieldHtmlImporter, TextFieldHtmlExporter, null); addFormat(PLAIN_TEXT_FORMAT, PlainTextImporter, PlainTextExporter, "air:text"); } Flex : // register standard importers and exporters setFormatsToDefault(); /** @private */ static tlf_internal function setFormatsToDefault():void // No PMD { _descriptors = []; addFormat(TEXT_LAYOUT_FORMAT, TextLayoutImporter, TextLayoutExporter, TEXT_LAYOUT_FORMAT); addFormat(TEXT_FIELD_HTML_FORMAT, TextFieldHtmlImporter, TextFieldHtmlExporter, null); addFormat(PLAIN_TEXT_FORMAT, PlainTextImporter, PlainTextExporter, "air:text"); } How should be the mechanism for the flow in Royale ? Thanks, Serkan