hasVisual property

Gets a Boolean value that indicates whether the element can draw on the screen.

Syntax

JScript
b = object.hasVisual

 

Property values

Type: Boolean

One of the values in the Property Values section.

Examples

The following brief code sample uses an alert message to show the value of the hasVisual property.


<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>hasVisual Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
    .time{ behavior: url(#default#time2);}
</STYLE>
<SCRIPT>
function doFunction(){
    alert('hasVisual: ' + m1.hasVisual);
}
</SCRIPT>
</HEAD>

<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
    LINK="#000000" VLINK="#808080" ALINK="#000000">

<t:media id="m1" begin="0"
    src="/workshop/samples/author/behaviors/media/shuttle3.wmv"
    onmediacomplete="doFunction();" fill="remove"/>

</BODY>
</HTML>

See also

animation
audio
img
media
ref
video
Introduction to HTML+TIME

 

 

Show: