Hi Sobit, Many people did use Flash imports in their Flex apps and many are now paying the price for it. It is sort of like writing low-level Windows API calls and then needing the app to work on Mac.
The archives for the mailing lists are here: https://lists.apache.org/[email protected] https://lists.apache.org/[email protected] You can sometimes find answers there as well. In the case of TimerEvent, it was discussed here: https://lists.apache.org/thread.html/a46b1914ff50343dc8ec0b043a94ad4ed0d94b0f4137010ae7b26f0a%40%3Cusers.royale.apache.org%3E And the answer is: For flash.events.TimerEvent and flash.utils.Timer, the replacement is: Replace flash.utils.Timer with org.apache.royale.utils.Timer. Replace TimerEvent with org.apache.royale.events.Event Replace TimerEvent.TIMER with org.apache.royale.utils.Timer.TIMER HTH -Alex On 6/18/20, 12:23 PM, "Sobit Thapa" <[email protected]> wrote: Team, I have a legacy Flex application to transport to Royale/JS as Flash Player is dying soon. I am following the documentation, but found it is little hard to follow. I have commented out all Flash imports and getting thousands of errors as it seems like my application uses them heavily. For example, basic imports like //import flash.utils.Timer; //import flash.events.TimerEvent; Are these available as Emulation components in Royale? Any suggestion how can I use them if any (eg: any changes needed in Ant build scripts other than loading royale-js libs and flex-configs? Also, getting tons of errors related to mx imports. REALLY APPRECIATE YOUR TIMELEY HELP as we are evaluating different option and if this POC succeeds, we might be able to stay with Flex/Royale. Thanks, Sobit
