Topic: preloader color var

if im using the below embed code (with the actionscript api) how would I change the preloader color var

function loadGallery2 ()
        {
        var fo = new SWFObject("rv-virtual-tour/system/gallery/simpleviewer2.swf", "viewer", "960", "410", "8", "#333");
        fo.addParam("base","rv-virtual-tour/")
        fo.addParam("allowFullScreen","true");
        fo.addParam("allowScriptAccess","sameDomain");
        fo.write("flashcontent");   
         }

Thanks

Re: preloader color var

Add the following line before fo.write("flashcontent");

fo.addVariable("preloaderColor", "#ffffff")
Steven Speirs
SimpleViewer Support Team.