Hi,
In my application I have menu item and a handler which opens file view
popup. It is highly dependent on the function calls of component creation.
While debugging the code;
private function showGenericPopup(fileTag:String):void {
var fileViewWindow:FileViewPopup =
PopUpManager.createPopUp(parentApplication as mx.core.IUIComponent,
FileViewPopup, true) as FileViewPopup;
fileViewWindow.isNativeXML = true;
fileViewWindow.fileTag = fileTag; //"joblog=" +
jobDetailLocalXml.@Id;
PopUpManager.centerPopUp(fileViewWindow);
fileViewWindow.setFocus();
}
the function defined above is called,
* in Flex, the /"creationComplete"/related function of
/FileViewPopup /is called at the line
/"PopUpManager.centerPopUp(fileViewWindow);"/
* in Royale, the /"creationComplete"/ related functionof
/FileViewPopup /is called at the line /"var
fileViewWindow:FileViewPopup =
PopUpManager.createPopUp(parentApplication as mx.core.IUIComponent,
FileViewPopup, true) as FileViewPopup;"/
So in royale some attributes are not yet set while the component is
created.
What should be the right behavior ?
Is this a bug or new implementation is decided like above ?
How should I overcome this issue ?
Thanks,
Serkan