Foros de discusión

swfobject.js

TheLastMan Standing, modificado hace 14 años.

swfobject.js

New Member Mensajes: 21 Fecha de incorporación: 24/08/09 Mensajes recientes
Hi there!

I am running: Liferay: liferay-portal-5.2.3
On tomcat: tomcat-6.0.18

I created a simple portlet that loads a .swf (flash file). I am using google swfobject.js to safely load the flash file. Everything works fine if I load the swfobject.js from the view.jsp, but if I want that file to be available for the rest of portlet (load it only onces and use it every where), I follow the instruction from the admin ...alas it does not seem to load the swfobject.js:

Here is what I did: I copied the folder that contains swfobjcet.js to:

<MY-PATH>\liferay-portal-5.2.3\tomcat-6.0.18\webapps\ROOT\html\js

I then opened the portal-ext.properties in:

<MY-PATH>\liferay-portal-5.2.3\tomcat-6.0.18\webapps\ROOT\WEB-INF\classes

and added:

...
liferay/menu.js,\
\
#
# Flash Modules
#
\
swfobject/swfobject.js


What am I doing wrong?

Thanks in advance.