|
|||
|
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 . |
|
|||
|
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.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|