as far as i know, there is no way to do this with just flash.
i know there are thridparty tools that allow you to do this sort of
thing and publish as a video...i'd think that the easiest thing
would be to publish the swf, take a screenshot, and crop out the
stuff you dont want....maybe someone else has a better idea.