Archive for Actionscript

Flash Player 10 – 3D and Inverse Kinematics class libraries location in CS4

Posted in Development with tags , , , , , on November 28, 2008 by andkrup

Just in case you didn’t know, Flash CS4 ships with 3D classes and Inverse Kinematics classes already packed in swc library files. On the mac, they can be found at:

/<Flash CS4 install location>/Common/Configuration/ActionScript 3.0/libs/

I would assume that most PC users should be able to find the same location.

Advertisements

Using Actionscript Library swc files in CS3

Posted in Development with tags , , , on November 22, 2008 by andkrup

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:
http://www.deitte.com/archives/2008/08/using_flex_swcs.htm
http://www.deitte.com/archives/2008/09/update_on_using.htm