I had a requirement from the customer to add a page that has a flash swf file displayed
here are the steps I used to get the task done
1- Create a presentation template to display the flash with the following html code
Code:
<object width="550" height="400">
<param name="movie" value="<Component id="0c941700444cf705887ada10861d7bc6:NC93ZWIgY29udGVudC9mbGFzaGZpbGU=" name="web content/flashfile"/>">
<embed src="<Component id="0c941700444cf705887ada10861d7bc6:NC93ZWIgY29udGVudC9mbGFzaGZpbGU=" name="web content/flashfile"/>" width="550" height="400">
</embed>
</object>
2- create a new File resource component with the name flashfile and upload the flash file in this component
3- create the page that will display this flash file and add the WCM portlet to it
4- set the presentation template for the portlet to be our created flash presenation template and set the site area attribute to any site area
run the page and you will see your flash file displayed
this solution works only with version 6.1 and in earlier versions the tags differ