Runtime code sharing

I’m working on a project that uses a lot of “widgets” that are displayed in the main application. Many of these standalone swfs where the same code is incorporated several times ( for instance TweenLite ). I want to optimize this by removing this added code from each widget to reduce load time. I’m working on Flex Builder, but this is an actionscript/flash project. I’m not sure how I should do this, so if someone could explain the basics that would be great :slight_smile: