Moving embed code into linked files

Hello all,

I am trying to “optimize” some of my web pages by moving as much code as possible into linked files. I’m using Flash 8 in conjuction with Dreamweaver 8 and am wondering if it’s possible to put all the code thats generated to embed Flash movies into a page into a linked file, and if so, how?

Any direction will be much appreciated,

Scott