How to use my actionsciprt 3.0 flash animation as a facebook application?
I tried to make a facebook app, but I failed. I have no idea how to use my flash content. I tried to make a new app with Fbook Developers, I uploaded the animation as an HTML file on my server, but it's not working. All i see is a blank page. Then I searched some codes, but none of them worked. This is my final code (which is still not working):
<fb:swf
swfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc='http://fb.joma-sport.hu/valencia.swf'
imgsrc='http://fb.joma-sport.hu/valencia.jpg'
width='520' height='800' />
I want sg like this: http://www.facebook.com/JomaSport.es?sk=app_186670448052790 (My page looks like this: http://www.facebook.com/JomaSport.hu?sk=app_开发者_JAVA技巧269610193049698)
Any help would be appreciated!
Ok i got the answer. Several weeks ago a I googled " how to embed flash into html", and after a few tries I found a code, which is working. Honestly I don't remember which webpage was that, but this code is not made by me!!
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"WIDTH=520 HEIGHT=700><PARAM NAME=movie VALUE="yourfile.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="yourfile.swf<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="520" HEIGHT="700" id="yourfile.swf" ALIGN="">
<PARAM NAME=movie VALUE="yourfile.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="yourfile.swf" quality=high bgcolor=#000000 WIDTH="520" HEIGHT="700" NAME="Yourfilename" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
精彩评论