Yes, cool, it works. Thanks Sergiu. This is what I wrote on my page after attaching the myanimation.swf file #set($width = "500") #set($height= "500") #set($flashurl = $doc.getAttachmentURL("myanimation.swf")) <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="${width}" HEIGHT="${height}" CODEBASE=" http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"> <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_Prod_Version=Shock... "> </EMBED> </OBJECT> 2007/12/10, Sergiu Dumitriu <[email protected]>:
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/HowDoIAddAnimatedGifSshockwaveAndFla...
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=5,0,0,0"> <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_Prod_Version=Shock... "> </EMBED> </OBJECT>
Sergiu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- -- Antonio Goncalves Software architect Paris JUG leader : www.parisjug.org Web site : www.antoniogoncalves.org Blog: jroller.com/agoncal LinkedIn: www.linkedin.com/in/agoncal