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
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor