Hi, My client have sent me banner as .SWF file to be advertised on my site www.SoccerFriend.com. I tried to add this file as <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="320" HEIGHT="150" id="Yourfilename" ALIGN=""> <PARAM NAME=movie VALUE="http://www.soccerfriend.com/banners/jumptv.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333399> <EMBED src="http://www.soccerfriend.com/banners/jumptv.swf" quality=high bgcolor=#333399 WIDTH="468" HEIGHT="150" NAME="Yourfilename" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> but it did not work out. Does anyone knows how to add the .SWF file to the webpage The response will be greatly appreciated Thanks
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="#" height="#" id="XXXXX" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="URL" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#000000" /><embed src="URL" menu="false" quality="high" scale="noscale" bgcolor="#000000" width="#" height="#" name="XXXXX" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> hello, the above one is of the correct format, would you like to compare it for awhile and check out what's the error?
hi, there is a javascript for this, so you wont get "click here to activate content" when it is loaded. google for swobject.js krisztian
This usually happens in IE, check Firefox.... you might not get this things....may be Microsoft has put restriction to load the unknown object, you need to click to activate the object
If you have Windows XP and if you are using Windows Movie Maker, then use the Riva FLV Encoder, a free. The converter based on the open-source FFMPEG encoder will help you to convert the video. Then use the open-source FlowPlayer Flash applet to actually embed the FLV video in our web pages.
If you are going to be using swf, and you present yourself as a web professional you better learn the proper way to embed your swf files. http://www.kirupa.com/developer/flash8/flash_fix.htm
i have a blog and i want to add an SWF file into it. first question is, do i have to upload the file in the web? if yes, where? im a beginner so please.. thanks/
There are two method for embeding flash: 1. using static publishing method <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>SWFObject 2 static publishing</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="scripts/swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("flashId", "9.0.0", "flash/expressInstall.swf"); </script> </head> <body> <div> <object id="flashId" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="250" height="300"> <param name="movie" value="flash/testFlash.swf" /> <param name="FlashVars" value="name=Dr.Solve"/> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="flash/testFlash.swf" width="250" height="300"> <param name="FlashVars" value="name=Dr.Solve"/> <!--<![endif]--> <div> <h1>Alternative content</h1> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </body> </html> 2. Dynamic Method <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>SWFObject 2 dynamic publishing example page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="scripts/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.name="Dr.Solve" var params = {}; params.quality = "high"; params.menu = "false"; params.scale = "noscale"; params.wmode = "transparent"; var expressInstallSwfurl="flash/expressInstall.swf"; var attributes = {}; swfobject.embedSWF("flash/testFlash.swf", "testFlash", "250", "300", "9.0.0",expressInstallSwfurl, flashvars, params, attributes); </script> </head> <body> <div id="testFlash"> <h1>Alternative content</h1> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> </body> </html> Hope this help you to Solve your Falsh Embedding Problem Thanks
Check the following code to insert swf: <object classid=â€clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=â€http://download.macromedia.com/pub/shockwave/ cabs/flash/swflash.cab#version=7,0,0,0″ width=â€400″ height=â€300″ id=â€flashvideoplayer.swf†align=â€middleâ€> <param name=â€allowScriptAccess†value=â€sameDomainâ€> <param name=â€movie†value=â€http://www.myhomepage.com/flashvideoplayer.swf“> <param name=â€quality†value=â€highâ€> <param name=â€bgcolor†value=â€#ffffffâ€> <embed src=â€http://www.myhomepage.com/flashvideoplayer.swf†quality=â€high†bgcolor=â€#ffffff†width=â€400″ height=â€300″ name=â€flashvideoplayer.swf†align=â€middle†allowScriptAccess=â€sameDomain†type=â€application/x-shockwave-flash†pluginspage=â€http://www.macromedia.com/go/getflashplayerâ€> </object> HTML:
just use this <object width="535" height="225"> <param name="movie" value="Support/images/ttNew1.swf"> <embed src="Support/images/ttNew1.swf" width="535" height="225"> </embed> </object> A broken icon will appear on the Web page if the user does not have the Flash plug-in installed and change the swf file path.
It's as easy as ABC. It seems that you miss the quotation marks. Check this tutorial - http://flash-video-player.blogspot.com/2009/04/flash-object-and-embed-tag-1_7258.html
You can use some banner maker(like Photo Flash Maker, you can google it) to generate embed cod embed code for you. Using a program to handle embed code will save you lots of time and reduce the possibility of error. You can also upload your SWF to third party hosting then use the embed code to embed the slideshow. Here is a tutorial on www.photo-flash-maker.com/how-to-embed-flash-slideshow-to-website.html, hope it helps.
Click the link below to see how to add flash banner to html page http://kooldesigning.com/faq.php#q15
You may refer to this step by step guide, it will show you how to embed SWF file into an HTML page, and then you can enjoy it on your webpage. http://www.flash-video-soft.com/blog/?p=200 Hope it helps. Contact me if you have any other question about Flash.
To make the things more simple I suggest to use Voynex Object Embedding, SWFObject or jQuery Media Plug-in library. It's pretty easy to use them and no need to remember all those tricky params. Just call a JavaScript function and job is done.