Foren

Embed flex4 .swf in Liferay portlet "view.jsp"

thumbnail
Rahul Mantri, geändert vor 12 Jahren.

Embed flex4 .swf in Liferay portlet "view.jsp"

New Member Beiträge: 10 Beitrittsdatum: 10.02.11 Neueste Beiträge
Hi,
I want to embed the .swf file created using flex 4 into the view.jsp of Liferay portlet.
Here is the code that i am using to embed the same.
<portlet:defineObjects />
<object classid="clsidemoticon27CDB6E-AE6D-11cf-96B8-444553540000"
id="Dashboard" width="100%" height="100%"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="Dashboard.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="src" value="Dashboard.swf" />

<embed src="Dashboard.swf" quality="high" bgcolor="#FFFFFF"
width="100%" height="100%" name="SaaSDashboard" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>

With the code above, my portlet's size changes as per the value in object tag but i dont see my flex application . The portlet goes blank with white background emoticon
Am I missing something here? Please help
Dayanand Tiwari, geändert vor 6 Jahren.

RE: Embed flex4 .swf in Liferay portlet "view.jsp"

Junior Member Beiträge: 91 Beitrittsdatum: 25.05.17 Neueste Beiträge
Did you get the answer for the query above. I also have the same question, can you please reply if you solved this?