View Single Post
  #1  
Old 07-31-2008, 11:31 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Transparent Flash

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.screenwidth this.width 2;
    
this.screenheight 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.0;
      
this.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();
    }
  }

__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote