FWIW, the reason there is no PopUpManager in FlexJS is only because nobody has needed it yet. The mx.managers.PopUpManager and related classes is a pretty sophisticated subsystem that allows multiple "top-level" overlapping windows. All of that code is only truly needed if you have more than one popup on the screen at a time and folks need to move them around and overlap them.
FlexJS is being implemented with a pay-as-you-go (PAYG) philosophy. So far, all of our code only needs to popup one thing at a time, so you can just find an IPopUpHost or use the main view and call addElement and removeElement and you app will be smaller and faster. But if you do need overlapping top-level windows, then we need a volunteer to create the equivalent functionality for FlexJS. Thanks, -Alex On 9/12/17, 4:50 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: >Exactly! > >It is in general means that if you have clean up ActionScript logic(no >Flash dependency) in your old application - you can in most cases take it >and use it in your FlexJS code, with some correction like usage of >ArrayCollection:) > >Thanks, >Piotr > > >2017-09-12 13:42 GMT+02:00 Olaf Krueger <m...@olafkrueger.net>: > >> m_awais wrote >> > I am trying to import mx.managers.PopUpManager in my flex JS project >>mxml >> > file. >> >> There's no way to use "s:" or "mx:" components with FlexJS! >> In general, you can't reuse anything that has a dependency to Flash or >> classic Flex! >> This is also true for e.g. the "mx.collections.ArrayCollection". >> >> HTH, >> Olaf >> >> >> >> >> -- >> Sent from: >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl >>ex-development.2333347.n4.nabble.com%2F&data=02%7C01%7C%7C337c7a12abdb423 >>4f87a08d4f9d47424%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364081382 >>59812516&sdata=oY7lrbk9Z9ElyK2z0G7jJQoC6%2B82wiBA8YUAv%2FZzjJQ%3D&reserve >>d=0 >> > > > >-- > >Piotr Zarzycki > >mobile: +48 880 859 557 >skype: zarzycki10 > >LinkedIn: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linked >in.com%2Fpiotrzarzycki&data=02%7C01%7C%7C337c7a12abdb4234f87a08d4f9d47424% >7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636408138259812516&sdata=re0Y >Mxv2SvdGqPrv5fEkZaV53pIqdYHmakDypQG09p8%3D&reserved=0 ><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpl.linke >din.com%2Fin%2Fpiotr-zarzycki-92a53552&data=02%7C01%7C%7C337c7a12abdb4234f >87a08d4f9d47424%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364081382598 >12516&sdata=zoyGfdFzqmbbIxJq%2BvdB034ZV6GPXyCYrxus8qOmJzI%3D&reserved=0>