I'm testing out Graal's flash capabilities with a little program that creates Flash graphs from an XML file. However, the Flash file it creates is transparent. With HTML, I can set the background color, but I don't know how to do that with a GuiFlash control.
Right now, the transparency is turned to black. I've tried setting the profile's fill color, but it didn't do anything. Any ideas, people?
Also, you can see the example by using this code:
PHP Code:
//#CLIENTSIDE
function onCreated() {
new GuiWindowCtrl("FlashContainer") {
this.profile = GuiWindowProfile;
this.width = 410;
this.height = 330;
this.x = screenwidth / 2 - this.width / 2;
this.y = screenheight / 2 - this.height / 2;
this.destroyonhide = true;
this.canclose = true;
this.closequery = false;
this.clientrelative = true;
new GuiFlash("FlashData") {
temp.base = "http://www.shakytable.com/inverness/flash/charts.swf?library_path=";
temp.lib = "http://www.shakytable.com/inverness/flash/charts_library&xml_source=";
temp.xml = "http://www.shakytable.com/inverness/flash/test.xml";
this.x = 0;
this.y = 0;
this.width = 400;
this.height = 300;
this.tryactivex = true;
//this.useownprofile = true;
//this.profile.fillcolor = {76, 94, 111};
this.moviename = temp.base @ temp.lib @ temp.xml;
this.playmovie();
}
}
}