|
|||
|
OK, I think I've figured out that I need to be using a newer version of SWFObject (I'm trying to use 2.2 - the latest). My problem is with passing the variable for the xml file name to the flash....it doesn't seem to be working. Here's what I have so far:
<head> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.xml = "small-bottom-data.xml?time="+newDate().getTime()"; var params = {}; var attributes = {}; swfobject.embedSWF("small-banner-ad.swf", "small-banner-ad", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes); </script> </head> <body> <div id="small-banner-ad"> <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> </div> </body> I'm NOT a JS programmer....just following the instructions on SWFObject's site. Any help here would be appreciated. |
|
|||
|
Hi, unfortunately I know nothing about java script and html, only flash. The problem comes from the embedding code indeed. All you need to do it find the proper embedding code ( the latest version ) over the web, google is your friend here, just search for swf embed in html and you will get tons of options and help on how to do this
|
![]() |
| Tags |
| autoplay banner, ie7 |
| Thread Tools | |
| Display Modes | |
|
|