[SWFObject] Validating page

Patricia Davidson pddesigns at gmail.com
Wed Sep 20 22:09:11 PDT 2006


Hi, thanks, because I'm still having a problem.

do you mean this?
<div id="midsection1">
  This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
   	var so = new
SWFObject("http://goldbeachyouthgroup.com/slideshowpro.swf", "movie",
"760", "150", "7", "#36393E");
   	so.write("midsection1");
	so.addVariable("xmlFile", "GBYG.xml");
so.addVariable("preloaderBackColor", "0xaf0000");
so.addVariable("preloaderBorderColor", "0xcccccc");
so.addParam("scale", "noscale");
</script>

it can't parse the xml.

I did a test by taking the js code that using the slideshow produced
and linking it to an external js.  The movie played with the head tags
:(  I know that was wrong but I believe that somehow it needs this
code with it:

  <script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','760','height','150','id','GBYG','align','middle','src','slideshowpro','wmode','window','quality','best','flashvars','xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderColor=0xCCCCCC','scale','noscale','bgcolor','#363B41','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','slideshowpro'
); //end AC code
</script><noscript>

What do you think?

http://goldbeachyouthgroup.com

Thanks, Pat :)



More information about the Swfobject mailing list