Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flash Object failing to load whe called through a Struts Layout

 
Ehrenfrids Murzello
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A shockwave object is to be displayed within a tile on a (struts) tiles layout. The code on the JSP is as follows:

<center>
<object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=7,0,0,0"
id="PMC" width="800" height="600">
<param name="movie" value="head3.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<embed name="PMC" src="head3.swf" quality="high" bgcolor="#FFFFFF"
width="400" height="300"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>
</center>

I have tried with different versions of codebase and have tried using HTML instead of JSP.
The HTML/JSP is displayed correctly if I access it directly through a URL, but it fails when I call the layout.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64973
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ehrenfrids",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that this is your 3rd warning. Please change your display name prior to your next post or your account will be closed.

bear
JavaRanch Sheriff
[ January 24, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic