Another thing that could be useful is to generate an API report [1] for your 
Flex app and post it here.

The advantage of that over compiling your current code in Royale is that you’ll 
see a complete picture of the API calls on the first run.

Hope this helps,
Yishay

[1] https://github.com/apache/royale-asjs/wiki/Generating-an-API-Report

From: Harbs<mailto:[email protected]>
Sent: Friday, June 19, 2020 8:53 AM
To: Apache Royale Development<mailto:[email protected]>
Subject: Re: Need help getting started!

Here’s the method I used:

1. Use an IDE Like VS Code with Josh’s extension or Moonshine.
2. The “Problems” window will show you your errors. Use that to jump into the 
location of your errors.
3. For bad imports, just delete them.
4. Trigger code hinting (i.e. Control Space on Mac in VS Code) and select the 
version provided for you that best matches. This will bring in the correct 
imports.
5. There will be a certain number of errors which don’t have a clear simple 
replacement and you’ll need to figure out how to fix those, but the above steps 
should fix the vast majority of the errors.

I found getting rid of thousands of errors relatively quickly oddly satisfying. 
;-)

HTH,
Harbs

> On Jun 18, 2020, at 10:23 PM, Sobit Thapa <[email protected]> wrote:
>
> 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.

Reply via email to