Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Tags
flash, flash gui, requested feature, transparent flash, xml

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.