Just create a linked object on each frame and export as .swf
There's really nothing more to it than that.

links.swf