0 Replies Latest reply on Dec 24, 2006 9:00 AM by Mitch De Felice

    Error Displaying Flash in JBoss Portal 2.4.1.CR2

    Mitch De Felice Newbie

      Environmental info follows:
      Release ID: JBoss [Zion] 4.0.5.GA
      Home Dir: E:\Apache Group\jboss-portal-2.4.1-CR2
      Java version: 1.4.2_09,Sun Microsystems Inc.
      Java VM: Java HotSpot(TM) Server VM 1.4.2_09-b05,Sun Microsystems Inc.
      OS-System: Windows 2000 5.0,x86
      Database: Oracle 9i

      I'm having two problems with running the flash plugin in Jboss Portel window.

      1. When I try to set the height and width on the object tag to a 100%, the window goes totally blank, like I didn't have any statements in the jsp. However, if I set the width="100%" and set a specific height="450" the flash plugin will be displayed.

      <center>
       <object width="100%" height="100%">
       <param name="movie" value="<%= request.getAttribute("flashurl") %>"/>
       <embed src="<%= request.getAttribute("flashurl") %>" width="100%" height="100%"/>
       </object>
      </center>


      2. The second problem that I'm seeing when trying to view a flash plungin in a Portlet Window is when I specify the classid on the object tag, the footer of the Portlet Window gets clipped off.

      <center>
       <object width="100%" height="455"
       classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" >
       <param name="movie" value="<%= request.getAttribute("flashurl") %>"/>
       <embed src="<%= request.getAttribute("flashurl") %>" width="100%" height="455"/>
       </object>
      </center>


      I need to specify the classid so as the flash plugin can make an Ajax call back into the server.

      Any insight on how to resolve the above issues would be greatly appreciated.