Questions tagged [swc]

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. Please, do not use this tag for questions related to the SWC JavaScript compiler (use [swc-compiler] instead).

An Adobe file is a package of precompiled Flash symbols and code that allows a Flash or Flex developer to distribute classes and assets, or to avoid recompiling symbols and code that will not change.

SWC files can be generated by , by or by directly using the command-line utility (part of SDK). They are sometimes referred to as a class libraries and cannot be directly executed by the Flash Player.

276 questions
3
votes
2 answers

stop traces in swc-library (actionscript3)

There are a lot of traces embedded in a swc-library I'm using in flash-builder. Can I get rid of them without touching its code? How? Thanks
algro
  • 639
  • 4
  • 8
  • 25
3
votes
2 answers

Runtime introspection of linked SWC using ActionScript 3.0 + Flash/Flex

Wow, my first post on Stack Overflow. Have I "arrived"? Okay, this is an oddball. I'm trying to determine whether there might be some programmatic way to introspect the classes within a linked SWC at runtime. To give a little more background (maybe…
Tom Auger
  • 19,421
  • 22
  • 81
  • 104
3
votes
3 answers

AS3 Embedded font in linked SWC/source blanks out when setting dynamic text field

Okay, that's a fairly complicated title up there, so I'll explain the setup that's causing this error first. I've got a number of related projects set up in Flash Builder. Each project gets its graphical assets from an exported SWC file (or multiple…
ken.dunnington
  • 905
  • 1
  • 7
  • 20
3
votes
2 answers

Flex Modules vs RSL

I'm a little bit confused about when is better to use Flex Modules or RSL libriaries (in Flex 3.5). My goal is split my project in several unit projects, so I can test and work separately. Let's assume I have a Customer app and Vendor app. I also…
nil
  • 31
  • 2
3
votes
2 answers

Can we use compiled Haxe swf's swc's in Actionscript as normal libs?

Can we use compiled Haxe swf's swc's in Actionscript as normal libs? I have a swf compiled from haxe code (I can try to compile it into something else SWC for ex) I want to use it as lib in AS3. Is it possible? If yes how to do it?
Rella
  • 65,003
  • 109
  • 363
  • 636
3
votes
1 answer

Flex Preloader sometimes doesn't show before it is at 100%

I have created a Flex custom preloader, exactly like it is done in this example: http://www.gotoandlearn.com/play?id=108 Now when I implement this, is seems to work fine on my computer in FireFox and Chrome. I publish it on the server, refresh my…
Bocaxica
  • 3,911
  • 3
  • 37
  • 54
3
votes
3 answers

what is SWC, when/where we use SWC in Flash

Does any one know what is SWC and where we use this SWC in Flash Development?
coderex
  • 27,225
  • 45
  • 116
  • 170
3
votes
1 answer

Loading .swc assets into array, in pure Actionscript 3 project

I know how to get Flash CS4 symbols into Flash Builder via .swc. The class names become available in the main class, but I can only instantiate those one by one, writing each name into the code. How can I loop through the .swc and load its assets in…
Christian_R
  • 31
  • 1
  • 3
3
votes
2 answers

Flex conditional compilation-Is it possible to have conditional compilation in flex library project?

Using Flex, created a desktop and web application in that used conditional compilation. It runs successfully. Now, I Would like to have the single swc file for both Desktop and web. So created the library project for satisfying that condition. While…
3
votes
1 answer

Making Pre-Compiled Code/ Data Structures

I am trying to make a word game in Flash/as3. Here I am using Prefix tree (Trie) data structure to store all the valid English words and then iterate through them whenever the user makes a new word. My problem is that the build process of Trie is…
Mudit Jaju
  • 590
  • 7
  • 17
3
votes
2 answers

How to use a font embedded in a SWC

I exported a SWC from Flash CS3 with a font embedded. Now I want use it in some TextFields, but I don't know how to use the font.
Guerreiro
  • 143
  • 1
  • 11
3
votes
1 answer

Conversion of swc file to swf file?

How can we convert a swc file to swf file so that we can call the swf file whenever it is needed.
3
votes
4 answers

Unit Testing Flex/Flash Libraries in FlashBuilder

For a normal Flash/Flex application I would include my Unit Tests in my application project (perhaps in a tests source folder alongside my main src folder). I'd then have two application entry points: the app, and it's tests. How are people doing…
darscan
  • 963
  • 1
  • 12
  • 17
3
votes
2 answers

How could I convert an existing SWF file to an SWC for using as a library?

I am new to the ActionScript world and I bumped into a problem that is hard for me. I have an SWF file that contains some classes that I cannot recompile from source but want to use again in a different project. I see that SWC files are containing…
jabal
  • 11,987
  • 12
  • 51
  • 99
3
votes
2 answers

Compile a SWC using COMPC, excluding 3rd party libs

I have a code library that I have built. It relies on 2 other (third party) libraries. At the moment, when I compile the library into a swc, both third party libraries are included. I am looking for a way to compile my code library against the third…
Undistraction
  • 42,754
  • 56
  • 195
  • 331
1
2
3
18 19