Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8088033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:58:31+00:00 2026-06-05T18:58:31+00:00

In Flash Builder 4.6, when managing a Flex project, under the Build Path options

  • 0

In Flash Builder 4.6, when managing a Flex project, under the Build Path options for a Flex Library Project, I can select between “external” and “Merged into code” Framework linkage, with “external” being the default.

How can I use external linkage when calling compc directly?

It seems like compc by default puts the Flex components in the library-path section instead of in the external-library-path section (looking at the generated -dump-config file).

It seems like the option available in Flash Builder ought to be accessible through some option on compc or through some combination of arguments. I’ve looked through the compc options documentation and unfortunately have come up empty. Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:58:32+00:00Added an answer on June 5, 2026 at 6:58 pm

    First have a look at the flex-config.xml file. You’ll find it in [flex_sdk_path]/frameworks/flex-config.xml. Now find the nodes called runtime-shared-library-path. Here you’ll find a list of all the libraries that will be merged when you compile with compc (the nodes are called runtime-shared-library-path because RSL is the default linkage when you use mxmlc). These are the files that you need to link externally.

    You have two options to do this:

    1. Create your own config file in which you translate all those runtime-shared-library-path nodes to external-library-path nodes. Load this file instead of the default by adding -load-config=my-config.xml to the compiler command.
    2. Keep the default config file but override the linkage with command options. Simply add each swc to the external-library-path: -external-library-path+=libs/framework.swc and so forth.

    When you compile an application with mxmlc though, the default linkage is RSL. You may want to override this too and make it ‘merged’. In this case you’ll first have to reset the RSL path: -runtime-shared-library-path= (that’s right, nothing after the =). Then add each swc to the -library-path: -library-path+=libs/framework.swc


    Alternatively (warning! shameless self-promotion on the way), you could use a build tool called GradleFx. If you create a build file with just this line:

    type = 'swc'
    

    it will compile your library with the framework linked externally. You can override this default if the need be:

    type = 'swc'
    frameworkLinkage = 'merged'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I configure Flash Builder 4 to build into different folders? Something like: build
In Flash Builder 4.6 I've created a Flex Mobile AIR Project. Why is there
I have been using Flash Builder to build my flex software and I am
I am using Flash Builder Buritto with the latest nightly Flex 4.5 SDK, build
I'm working on Flash Builder 4 and want to export a flex project so
In Flash Builder (flex 4) I try to use next code to set selected
I'm using Flash Builder 4 (the version after Flex Builder 3, so very similar
I'm using Flash Builder 3 to edit my Flex app, but I noticed that
i just checking Flash Builder 4 ( i come from Flex builder 3 ),
I'm working on Flash Builder with latest flex SDK. I have a problem getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.