[SWFObject] Validating page

Geoff Stearns geoff at deconcept.com
Wed Sep 20 21:47:50 PDT 2006


this line is way off..

> so.addParam(""wmode" value="window", "transparent", "FlashVars"  
> value="xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderCol 
> or  =0xCCCCCC"), "quality" value="best", "scale" value="noscale" ;

here's what you probably want:

so.addVariable("xmlFile", "GBYG.xml");
so.addVariable("preloaderBackColor", "0xaf0000");
so.addVariable("preloaderBorderColor", "0xcccccc");
so.addParam("scale", "noscale");

and then one more:
the
so.addParam("wmode", "transparent"); i'm not sure you need, you could  
probably leave that one out....




> so.addParam(""wmode" value="window", "transparent", "FlashVars"  
> value="xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderCol 
> or  =0xCCCCCC"), "quality" value="best", "scale" value="noscale" ;



On Sep 20, 2006, at 11:21 PM, info at kylierose.com.au wrote:

> hi there
>
> had a quick look at this and ran it through the validator.
> fixed file is attached.
>
> ~kr
>
> BTW: issue was with this line of code
>
> so.addParam(""wmode" value="window", "transparent", "FlashVars"  
> value="xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderCol 
> or  =0xCCCCCC"), "quality" value="best", "scale" value="noscale" ;
>
> should be:
>
>> so.addParam("wmode" value="window", "transparent", "FlashVars"  
>> value="xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderCo 
>> lor  =0xCCCCCC"), "quality" value="best", "scale" value="noscale";
>
> have a great day!
>
> Quoting Patricia Davidson <pddesigns at gmail.com>:
>
>> Hi, it's getting closer as I don't have the errors anymore.  My
>> background image in my div is showing up. Remember, this is the  
>> second
>> flash item on the page.  Part of your code above was for the flash
>> menu which I validating and working fine with the swfobject script.
>>
>> http://goldbeachyouthgroup.com/index.php
>> <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.addParam(""wmode" value="window", "transparent", "FlashVars"
>> value="xmlFile=GBYG.xml&preloaderBackColor=0xAF0000&preloaderBorderCo 
>> lor
>> =0xCCCCCC"), "quality" value="best", "scale" value="noscale" ;
>> </script>
>>
>> that's the code.  I have to change it a bit because this code is
>> embedded in my cms (expression engine by pMachine) so it's in the
>> template system.
>>
>> if you need to refer to the original code. I have it here:
>> http://goldbeachyouthgroup.com/test.html
>>
>> Thank for the help.
>> Pat :)
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>
>
> <test.htm>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list