Skip to end of metadata
Go to start of metadata

This article is explains how to display a Shockwave Flash file on Webdynpro page.

The method explained here is by using iFrame UI element, and MIME objects. SAP Recommends not to use iFrame anymore. Hence, this method is only recommended when most necessary.

First, identify the SWF file you want to show on the webpage. Next create a simple html page on your desktop, to display the SWF file. For this example, I am using our company logo, as SWF file. To display the SWF file, I have created the following html page.

<body bgcolor=5599CC>
<OBJECT id=az_signoff codeBase=,0,0,0

height="51" width="975" align=left classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 >
 <PARAM NAME="_cx" VALUE="0">
 <PARAM NAME="_cy" VALUE="1323">
 <PARAM NAME="FlashVars" VALUE="">
 <PARAM NAME="Movie" VALUE="az_signoff_yellow.swf">
 <PARAM NAME="Src" VALUE="az_signoff_yellow.swf">
 <PARAM NAME="WMode" VALUE="Window">
 <PARAM NAME="Play" VALUE="-1">
 <PARAM NAME="Loop" VALUE="0">
 <PARAM NAME="Quality" VALUE="High"> 
 <PARAM NAME="Menu" VALUE="-1">
 <PARAM NAME="AllowScriptAccess" VALUE="sameDomain">
 <PARAM NAME="Scale" VALUE="ShowAll">
 <PARAM NAME="DeviceFont" VALUE="0">
 <PARAM NAME="EmbedMovie" VALUE="0">
 <PARAM NAME="BGColor" VALUE="5599CC">
 <PARAM NAME="MovieData" VALUE="">
 <PARAM NAME="SeamlessTabbing" VALUE="1">
 <PARAM NAME="Profile" VALUE="0">
 <PARAM NAME="ProfileAddress" VALUE="">
 <PARAM NAME="ProfilePort" VALUE="0">
 <PARAM NAME="AllowNetworking" VALUE="all">
<embed src="az_signoff_yellow.swf" loop="false" quality="high"  bgcolor="5599CC" width="975" height="51" name="az_ani_blank"

align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"

pluginspage="" />

Next, I opened the Webdynpro, where I have to insert this SWF file. I imported both the SWF and HTML files into the MIME folder of Webdynpro. Then I opened the Webdynpro layout, and added an iFrame. I populated the width and height parameters. For the source of iFrame, I populated the html filename, and activated the Webdynpro.

Thats it!

See attachments for steps.

  • No labels