Topic: Preloader Color

Can someone please explain how I can change the color of the preloader.
I've seen a number of posts that discuss it but no post that explains how.

Re: Preloader Color

Set the preloader color in the HTML document that contains SimpleViewer. Add this line below the swfObject declaration:

fo.addVariable("preloaderColor", "0xff00ff");
Felix Turner
SimpleViewer Support Team.

Re: Preloader Color

I tried that. It still loads as white.

Just to be clear we are talking about the preloader that you see just before the flash movie is loaded. Stays white no matter what value I put in here :

fo.addVariable("preloaderColor", "0x000000");

:?:

Re: Preloader Color

Note the code has to go above the "fo.write()" line, so your code should look something like:

[code]
var fo = new FlashObject("viewer.swf", "viewer", "100%", "100%", "6", "#D6D1C8");       
fo.addVariable("preloaderColor", "0xff00ff");
fo.write("flashcontent");   
[/code]

If that doesn't work, make sure you are using SV v1.8 and that you haven't modified any code that may affect this.[/code]

Felix Turner
SimpleViewer Support Team.

Re: Preloader Color

Yup it was the order. Thanks!