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

  • Home
  • SEARCH
  • 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 5841695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:55:22+00:00 2026-05-22T11:55:22+00:00

I have a small framework that I would like to put out there. I

  • 0

I have a small framework that I would like to put out there. I would love to export these classes as a single file.

I know there is a SWC format, but there is not much recent information on how to export build this and I have a feeling this format might be outdated.

  • 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-05-22T11:55:22+00:00Added an answer on May 22, 2026 at 11:55 am

    A SWC file is just a ZIP file (with the extension renamed) which, at minimum contains a single SWF movie (the compiled bytecode for your library) and an XML file which provides hinting about the contents of the SWF. However, as a SWC file is just a ZIP file you can add additional information; the most common being including ASDoc output which can then be parsed by IDEs (such as Flash Builder 4) and displayed as in-line documentation.

    SWC files are preferred by developers because they are self-contained build dependencies. This makes them easy to manage as you only need to drop a single SWC file into a project to get it to compile. They are also preferred because they discourage junior developers from attempting to make any modifications to the libraries source code (at which point it stops being a 3rd party library).

    SWC files can be compiled using the Adobe COMPC utility; most Flash IDE’s (Flash Builder, FDT, and FlashDevelop) support compilation of SWCs from the GUI; but you can also compile SWCs from the Command Line, ANT, or Maven.

    One thing to watch out for when creating your Framework’s SWC file is to externalise any build dependencies that your project has. For example, let’s assume that your Framework makes use of the GreenSock Library; instead of compiling your entire framework, including the GreenSock code into a single SWC file, you should instead compile your SWC, excluding all the code contained in your project’s dependencies (ie: greensock.swc) and then distribute both your libraries’ SWC file and the greensock.swc file – this way, developers that make use of your Framework won’t be forced to use the version of the GreenSock Library you compiled against. An example of this practice in action can be found in the RobotLegs framework which distributes both robotlegs.swc and swiftsuspenders.swc.

    I’ve written a blog post about managing build dependencies which may provide related reading on the topic.

    Finally, I would reccomend hosting your Libraries source code on a public SCM solution; such at GitHub or Google Code, that way developers can read (and checkout) the source code if they require a reference – it also provides a good central location for issue management and documentation.

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

Sidebar

Related Questions

I have a small JS function that does Ajax for me and another like
I have a small utility that I use to download an MP3 file from
I have a small framework that is logging some info and debug messages using
We have a small framework written in C# .Net 2.0 that we want to
I'd like to write a small JavaScript (framework) that can chain functions with all
Is it possible to filter out subsets of the data that have small numbers
I have a small VB.NET application that I'm working on using the full version
I have a small application I am working on that at one point needs
I'm trying to create a small Javascript framework that I can use in my
I have a small ruby application that I made on my local machine. It

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.