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 3349566
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:40:48+00:00 2026-05-18T01:40:48+00:00

I am making an AS3 project in FB4. In our workflow, we have artists

  • 0

I am making an AS3 project in FB4. In our workflow, we have artists compile art into SWC files which the I then link as ‘Referenced Libraries’ in FB4.

Then I set the “Link Type” of the SWC files to “external” instead of merged into code. This should create SWFs corresponding to the SWC files in the output folder, right?

This doesn’t seem to be the case. I am only seeing one SWF file: the main_app’s.

I was trying to make it so that I can use a library manager to load the files dynamically.

I tried extracting the swfs manually, but it seems the main_app still compiles all the swcs to itself. I made sure the Link Type was set to external. The file size for the main_app between “external” and “merged to code” seem to be the same.

  • 1 1 Answer
  • 2 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-05-18T01:40:49+00:00Added an answer on May 18, 2026 at 1:40 am

    I’ve made a simple project in Flash Builder 4 and the only way I got the SWC->SWF happening is by creating a Flex Project instead of an ActionScript Project and selecting “Runtime shared library (RSL)” instead of “External”. This is because the Flex framework have some classes that work out the loading of those libraries for you. It also automate the conversion (I should say extraction) process.

    Now, if you don’t want to create a Flex project just for this, you can extract the SWF yourself. The SWC file format is just a Zip containing a SWF and an XML file describing the content. You can then load dynamically this extracted SWF file using a Loader and setting the correct Application Domain. Here’s a snippet of my sample project.

    public class Web extends Sprite
    {
        public function Web()
        {
            //you will not be able to instantiate classes of your library until it's loaded
            var loader:Loader = new Loader();
            loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
            loader.load(new URLRequest("library.swf"), new LoaderContext(false, ApplicationDomain.currentDomain));
        }
    
        protected function onLoadComplete(event:Event):void
        {
            //here you can create instances of classes defined in your library
            new Asset();
        }
    
    }
    

    You might think that’s a pretty tedious job to unzip+copy every time your designers update the library. You could automate this process with a script or an Ant file. Unfortunately, unless I’m missing something, it looks like Flash Builder doesn’t want you to extend your build process, so you will still need a bit of hand work or completely convert to Ant (or something similar) to build.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an AS3 project making use of compile time constants. This has worked
Making a word document of our network set-up. We have about 7 servers and
Making a simple program which will generate a multiple choice form. I have an
I'm working on an AS3 project that must load a lot of external files;
I was working on a little practice project in AS3 and I ran into
I'm making a video player in AS3 and was wondering how to find out
Making an adobe flex ui in which data that is calculated must use proprietary
I've got a problem making alpha PNGs with PHP GD. I don't have imageMagik
In Flex3, I could compile pure as3 code and use embed tags to load
I've got an AS3 app making use of the fl.containers.ScrollPane object, and I am

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.