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
2
votes
0 answers

Flex Maven how to create rsl from third party swc library

there are some swc file used in my project,when I compile the project by maven,I have to install the swc to maven repository,like: mvn install:install-file -Dfile=./libs/robotlegs-framework-1.5.1.swc -DgroupId=org.robotlegs…
Shawn
  • 21
  • 3
2
votes
2 answers

compile a swc in flash for use in flex, with a class written in flex

OK, It sounds complicated, but it's not. Here goes: I want to use some assets ( buttons, etc. ) I'm creating in flash in a flex actionscript project. Since all my assets are bellow 10K, I'm not planning to load a swf ,wait until it's loaded and…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
1
vote
1 answer

TLFTextfield broken after upgrading from CS5 to CS5.5

For my project I am using the following: FlashDevelop 3.3.4 RTM Flash Pro CS 5 (libraries only, no code) Some time ago we started using TLFTextfields. One of the things I had to do was include the tlfruntime.swc file from the Adobe Flash CS 5…
1
vote
1 answer

Building a swc in command line or ant

First off - I'm not super familiar with Flash Builder or ActionScript. I have an ActionScript project in Flash Builder. I know I can generate a swc file by doing Project > Build, and it will build a swc file from my ActionScript source code. Is…
triad
  • 20,407
  • 13
  • 45
  • 50
1
vote
2 answers

How to use a relative path for a swc library in Flash Builder 4.6

I'm using Flash Builder 4.6 and in one of my ActionScript projects, I have a referenced .swc library file. The way I added it was Project > Properties > Flex Library Build Path > Library Path tab > Add SWC... Here a popup occurs and I must select a…
triad
  • 20,407
  • 13
  • 45
  • 50
1
vote
0 answers

How can I generate a SWC from asset files dynamically?

Lets say you have 3 swf files in a directory: /game/assets/ 1.swf 2.swf 3.swf What I need to do, is package these up into a SWC File, and then move that SWC file to the libs/ directory. I plan to use ant, so this step must always occur before the…
user1059939
  • 1,613
  • 2
  • 20
  • 37
1
vote
1 answer

how to pass dynamic theme from swf to swc?

I have one swf file which takes theme from network during runtime. Now I conerted that swf to swc, and created another container swf to point to that swc. Seems the new swf file has the theme information, which the swc does not take the theme. How…
BlueDolphin
  • 9,765
  • 20
  • 59
  • 74
1
vote
2 answers

create a swc file for existing flex application

I had flex project with few action script files. I want to make the project as swc file. So can i know how to create it as swc file. Thanks, Ravi
RKCY
  • 4,095
  • 14
  • 61
  • 97
1
vote
1 answer

how to compile flex modules?

I'm trying to migrate from flash builder to eclipse FDT in order to have one IDE for everything. the problem is that I have a lot of flex modules in my projects and it seems that FDT doesn't have native support for flex modules. how can I add a…
ufk
  • 30,912
  • 70
  • 235
  • 386
1
vote
3 answers

Exported SWC doesn't preserve auto-complete functions' parameters' names

I am using Flash CS5 and I have created a large, rarely changing framework that I don't want to be recompiled every time I use it in my projects. I must be doing something wrong because the "auto-complete" functionality doesn't show the names of the…
Bill Kotsias
  • 3,258
  • 6
  • 33
  • 60
1
vote
0 answers

Why Adobe Flash CS3 exports only class without symbol from other SWC

I've created Common.swc using Flash CS3. It exports class NotificationWindow, symbol CloseButton and appropriate class. These symbol and class are used by NotificationWindow. Then I created Formula.swc which uses NotificationWindow. Formula.swc…
Artem Andreev
  • 19,942
  • 5
  • 43
  • 42
1
vote
0 answers

Flex - Using Flash button component

I made a movieclip tab style navigator with 3 tabs, HTML, PHP, JAVASCRIPT. Each tab has a group of buttons that inserts a string into a TextInput. What I want to do is export it as a swc, import it into Flash Builder. Is it possible to do this and…
RapsFan1981
  • 1,177
  • 3
  • 21
  • 61
1
vote
1 answer

nestjs swc Error: Cannot find module 'path-to-project/src/app.module'

When I installed the swc, I get this Error: Cannot find module 'path-to-project/src/app.module' I'm using: nodejs: 18.17.1 nestjs: 10.1.16 @swc/cli: 0.1.62 @swc/core: 1.3.81 "dist/main.js" "use strict"; Object.defineProperty(exports, "__esModule",…
krokodaws
  • 13
  • 3
1
vote
1 answer

Problems with swc transpiler in node express.js with TypeScript

I'm using Sequelize to create a database to register users, but I'm running into a problem while transpiling the code, I get the below console error. [1]…
1
vote
0 answers

Cannot import modules in node command

I have this npm command "create-new": "node --no-warnings --loader ts-node/esm tools/createNewCommand.ts" in tools directory. If I try to import from src/ I get this error: CustomError: Cannot find package '@/main.js'. Maybe the way im running the…