Alex, I was using an old 0.97 version (10/31 build). I've confirmed that the pop up shows up at center. I should have checked with the latest version before asking.
Thanks. ST On Fri, Dec 6, 2019 at 1:55 AM Alex Harui <[email protected]> wrote: > Alerts should be centered as of 11/20/2019. Are you running on the latest > sources? > > > > -Alex > > > > *From: *Takeshita Shoichiro <[email protected]> > *Reply-To: *"[email protected]" <[email protected]> > *Date: *Thursday, December 5, 2019 at 4:25 AM > *To: *"[email protected]" <[email protected]> > *Subject: *Alert popup > > > > > Unlike Flex, alert pop up does not appear at the center but at the top > left corner. > > Is this a spec? Is there any way to display the pop up at the center? > > > > The following is the markup. > > > > > > <?xml version = "1.0" encoding = "utf-8"?> > > > > <s:Application xmlns:fx = "http://ns.adobe.com/mxml/2009 > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270892183&sdata=pdahMmHwBAAagfecbwomwBth1WIC8%2BMMMdeId5%2FS%2BHE%3D&reserved=0> > " > > > > xmlns:s="library://ns.apache.org/royale/spark > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270892183&sdata=%2Bm3I32l3v1hRG0RjTGltV3zks94igaHAArI4VbTGha8%3D&reserved=0> > " > > > > xmlns:mx="library://ns.apache.org/royale/mx > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7Cd3ef7d8c03d34f24060108d7797e34e1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111455270902172&sdata=2vmWqMqPpITjqa5yciJOs2BtKH39N96fjOaxZaaKNRo%3D&reserved=0> > " minWidth="955" minHeight="600"> > > > > > > <fx:Script> > > > > <![CDATA[ > > > > import mx.controls.Alert; > > > > protected function > HelloButton_clickHandler(event:MouseEvent):void > > > > { > > > > Alert.show("Hello"); > > > > } > > > > ]]> > > > > </fx:Script> > > > > > > <s:Button x="17" y="30" label="Greeting" id="HelloButton" click= > "HelloButton_clickHandler(event)"/> > > > > </s:Application> > > > > > > > > S. Takeshita > > > > > -- Shoichiro Takeshita 武下 祥一郎
