Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2006, 07:32 AM
Junior Member
 
Join Date: Jun 2005
Posts: 22
Default flash player background color


Hi swfkit team ..

Please tell me how can I detect the flash player background color . I triad to do like this :

bgColor = FlashPlayer.backgroundColor;
Dialogs.msgBox(bgColor);
Dialogs.msgBox(bgColor.format("0x%06X"));

but it's returns allwayes : -1 . Please tell me what's the correct code to write .

Thank you for this great product .
Reply With Quote
  #2 (permalink)  
Old 11-11-2006, 08:27 AM
Junior Member
 
Join Date: Jun 2005
Posts: 22
Default Re:flash player background color

Any answer ??? :-[
Reply With Quote
  #3 (permalink)  
Old 11-14-2006, 10:06 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:flash player background color

The FlashPlayer object get the background color of a swf file by searching the "SetBackgroundColor" tag in the swf file. If the swf file does not have such a tag, it will return -1 - that is, the swf file does not set its background color at all.
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:58 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.