Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2006, 02:11 AM
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default SWFGen Background Color

Heya's

Been a long time SWFGen user....many apps now using it However is there a method to change the output .swf's base background color?

It's all well and good if implementing the .swf in a web page or such but viewed as straight up .swf I keep getting the orginal .swfs background color (which I wish to change to user specified!).

Cheers

Andrew
XZAKT Media, Australia.
http://www.xzmedia.com


Reply With Quote
  #2 (permalink)  
Old 05-04-2006, 02:43 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen Background Color

Yes, by handling the OnSubBackgroundColor event

Code:
swfgen.OnSubBackgroundColor = function (obj)
{
    obj.red = 0;
    obj.green = 0;
    obj.blue = 256;
    obj.needSub = true;    
}
Reply With Quote
  #3 (permalink)  
Old 05-04-2006, 02:48 PM
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default Re:SWFGen Background Color

Thanks! Blind as a bat! I spend so much type subbing actionscript and graphics that I miss the basics!

Cheers

Andrew
www.xzmedia.com

Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:40 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.