Flex and custom class library

I just started using Flex and I really like the automation in it (like custom class reference).

Now I want to use it when working with my own class library. What’s the best way of doing that?

It seems I have to create an actionscript project to enable all nifty functionality but since it’s a class library I don’t have any application file’s and don’t need any build paths and all that other junk flex need from me.

???