ImageWidth Property

The ImageWidth property contains the width of a single animation image.


    document.all["id_name"].ImageWidth [=long] 
Possible Values
    Long value that specifies or retrieves the width of the image.

    The property is read/write.
    The ImageWidth property must be set to the width of a single animation frame to be able to play back the animation correctly. It indirectly defines how many frames an animation contains. If a new animation with a different frame width is loaded, it will be necessary to update the ImageWidth value - otherwise the animation will look corrupted.
    The following example reads the ImageWidth 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