Sending an object directly into the browser implies sending the appropriate MIME headers so that the browser recognizes the type of information to display.
For an swf the mime-type is application/x-shockwave-flash.
update: Sorry, not what was asked
Comment on Re: SWF::Builder, printing the swf file, rather than saving it
Yep, I realise this (and you have inferred correctly that I intend to serve the built object as an http response), but that doesn't answer my question.
I'll be able to print the header okay, it's the binary data which forms the built swf object that I can't see how to get hold of (other than saving it to disk with a temp name, reading it, printing the contents in the response and then deleting the file, ug!)