It is currently Fri May 18, 2012 3:27 pm


Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: Adding Flash in WCM 6.1
PostPosted: Thu Oct 14, 2010 9:06 am 

Joined: Fri Oct 24, 2008 2:14 pm
Posts: 14
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


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]


Who is online

Registered users: europhory, m3krhaba6


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
twilightBB Style by Daniel St. Jules of Gamexe.net

[
SEO MOD © 2007 StarTrekGuide ]