Using Actionscript Library swc files in CS3

Sometimes in corporate development you might want to share a generic library of classes with developers. Usually the way that is done is by giving them a zip file containing your neatly organized actionscript classes, and have them create a classpath to the unpacked contents, or by sharing a location on a network folder containing those same classes.

If the classes mostly are generic framework classes, used over and over again and you have a good framework design, wouldn’t it be cool if you could hand over a compiled library file (aka swc file)? That way you could also stop worrying about handing over company code to freelancers (it’s a bit more practical to void decompiling a swc than it is to void opening a text file).

The initial procedure would be to compile your library in FDT/Flex and share it with whomever needs to use the code, but as CS3 isn’t installed on my machine currently, this will wait until monday. Googling the subject has yet to turn up any signs of relevant problems, but that may be because I haven’t dealt into it enough to find the best search terms.

Possible show-stoppers include: alignment of flex sdk and cs3 classes (playerglobal.swc differences), how cs3 handle a pure actionscript swc.

(edit: Looking more closely on the google results revealed these among others) Links to pages on the subject:

2 Responses to “Using Actionscript Library swc files in CS3”

  1. ADForm has some code swc components available that a designer can drag onto the stage in order to comply with their clicktag naming conventions.

    It should be possible

  2. CS4 has some nice classpath functionality when publishing with AS3 where you can include swc files as classpaths.

    That seems like enough for me for now.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: