BackgroundColor Property

The BackgroundColor property contains the color of the background of the animated image.


    document.all["id_name"].BackgroundColor [=color] 
Possible Values
    ColorValue that specifies or retrieves the background color.

    The property is read/write.
    If the transparent property is set to true the background color specifies the color value that will appear transparent. Thus, all pixels of the source-image that are assigned this background color will become transparent.
    ColorValue: An RGB (Red, Green, Blue) 32-bit color value that defines a solid color. Each of the Red, Green, Blue portions represents the color intensity between 0 and 255 (or 0x00 to 0xff hexadecimal). The RGB color value can be calculated: ColorValue = Red + Green*256 + Blue*65536. Please note that this representation differs from HTML color values which are hexadecimal RRGGBB.
    The following example reads the BackgroundColor property and shows it in an alert window.

    <OBJECT id="id_SKAnimateControl" style="width:65px; height:65px; 
    border-width:0px; margin-right:0px; margin-bottom:5px; 
    margin-top:5px; " 
    	<PARAM NAME="ImageFile" VALUE=
    	<PARAM NAME="ImageWidth" VALUE="65">
    	<PARAM NAME="TimerInterval" VALUE="25">
    	<PARAM NAME="UseAlpha" VALUE="0">
    	<PARAM NAME="SrcAlpha" VALUE="0">
    	<PARAM NAME="BackgroundColor" VALUE="0">
    	<PARAM NAME="Transparent" VALUE="0">
    <SCRIPT TYPE="text/javascript">
    function id_SKAnimateControl::Click()

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top