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.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v1 → 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.
Set the preloader color in the HTML document that contains SimpleViewer. Add this line below the swfObject declaration:
fo.addVariable("preloaderColor", "0xff00ff");
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");
:?:
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]
Yup it was the order. Thanks!
SimpleViewer Forum → SimpleViewer-Pro v1 → Preloader Color
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.