Intrinsic Library maker for Flash CS3

Jesse Warden had a post about the new Gaia Beta framework created by his friend Steven Sacks. In his post he commented and talked about my library solution. Let’s quote him:

There are just certain audiences that totally agree with what your doing, and others who are like, “That’s too much trouble”. We need to satiate those peeps. Yes, compiling a separate library is hard; it’s an extra step. If you make this shiz easy for Flash peeps, it rocks. Stay tuned…

To be honest, in the end I totally agree with what he says. So I sat down with my colleague Paul and we came up with a solution that automates the process of creating this ‘intrinsic’ library, in the form of a panel within Flash CS3!

Here are the screenshots that do all the talking:

Libmaker general configuration   Libmaker project configuration

This is the first version, it has no Apple support just yet. In the next version I promiss we’ll add Apple support and an auto import feature my other colleagues came up with.

To make the install as easy as possible we’ve created an mxp. So for now, download version 0.0.1 here.

Comments

13 Responses to “Intrinsic Library maker for Flash CS3”

  1. wonderwhy.er on February 18th, 2008 21:59

    Hmm. If i understand this correctly this is plug-in which allows to recompile Flex components for usage in Flash CS3? If so that I must have it :D Was doing all those tooltips/window/etc components myself…

    I suppose there are no examples or tutorial on this yet?

  2. Sander Wichers on February 18th, 2008 22:25

    It’s a tool to simplify the generation of a dynamic load library, you can actually use any classes you want… You’re not forced to use the flex libraries, for instance you can use it to compile a papervision library so you only have one instance of that in your application. I hope that makes things clear.

  3. wonderwhy.er on February 19th, 2008 00:14

    Well my interest here is getting Flex controls like TabBar or MenuBar to work in Flash CS3. And judging from what you have said it is possible.

    Ok I tried to do in same way you did on screenshot and it seem to work. I mean I compiled Flex WebService and got two files WebService.swc and WebService.swf. So I suppose I can now try using swc as component and use Flex WebService class in Flash CS3 projects?

    Hmm tried to do so and yeah I got component in my component tab but in it is not WebService but collection of components from which WebService is built I suppose: ArrayCollection, Consumer, ListCollectionView, Producer, Sort, SortField.

    I suppose I am doing something wrong… Or I understand that all that incorrectly…

  4. Sander Wichers on February 19th, 2008 09:34

    Getting Flex controls to work is a different workflow, this intrinsic library tool isn’t of much use with that.

    You should check out my previous article, that contains the information you need.

    And don’t try to move those swc’s, they are of no use within your component library.

  5. Josh on April 2nd, 2008 13:20

    Any early projections on the release of the mac version??? :)

  6. Nathan Clendenin on April 4th, 2008 21:36

    I’d love to have that mac version? I’m going to be using the prefuse.flare library in a Flash AS 3.0 environment and need the flex library! thanks!

  7. Sander Wichers on April 5th, 2008 09:44

    @Josh and @Nathan, let me see what I can do for you…

  8. Nathan Clendenin on April 10th, 2008 20:58

    I got a colleague to compile the libraries I need - I wasn’t sure what to put for “Class Path” so we left it blank. The classes I need are:
    mx.containers.Canvas;
    mx.core.IMXMLObject;

    Your Flash panel gave us library.swc and library.swf.

    I’m not sure where to go from here… There seems to by many ways to load an external library - nothing has worked so far…

  9. Sander Wichers on April 11th, 2008 08:11

    @Nathan, did you try to link it using the shared library method described in my other article? What’s the error you’re getting?

  10. Nathan Clendenin on April 22nd, 2008 15:47

    This external library stuff is just a bit beyond my reach - really I just want to find some good AS 3.0 classes written for FLASH - not flex - that I can use to display nice charts and graphs - mostly line graphs and maybe bar graphs. Any ideas there?

  11. Sander Wichers on April 22nd, 2008 15:53

    @Nathan, sorry I cannot help you there. I do know the flex ones are excellent thought.

  12. Bart Cornelis on June 16th, 2008 13:50

    I tried with the precompiled library.swf from the other post and it worked (the webservices part). Now I was trying to create the library.swf against the Flex 3 SDK 3.0.0 and it doesn’t work. Always some errors like:

    Type was not found or was not a compile-time constant: ResultEvent.

    If I create the library against the 2.0.1 SDK, it does work! You have any idea?

  13. Sander Wichers on June 16th, 2008 14:09

    Hi Bart,

    At the moment Flash CS3 is swc 1.0 compatible (not swc 1.2). Flex 3.0 generates 1.2 compatible swc’s.

    So the only workaround is to work with Flex 2.0.1.

Leave a Reply