It looks like you might need a Cairngorm port as well. I already ported this, but I have not yet released it on github or anywhere.
You can download the ported code or the swcs from here; https://www.dropbox.com/sh/xk8aui9ghy30mid/AAAAx0LUpfjXEQWC221zAjTza?dl=0 On Thu, Jun 18, 2020 at 6:42 AM Yishay Weiss <[email protected]> wrote: > Hi Sobit, > > You need to add a config=flex compiler option. > > I think our website [1] needs to be updated to reflect that. > > Good luck. > > [1] > https://apache.github.io/royale-docs/migrate-an-existing-app/migrate-from-flex > > From: Sobit Thapa<mailto:[email protected]> > Sent: Wednesday, June 17, 2020 8:58 PM > To: [email protected]<mailto:[email protected]> > Subject: Flex Project Migration, Compilation Errors > > Team, I just started trying Royale to migrate one of our legacy Flex > application. I was able to run HelloWorld locally and change the Ant build > scripts of our application to used Roayle, instead of Flex SDK. > > I followed few steps provided in documentations like commenting out Flash > APIs, which I definitely expect will throw lot of errors during > compilation, but surprised that basic things like mx imports are not > compiling. > > Our mx reference looks as following, but any mx imports are not compiling > in Royale. > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > Few example Example improts/errors: > > definition mx.controls.Image could not be found. > [compc] > [compc] import mx.controls.Image; > [compc] ^ > > mx.effects.Glow could not be found. > [compc] > [compc] import mx.effects.Glow; > > > : Call to a possibly undefined method BarChart. > [compc] > [compc] public var chart:BarChart = new > BarChart(); > > [compc] Cairngorm.swc The definition mx.rpc.http.HTTPService depended > on by com.adobe.cairngorm.business.IServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.soap.WebService depended > on by com.adobe.cairngorm.business.IServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.http.HTTPService depended > on by com.adobe.cairngorm.business.HTTPServices in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.remoting.RemoteObject > depended on by com.adobe.cairngorm.business.ServiceLocator in the SWC > Cairngorm.swc could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.AbstractInvoker depended > on by com.adobe.cairngorm.business.ServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.http.HTTPService depended > on by com.adobe.cairngorm.business.ServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.AbstractService depended > on by com.adobe.cairngorm.business.ServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.soap.WebService depended > on by com.adobe.cairngorm.business.ServiceLocator in the SWC Cairngorm.swc > could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.remoting.RemoteObject > depended on by com.adobe.cairngorm.business.RemoteObjects in the SWC > Cairngorm.swc could not be found > [compc] > [compc] > [compc] Cairngorm.swc The definition mx.rpc.soap.WebService depended > on by com.adobe.cairngorm.business.WebServices in the SWC Cairngorm.swc > could not be found > [compc] > > > Thousands of errors like this and I am not sure whether I am doing > something wrong or I should fix these one by oneā¦.. > > ANY HELP FROM ANYONE PLEASE? I REALLY APPRECIATE YOUR TIME. > > Thanks, > Sobit > >
