Antonio Goncalves wrote:
Hi,
I've made an animation with Wink, transformed it into flash (swf file)
and now I want to add it to my page. I've followed the instructions on
http://www.xwiki.org/xwiki/bin/view/FAQ/HowDoIAddAnimatedGifSshockwaveAndFl…
but it does not work.
What I do is that I attach my swf file (myanimation.swf) to my page and
then add :
#set($width = "500")
#set($height= "500")
#set($flashurl = $doc.getAttachmentURL("myanimation.swf ",
"download"))
#includeForm("xwiki:XWiki.Flash")
I'm using XWiki 1.0 and nothing appears on my page. When I look at the
HTML code produced, nothing in there. Does any body have any idea ?
Thanks,
Antonio
Hi,
That FAQ was only for hosted wikis (on the
xwiki.com farm), and is
really deprecated, meaning that right now it does not work.
I found the template that used to be at xwiki:XWiki.flash, so you can
paste this code instead of the #includeForm line:
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="${width}" HEIGHT="${height}"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version…
<PARAM NAME="movie" VALUE="${flashurl}">
<PARAM NAME="play" VALUE="true">
<PARAM NAME="loop" VALUE="false">
<PARAM NAME="quality" VALUE="high">
<EMBED SRC="${flashurl}" WIDTH="${width}"
HEIGHT="${height}"
quality="high" loop="false"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1…
</EMBED>
</OBJECT>
Sergiu