I want to create an action script library that i can use with
both flash and flex. i understand how to do it if i want to just
use it in flex, but i also want it to compile down in to an swf or
whatever so i can use the functions in flash. i tried creating an
action script library, but it requires me to specify a 'runnable
application file.' which doesn't make much sense, since i just want
a class library.
Found the answer (sort of). it's only partially possible. The
best way would just to edit the as files in flex builder and not
create an actual library (though this approach doesn't work if you
need to distribute the library).
In order to do create a library, you need to create a Flex
Library Project in flex builder, not an Action Script Library. the
action script library is a misnomer.
then, when you build you have to jump through some hoops to
get it to actually work, but creating a manifest file and setting
"compute-digest=false" as a compiler option. for more info, check
out the following blog post: