[SWFObject] Validating page

Geoff Stearns geoff at deconcept.com
Wed Sep 20 22:56:55 PDT 2006


the .write needs to be last


On Sep 21, 2006, at 1:09 AM, Patricia Davidson wrote:

> 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&preloaderB 
> orderColor=0xCCCCCC','scale','noscale','bgcolor','#363B41','pluginspag 
> e','http://www.macromedia.com/go/ 
> getflashplayer','movie','slideshowpro'
> ); //end AC code
> </script><noscript>
>
> What do you think?
>
> http://goldbeachyouthgroup.com
>
> Thanks, Pat :)
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list