Hi Muhammad, You cannot simply import something from old Flex. UI creation in FlexJS is very different. There is util [1] which you can mainly use I think similar as PopUpManager, but I have to admit I didn't explore yet this one.
[1] https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/UIUtils.as Thanks, Piotr 2017-09-12 13:06 GMT+02:00 m_awais <mr.ma...@gmail.com>: > Hi, > > I am trying to import mx.managers.PopUpManager in my flex JS project mxml > file. I tried different import statements but none of them worked. > > xmlns:mx="library://ns.apache.org/flex/mx" in <JS:Application> tag > > import org.apache.flex.mx.managers.PopUpManager; in <fx:Script> tag > > Is there anything additional i am missing, or my import syntax is wrong? > > Thanks! > > > > > > > -- > Sent from: http://apache-flex-development.2333347.n4.nabble.com/ > -- Piotr Zarzycki mobile: +48 880 859 557 skype: zarzycki10 LinkedIn: http://www.linkedin.com/piotrzarzycki <https://pl.linkedin.com/in/piotr-zarzycki-92a53552>