aharui commented on issue #825:
URL: https://github.com/apache/royale-asjs/issues/825#issuecomment-630017743
FWIW, the showXML method is relying on deferred validation which won't work
well in Royale. The method should be rewritten as:
```
protected function showXML(event:MouseEvent):void {
var dummyWindow:DummyForm = new DummyForm();
dummyWindow.title="Job List XML";
dummyWindow.htmlTextAsHTML =
menuBarData2.children().toXMLString();
PopUpManager.addPopUp(dummyWindow, this, true);
PopUpManager.centerPopUp(dummyWindow);
dummyWindow.setFocus();
}
```
This sets the properties before adding to the display list so the
creationComplete will run after the properties are set.
----------------------------------------------------------------
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]