World Library  
Flag as Inappropriate
Email this Article

Adobe SWC file

Article Id: WHEBN0027638394
Reproduction Date:

Title: Adobe SWC file  
Author: World Heritage Encyclopedia
Language: English
Subject: Adobe Flash, CrossBridge, Flare3D, FXG, Swfmill
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Adobe SWC file

Adobe Flash/Flex Component File (SWC)
Flash Component File Icon
Filename extension .swc
Internet media type application/octet-stream
Magic number PK\003\004
Type of format Class Library
Container for ActionScript classes and data
Extended from ZIP

An Adobe SWC file is a package of precompiled Flash symbols and ActionScript code that allows a Flash or Flex developer to distribute classes and assets, or to avoid recompiling symbols and code that will not change.[1] SWC files can be generated by the Flash authoring tool, and by Flex. They are sometimes referred to as class libraries and cannot be directly executed by the Flash Player.

Contents

A SWC file is compressed by means of the ZIP archive format. Renaming the extension of a SWC file to "zip" will allow any ZIP-compatible decompression software to show the contents of the file.

An uncompressed SWC file contains at least a catalog.xml file, and a SWF file, usually named "library.swf". It may also contain other files, such as CSS files. The catalog contains a list of the ActionScript classes contained in the library, their dependencies, and modification dates.

Example catalog.xml

This is a simple example of a catalog.xml for a SWC created in Flash CS4 which contains two sounds.



  
    
    
  
  
    
    
  
  
    
      
      
    
  
  
  

References

  1. ^ SWC-based Components, at Adobe LiveDocs.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.