API (SWC) “Code Navigation Error” when Ctrl+Left Click in Flex Builder

You’ve added your SWC to the build path, and it works fine. But, when you want to view a source file (ctrl+left click on the function name for example), you get an error. This use to bug me.

You need to edit the Source Attachment directory location in the Build Path (right click on the project name, and click properties/build path). Click the edit button for the Source Attachment, and point to the ‘src ‘ folder of the api zip file you downloaded. It may be the case that your import statement looks like “import com.mc.components.MyComponent;” but the file structure is src/main/flex/com/mc/.. : in this case set the source attachment folder to point to ..src/main/flex, i.e. the last folder before the imported package.

Flex Builder - src build path


Tags: , , ,

2 Responses to “API (SWC) “Code Navigation Error” when Ctrl+Left Click in Flex Builder”

  1. Immigration Advicers in endfiled Says:

    I think this is one of the most important info for me.
    And i am glad reading your article. But wanna remark on some general things, The website style is ideal, the articles is
    really excellent : D. Good job, cheers

  2. Henrietta Says:

    Pretty cool post. I just stumbled upon your blog and wanted to saythat I have really enjoyed browsing your posts. In any cas8I&#e217;ll be subscribing to your blog and I hope you write again soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: