Melliti opened a new issue #939: URL: https://github.com/apache/royale-asjs/issues/939
During my work to migrate a flex project to Apache Royale, i faced a problem to access function from a parent file. <mx:Button text="Login" click="parentDocument.test_func()"/> I use Button from Jewel now but i hqve this error now: ***Access of possibly undefined property parentDocument.*** on the doc I found ```Look for uses of ‘document’ and ‘parentDocument’ and change them to ‘component’ and ‘parentComponent’.``` https://apache.github.io/royale-docs/migrate-an-existing-app/migrate-from-flex but parentComponent gives me the same error ***Access of possibly undefined property parentComponent.*** Is it deprecated or renamed ? Do i miss something? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
