﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="Video,flash.media.Video,NELLYMOSER,SPEEX,activityLevel,activityLevel,album,artist,bandwidth,bufferTime,bufferTime,bytesLoaded,bytesTotal,checkPolicyFile,codec,comment,currentFPS,deblocking,encodeQuality,fps,framesPerPacket,gain,genre,height,id3,index,index,isBuffering,keyFrameInterval,leftPeak,leftToLeft,leftToRight,length,loopback,motionLevel,motionTimeout,muted,muted,name,name,names,names,pan,position,quality,rate,rightPeak,rightToLeft,rightToRight,silenceLevel,silenceTimeout,smoothing,songName,soundTransform,soundTransform,soundTransform,track,url,useEchoSuppression,videoHeight,videoWidth,volume,width,year,areSoundsInaccessible,attachCamera,attachNetStream,clear,close,computeSpectrum,extract,getCamera,getMicrophone,load,play,scanHardware,setKeyFrameInterval,setLoopBack,setLoopback,setMode,setMotionLevel,setQuality,setSilenceLevel,setUseEchoSuppression,stopAll,stop"><title>flash.media.Video (ActionScript 3.0)</title><script src="../../AC_OETags.js" type="text/javascript"></script></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript">  
            <!--  
			    
				asdocTitle = 'Video - ActionScript 3.0 Language and Components Reference';

				var baseRef = '../../';

				window.onload = configPage;
			      
			    -->  
            </script>
<script language="javascript" type="text/javascript"><!--
function submitValue(){
var searchStr=document.getElementById('search-livedocs').value;
window.location="../../search.html"+"###"+searchStr;
}
--></script><script type="text/javascript">
		scrollToNameAnchor();
	</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">ActionScript 3.0 Language and Components Reference</td><td class="titleTableSearch" align="center"><form class="searchForm" method="get" action="../../search.html" onsubmit="submitValue();"><input class="hidden" name="loc" value="" type="hidden"><input class="hidden" name="termPrefix" value="" type="hidden"><input class="hidden" name="term" value="" type="hidden"><input class="hidden" name="area" value="" type="hidden"><input id="search-livedocs" name="search_text" value="" title="" type="text"> <input type="button" name="action" value="Search" onclick="submitValue()"></form></td><td class="titleTableTopNav" align="right"><a href="../../../../Flash/10.0_Welcome/index.html">Home</a>&nbsp;|&nbsp;<a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../language-elements.html">Language Elements</a>&nbsp;| <a href="../../all-index-Symbols.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a href="../../appendixes.html">Appendixes</a>&nbsp;|&nbsp;<a href="../../conventions.html">Conventions</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?flash/media/Video.html&amp;flash/media/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">Video</td><td class="titleTableSubNav" id="subNav" align="right" colspan="2"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#styleSummary">Styles</a>&nbsp;| <a href="#effectSummary">Effects</a>&nbsp;| <a href="#constantSummary">Constants</a>&nbsp;| <a href="#includeExamplesSummary">Examples</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
                
                    
                

				<!--

				
				    
				

					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Video"); titleBar_setSubNav(false,true,false	,false,true,false,true,true,false	,false,false,false,false,false);}

				    
				        
				    
				-->
                
                    
                
			</script><div class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">flash.media</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public  class  Video</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Video  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../flash/display/DisplayObject.html">DisplayObject</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../flash/events/EventDispatcher.html">EventDispatcher</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../Object.html">Object</a></td></tr><tr><td class="classHeaderTableLabel">Subclasses</td><td> <a href="../../fl/video/VideoPlayer.html">VideoPlayer</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p></p>
        The Video class displays live or recorded video in an application 
 without embedding the video in your SWF file.  
 This class creates a Video object in an Adobe Flash or Adobe Flex interface that plays 
 either of the following kinds of video: recorded FLV files stored on a server or locally,
 or live video captured from a user's computer.
 A Video object is a display object on the application's display list and represents
 the visual space in which the video runs in a user interface.
        <p>When used with Flash Media Server, the Video object allows you to
 send live video from a user's computer to the server and then
 broadcast it from the server to other users.
 Using these features, you can develop media applications such as
 a simple video player, a video player with multipoint publishing from
 one server to another, or a video sharing application for a user community.</p>
        
               <p>Flash Player 9 supports publishing and playback of FLV files encoded 
 with either the Sorenson Spark or On2 VP6 codec and also supports an alpha channel. The On2 
 VP6 video codec uses less bandwidth than older technologies and offers additional deblocking 
 and deringing filters. See the flash.net.NetStream class for more information about video playback.</p>
        
               <p>
          Flash Player 9.0.115.0 and later versions support mipmapping to optimize runtime rendering quality and performance. 
 For video playback, Flash Player uses mipmapping optimization if you set the Video object's
          <code>smoothing</code>
          property to
          <code>true</code>
          .
        </p>
        
               <p>
          As with other display objects on the display list,
 you can control various properties of Video objects. For example,
 you can move the Video object around on the Stage by using its
          <code>x</code>
          and
          <code>y</code>
          properties, you can change its size using its
          <code>height</code>
          and
          <code>width</code>
          properties, and so on.
        </p>
        
               <p>
          To play a video stream, use
          <code>attachCamera()</code>
          or
          <code>attachNetStream()</code>
          to attach the video to the Video object. Then, add the Video object
 to the display list using
          <code>addChild()</code>
          .
        </p>
        
               <p>
          If you are using the Flash authoring tool, you can also place the Video object on the Stage
 rather than adding it with
          <code>addChild()</code>
          , like this:
        </p>
        
               <ol>
                  <li>If the Library panel isn't visible, select Window > Library to display it.</li>
                  <li>Add an embedded Video object to the library by clicking the Options menu on
       the right side of the Library panel title bar and selecting New Video.</li>
                  <li>In the Video Properties dialog box, name the embedded Video object for use in the library
       and click OK.</li>
                  <li>
            Drag the Video object to the Stage and use the Property Inspector to give it
       a unique instance name, such as
            <code>my_video</code>
            . (Do not name it Video.)
          </li>
               </ol>
        
               <p>
                  <b>Note:</b>
          The Video class is not a subclass of the InteractiveObject class, so
 it cannot dispatch mouse events. However, you can call the
          <code>addEventListener()</code>
          method
 on the display object container that contains the Video object.
        </p>
        
            <p></p><p><a href="#includeExamplesSummary">View the examples</a></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="Video.html#attachCamera()" target="">attachCamera()</a><br/><a href="Video.html#attachNetStream()" target="">attachNetStream()</a><br/><a href="Camera.html#getCamera()" target="">flash.media.Camera.getCamera()</a><br/><a href="../../flash/net/NetConnection.html" target="">flash.net.NetConnection</a><br/><a href="../../flash/net/NetStream.html" target="">flash.net.NetStream</a><br/><a href="../../flash/display/DisplayObjectContainer.html#addChild()" target="">flash.display.DisplayObjectContainer.addChild()</a><br/><a href="../../flash/display/Stage.html#addChild()" target="">flash.display.Stage.addChild()</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th>Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#accessibilityProperties" class="signatureLink">accessibilityProperties</a> : <a href="../../flash/accessibility/AccessibilityProperties.html">AccessibilityProperties</a><div class="summaryTableDescription">The current accessibility options for this display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#alpha" class="signatureLink">alpha</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the alpha transparency value of the object specified.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#blendMode" class="signatureLink">blendMode</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">A value from the BlendMode class that specifies which blend mode to use.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#blendShader" class="signatureLink">blendShader</a> : <a href="../../flash/display/Shader.html">Shader</a><div class="summaryTableDescription">[write-only] Sets a shader that is used for blending the foreground and background.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#cacheAsBitmap" class="signatureLink">cacheAsBitmap</a> : <a href="../../Boolean.html">Boolean</a><div class="summaryTableDescription">If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the
     display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#constructor" class="signatureLink">constructor</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">A reference to the class object or constructor function for a given object instance.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#deblocking" class="signatureLink">deblocking</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">Indicates the type of filter applied to decoded video as part of post-processing.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#filters" class="signatureLink">filters</a> : <a href="../../Array.html">Array</a><div class="summaryTableDescription">An indexed array that contains each filter object currently associated with the display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#height" class="signatureLink">height</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the height of the display object, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#loaderInfo" class="signatureLink">loaderInfo</a> : <a href="../../flash/display/LoaderInfo.html">LoaderInfo</a><div class="summaryTableDescription">[read-only] Returns a LoaderInfo object containing information about loading the file
     to which this display object belongs.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#mask" class="signatureLink">mask</a> : <a href="../../flash/display/DisplayObject.html">DisplayObject</a><div class="summaryTableDescription">The calling display object is masked by the specified mask object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#mouseX" class="signatureLink">mouseX</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">[read-only] Indicates the x coordinate of the mouse position, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#mouseY" class="signatureLink">mouseY</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">[read-only] Indicates the y coordinate of the mouse position, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#name" class="signatureLink">name</a> : <a href="../../String.html">String</a><div class="summaryTableDescription">Indicates the instance name of the DisplayObject.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#opaqueBackground" class="signatureLink">opaqueBackground</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">Specifies whether the display object is opaque with a certain background color.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#parent" class="signatureLink">parent</a> : <a href="../../flash/display/DisplayObjectContainer.html">DisplayObjectContainer</a><div class="summaryTableDescription">[read-only] Indicates the DisplayObjectContainer object that contains this display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../Object.html#prototype" class="signatureLink">prototype</a> : <a href="../../Object.html">Object</a><div class="summaryTableDescription">[static] A reference to the prototype object of a class or function object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#root" class="signatureLink">root</a> : <a href="../../flash/display/DisplayObject.html">DisplayObject</a><div class="summaryTableDescription">[read-only] For a display object in a loaded SWF file, the root property is the 
     top-most display object in the portion of the display list's tree structure represented by that SWF file.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#rotation" class="signatureLink">rotation</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#rotationX" class="signatureLink">rotationX</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#rotationY" class="signatureLink">rotationY</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#rotationZ" class="signatureLink">rotationZ</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#scale9Grid" class="signatureLink">scale9Grid</a> : <a href="../../flash/geom/Rectangle.html">Rectangle</a><div class="summaryTableDescription">The current scaling grid that is in effect.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#scaleX" class="signatureLink">scaleX</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the horizontal scale (percentage) of the object as applied from the registration point.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#scaleY" class="signatureLink">scaleY</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#scaleZ" class="signatureLink">scaleZ</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the depth scale (percentage) of an object as applied from the registration point of the object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#scrollRect" class="signatureLink">scrollRect</a> : <a href="../../flash/geom/Rectangle.html">Rectangle</a><div class="summaryTableDescription">The scroll rectangle bounds of the display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#smoothing" class="signatureLink">smoothing</a> : <a href="../../Boolean.html">Boolean</a><div class="summaryTableDescription">Specifies whether the video should be smoothed (interpolated) when it is scaled.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#stage" class="signatureLink">stage</a> : <a href="../../flash/display/Stage.html">Stage</a><div class="summaryTableDescription">[read-only] The Stage of the display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#transform" class="signatureLink">transform</a> : <a href="../../flash/geom/Transform.html">Transform</a><div class="summaryTableDescription">An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#videoHeight" class="signatureLink">videoHeight</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">[read-only] An integer specifying the height of the video stream, in pixels.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#videoWidth" class="signatureLink">videoWidth</a> : <a href="../../int.html">int</a><div class="summaryTableDescription">[read-only] An integer specifying the width of the video stream, in pixels.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#visible" class="signatureLink">visible</a> : <a href="../../Boolean.html">Boolean</a><div class="summaryTableDescription">Whether or not the display object is visible.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#width" class="signatureLink">width</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the width of the display object, in pixels.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#x" class="signatureLink">x</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of
     the parent DisplayObjectContainer.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#y" class="signatureLink">y</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of
     the parent DisplayObjectContainer.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../flash/display/DisplayObject.html#z" class="signatureLink">z</a> : <a href="../../Number.html">Number</a><div class="summaryTableDescription">Indicates the z coordinate position along the z-axis of the DisplayObject
     instance relative to the 3D parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th>Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#Video()" class="signatureLink">Video</a>(width:<a href="../../int.html">int</a> = 320, height:<a href="../../int.html">int</a> = 240)</div><div class="summaryTableDescription">Creates a new Video instance.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#addEventListener()" class="signatureLink">addEventListener</a>(type:<a href="../../String.html">String</a>, listener:<a href="../../Function.html">Function</a>, useCapture:<a href="../../Boolean.html">Boolean</a> = false, priority:<a href="../../int.html">int</a> = 0, useWeakReference:<a href="../../Boolean.html">Boolean</a> = false):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Registers an event listener object with an EventDispatcher object so that the listener 
 receives notification of an event.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#attachCamera()" class="signatureLink">attachCamera</a>(camera:<a href="../../flash/media/Camera.html">Camera</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Specifies a video stream from a camera to be displayed
     within the boundaries of the Video object in the application.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#attachNetStream()" class="signatureLink">attachNetStream</a>(netStream:<a href="../../flash/net/NetStream.html">NetStream</a>):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Specifies a video stream to be displayed within the boundaries of the Video object 
     in the application.</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#clear()" class="signatureLink">clear</a>():<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Clears the image currently displayed in the Video object (not the video stream).</div></td><td class="summaryTableOwnerCol">Video</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#dispatchEvent()" class="signatureLink">dispatchEvent</a>(event:<a href="../../flash/events/Event.html">Event</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Dispatches an event into the event flow.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#getBounds()" class="signatureLink">getBounds</a>(targetCoordinateSpace:<a href="../../flash/display/DisplayObject.html">DisplayObject</a>):<a href="../../flash/geom/Rectangle.html">Rectangle</a></div><div class="summaryTableDescription">Returns a rectangle that defines the area of the display object relative to the coordinate system
     of the targetCoordinateSpace object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#getRect()" class="signatureLink">getRect</a>(targetCoordinateSpace:<a href="../../flash/display/DisplayObject.html">DisplayObject</a>):<a href="../../flash/geom/Rectangle.html">Rectangle</a></div><div class="summaryTableDescription">Returns a rectangle that defines the boundary of the display object, 
    based on the coordinate system defined by the targetCoordinateSpace 
    parameter, excluding any strokes on shapes.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#globalToLocal()" class="signatureLink">globalToLocal</a>(point:<a href="../../flash/geom/Point.html">Point</a>):<a href="../../flash/geom/Point.html">Point</a></div><div class="summaryTableDescription">Converts the point object from the Stage (global) coordinates
     to the display object's (local) coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#globalToLocal3D()" class="signatureLink">globalToLocal3D</a>(point:<a href="../../flash/geom/Point.html">Point</a>):<a href="../../flash/geom/Vector3D.html">Vector3D</a></div><div class="summaryTableDescription">Converts a two-dimensional point from the Stage (global) coordinates to a
     three-dimensional display object's (local) coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#hasEventListener()" class="signatureLink">hasEventListener</a>(type:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Checks whether the EventDispatcher object has any listeners registered for a specific type 
 of event.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#hasOwnProperty()" class="signatureLink">hasOwnProperty</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an object has a specified property defined.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#hitTestObject()" class="signatureLink">hitTestObject</a>(obj:<a href="../../flash/display/DisplayObject.html">DisplayObject</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Evaluates the display object to see if it overlaps or intersects with the
     obj display object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#hitTestPoint()" class="signatureLink">hitTestPoint</a>(x:<a href="../../Number.html">Number</a>, y:<a href="../../Number.html">Number</a>, shapeFlag:<a href="../../Boolean.html">Boolean</a> = false):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Evaluates the display object to see if it overlaps or intersects with the
     point specified by the x and y parameters.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#isPrototypeOf()" class="signatureLink">isPrototypeOf</a>(theClass:<a href="../../Object.html">Object</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether an instance of the Object class is in the prototype chain of the object specified 
  as the parameter.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#local3DToGlobal()" class="signatureLink">local3DToGlobal</a>(point3d:<a href="../../flash/geom/Vector3D.html">Vector3D</a>):<a href="../../flash/geom/Point.html">Point</a></div><div class="summaryTableDescription">Converts a three-dimensional point of the three-dimensional display 
     object's (local) coordinates to a two-dimensional point in the Stage (global) coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#localToGlobal()" class="signatureLink">localToGlobal</a>(point:<a href="../../flash/geom/Point.html">Point</a>):<a href="../../flash/geom/Point.html">Point</a></div><div class="summaryTableDescription">Converts the point object from the display object's (local) coordinates to the
     Stage (global) coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#propertyIsEnumerable()" class="signatureLink">propertyIsEnumerable</a>(name:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Indicates whether the specified property exists and is enumerable.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#removeEventListener()" class="signatureLink">removeEventListener</a>(type:<a href="../../String.html">String</a>, listener:<a href="../../Function.html">Function</a>, useCapture:<a href="../../Boolean.html">Boolean</a> = false):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Removes a listener from the EventDispatcher object.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#setPropertyIsEnumerable()" class="signatureLink">setPropertyIsEnumerable</a>(name:<a href="../../String.html">String</a>, isEnum:<a href="../../Boolean.html">Boolean</a> = true):<a href="../../specialTypes.html#void">void</a></div><div class="summaryTableDescription">Sets the availability of a dynamic property for loop operations.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#toString()" class="signatureLink">toString</a>():<a href="../../String.html">String</a></div><div class="summaryTableDescription">Returns the string representation of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../Object.html#valueOf()" class="signatureLink">valueOf</a>():<a href="../../Object.html">Object</a></div><div class="summaryTableDescription">Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../Object.html">Object</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#willTrigger()" class="signatureLink">willTrigger</a>(type:<a href="../../String.html">String</a>):<a href="../../Boolean.html">Boolean</a></div><div class="summaryTableDescription">Checks whether an event listener is registered with this EventDispatcher object or any of 
 its ancestors for the specified event type.</div></td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr></table></div><a name="eventSummary"></a><div class="summarySection"><div class="summaryTableTitle">Events</div><div class="showHideLinks"><div id="hideInheritedEvent" class="hideInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(false,'Event');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Events</a></div><div id="showInheritedEvent" class="showInheritedEvent"><a class="showHideLink" href="#eventSummary" onclick="javascript:setInheritedVisible(true,'Event');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Events</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable hideInheritedEvent" id="summaryTableEvent"><tr><th>&nbsp;</th><th colspan="2">Event</th><th> Summary </th><th>Defined By</th></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#event:activate" class="signatureLink">activate</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.</td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:added" class="signatureLink">added</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when a display object is added to the display list.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:addedToStage" class="signatureLink">addedToStage</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when a display object is added to the on stage display list, either directly or through the addition of a sub tree in which the display object is contained.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/events/EventDispatcher.html#event:deactivate" class="signatureLink">deactivate</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.</td><td class="summaryTableOwnerCol"><a href="../../flash/events/EventDispatcher.html">EventDispatcher</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:enterFrame" class="signatureLink">enterFrame</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the playhead is entering a new frame.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:exitFrame" class="signatureLink">exitFrame</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the playhead is exiting the current frame.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:frameConstructed" class="signatureLink">frameConstructed</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched after the constructors of frame display objects have run but before frame scripts have run.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:removed" class="signatureLink">removed</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when a display object is about to be removed from the display list.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:removedFromStage" class="signatureLink">removedFromStage</a></div></td><td class="summaryTableDescription summaryTableCol">Dispatched when a display object is about to be removed from the display list, either directly or through the removal of a sub tree in which the display object is contained.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr><tr class="hideInheritedEvent"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../flash/display/DisplayObject.html#event:render" class="signatureLink">render</a></div></td><td class="summaryTableDescription summaryTableCol">[broadcast event] Dispatched when the display list is about to be updated and rendered.</td><td class="summaryTableOwnerCol"><a href="../../flash/display/DisplayObject.html">DisplayObject</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
                      showHideInherited();
                      --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="deblocking"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">deblocking</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>deblocking:<a href="../../int.html">int</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Indicates the type of filter applied to decoded video as part of post-processing.
     The default value is 0, which lets the video compressor apply a deblocking filter as needed.
          <p>
            Compression of video can result in undesired artifacts. You can use the
            <code>deblocking</code>
            property to set filters that reduce blocking and,
     for video compressed using the On2 codec, ringing.
          </p>
          
          <p>
            <i>Blocking</i>
            refers to visible imperfections between the boundaries
     of the blocks that compose each video frame.
            <i>Ringing</i>
            refers to distorted
     edges around elements within a video image.
          </p>
          
          <p>Two deblocking filters are available: one in the Sorenson codec and one in the On2 VP6 codec.
     In addition, a deringing filter is available when you use the On2 VP6 codec. 
     To set a filter, use one of the following values:</p>
          
          <ul><li>0&mdash;Lets the video compressor apply the deblocking filter as needed.</li><li>1&mdash;Does not use a deblocking filter.</li><li>2&mdash;Uses the Sorenson deblocking filter.</li><li>3&mdash;For On2 video only, uses the On2 deblocking filter but no deringing filter.</li><li>4&mdash;For On2 video only, uses the On2 deblocking and deringing filter.</li><li>5&mdash;For On2 video only, uses the On2 deblocking and a higher-performance
     On2 deringing filter.</li></ul>
          
          <p>If a value greater than 2 is selected for video when you are using
     the Sorenson codec, the Sorenson decoder defaults to 2.</p>
          
          <p>Using a deblocking filter has an effect on overall playback performance, and it is usually
     not necessary for high-bandwidth video. If a user's system is not powerful enough, 
     the user may experience difficulties playing back video with a deblocking filter enabled.</p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get deblocking():<a href="../../int.html">int</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set deblocking(value:<a href="../../int.html">int</a>):<a href="../../specialTypes.html#void">void</a></code><br/></div><a name="propertyDetail"></a><a name="smoothing"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">smoothing</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>smoothing:<a href="../../Boolean.html">Boolean</a></code>&nbsp;&nbsp;[read-write] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Specifies whether the video should be smoothed (interpolated) when it is scaled. For
     smoothing to work, the player must be in high-quality mode. The default value
     is
          <code>false</code>
          (no smoothing).
          <p>
            For video playback using Flash Player 9.0.115.0 and later versions, set this property to
            <code>true</code>
            to take advantage of mipmapping image optimization.
          </p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get smoothing():<a href="../../Boolean.html">Boolean</a></code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set smoothing(value:<a href="../../Boolean.html">Boolean</a>):<a href="../../specialTypes.html#void">void</a></code><br/></div><a name="propertyDetail"></a><a name="videoHeight"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">videoHeight</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>videoHeight:<a href="../../int.html">int</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          An integer specifying the height of the video stream, in pixels. For live streams, this
     value is the same as the
          <code>Camera.height</code>
          property of the Camera object that is capturing the video stream. For FLV files, this
     value is the height of the file that was exported as FLV.
          <p>You may want to use this property, for example, to ensure that the user is seeing the
     video at the same size at which it was captured,
     regardless of the actual size of the Video object on the Stage.</p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get videoHeight():<a href="../../int.html">int</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="Camera.html#height" target="">flash.media.Camera.height</a></div></div><a name="propertyDetail"></a><a name="videoWidth"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">videoWidth</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>videoWidth:<a href="../../int.html">int</a></code>&nbsp;&nbsp;[read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          An integer specifying the width of the video stream, in pixels. For live streams, this
     value is the same as the
          <code>Camera.width</code>
          property of the Camera object that is capturing the video stream. For FLV files, this
     value is the width of the file that was exported as
     an FLV file.
          <p>You may want to use this property, for example, to ensure that the user is seeing the
     video at the same size at which it was captured,
     regardless of the actual size of the Video object on the Stage.</p>
          
        </p><br/><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get videoWidth():<a href="../../int.html">int</a></code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="Camera.html#width" target="">flash.media.Camera.width</a></div></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="Video()"></a><a name="Video(int,int)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">Video</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function Video(width:<a href="../../int.html">int</a> = 320, height:<a href="../../int.html">int</a> = 240)</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p>
          Creates a new Video instance. If no values for the
          <code>width</code>
          and
          <code>height</code>
          parameters are supplied, 
     the default values are used. You can also set the width and height properties of the
     Video object after the initial construction, using
          <code>Video.width</code>
          and
          <code>Video.height</code>
          .
     When a new Video object is created, values of zero for width or height are not allowed; 
     if you pass zero, the defaults will be applied.
          <p>
            After creating the Video, call the
            <code>DisplayObjectContainer.addChild()</code>
            or
            <code>DisplayObjectContainer.addChildAt()</code>
            method to add the Video object to a parent DisplayObjectContainer object.
          </p>
          
        </p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">width</span>:<a href="../../int.html">int</a></code> (default = <code>320</code>)<code></code> &mdash; The width of the video, in pixels.</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">height</span>:<a href="../../int.html">int</a></code> (default = <code>240</code>)<code></code> &mdash; The height of the video, in pixels.</td></tr></table></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="attachCamera()"></a><a name="attachCamera(flash.media.Camera)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">attachCamera</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function attachCamera(camera:<a href="../../flash/media/Camera.html">Camera</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Specifies a video stream from a camera to be displayed
     within the boundaries of the Video object in the application.
          <p>Use this method to attach live video from a user's computer
     to the Video object. You can play the live video locally on the same computer
     on which it is being captured, or you can send it to Flash Media Server and
     use the server to stream it to other users.</p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">camera</span>:<a href="../../flash/media/Camera.html">Camera</a></code> &mdash; 
              A Camera object that is capturing video data. 
     To drop the connection to the Video object, pass
              <code>null</code>
              .
            </td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="Video.html#attachNetStream()" target="">Video.attachNetStream()</a><br/><a href="Camera.html" target="">flash.media.Camera</a></div><br/><span class="label"> Example </span><br/><span class="usage"><a href="../../ExampleInstruct.html"> How to use examples </a></span><br/>
          Please see the
          <a href="Camera.html#getCamera()" target="">Camera.getCamera()</a>
          method example for an 
     illustration of how to use this method.
        </div><a name="attachNetStream()"></a><a name="attachNetStream(flash.net.NetStream)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">attachNetStream</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function attachNetStream(netStream:<a href="../../flash/net/NetStream.html">NetStream</a>):<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>
          Specifies a video stream to be displayed within the boundaries of the Video object 
     in the application.
     The video stream is either an FLV file played 
     with
          <code>NetStream.play()</code>
          , a Camera object, or
          <code>null</code>
          . 
     If you use an FLV file, it can be stored on the local file system or on
     Flash Media Server.
     If the value of the
          <code>netStream</code>
          argument is
          <code>null</code>
          , the video is no longer played in the Video object.
          <p>
            You do not need to use this method if the FLV file contains only audio; the audio
     portion of FLV files is played automatically
     when you call
            <code>NetStream.play()</code>
            . To control the audio 
     associated with an FLV file, use the
            <code>soundTransform</code>
            property 
     of the NetStream object that plays the FLV file.
          </p>
          
        </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">netStream</span>:<a href="../../flash/net/NetStream.html">NetStream</a></code> &mdash; 
              A NetStream object. To drop the connection to the Video object, pass
              <code>null</code>
              .
            </td></tr></table></p><p><span class="label">See also</span></p><div class="seeAlso"><a href="Video.html#attachCamera()" target="">Video.attachCamera()</a><br/><a href="../../flash/net/NetStream.html#soundTransform" target="">flash.net.NetStream.soundTransform</a><br/><a href="../../flash/net/NetStream.html#play()" target="">flash.net.NetStream.play()</a><br/><a href="SoundTransform.html" target="">SoundTransform</a></div></div><a name="clear()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">clear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function clear():<a href="../../specialTypes.html#void">void</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Language Version:&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b>Runtime Versions:&nbsp;</b></td><td>AIR 1.0, Flash Player 9</td></tr></table><p></p><p></p><p>Clears the image currently displayed in the Video object (not the video stream). This method is useful for 
     handling the current image. For example, you can clear the last image or display standby information 
     without hiding the Video object.</p><p><span class="label">See also</span></p><div class="seeAlso"><a href="Video.html#attachCamera()" target="">Video.attachCamera()</a></div></div><a name="includeExamplesSummary"></a><div class="detailSectionHeader">Examples<span class="usage"><a href="../../ExampleInstruct.html"> How to use examples </a></span></div><div class="exampleHeader">VideoExample.as</div><br/><div class="detailBody">
        The following example uses a Video object with the NetConnection and 
 NetStream classes to load and play an FLV file. To run this example, you need an FLV file 
 whose name and location match the variable passed to
        <code>videoURL</code>
        , 
 in this case, an FLV file called Video.flv that is in the same directory as the SWF file.
        <p>
          In this example, the code that creates the Video and NetStream objects and calls
          <code>Video.attachNetStream()</code>
          and
          <code>NetStream.play()</code>
          is placed 
 in a handler function. The handler is called only if the
 attempt to connect to the NetConnection object is successful, which is 
 when the
          <code>netStatus</code>
          event returns an info object with a
          <code>code</code>
          property that indicates success. 
 It is recommended that you wait for a successful connection before calling
          <code>NetStream.play()</code>
          .
        </p>
        
        <div class="listing"><pre>package {
    import flash.display.Sprite;
    import flash.events.*;
    import flash.media.Video;
    import flash.net.NetConnection;
    import flash.net.NetStream;

    public class VideoExample extends Sprite {
        private var videoURL:String = "Video.flv";
        private var connection:NetConnection;
        private var stream:NetStream;

        public function VideoExample() {
            connection = new NetConnection();
            connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
            connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
            connection.connect(null);
        }

        private function netStatusHandler(event:NetStatusEvent):void {
            switch (event.info.code) {
                case "NetConnection.Connect.Success":
                    connectStream();
                    break;
                case "NetStream.Play.StreamNotFound":
                    trace("Unable to locate video: " + videoURL);
                    break;
            }
        }

        private function connectStream():void {
            stream = new NetStream(connection);
            stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
            stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
            var video:Video = new Video();
            video.attachNetStream(stream);
            stream.play(videoURL);
            addChild(video);
        }

        private function securityErrorHandler(event:SecurityErrorEvent):void {
            trace("securityErrorHandler: " + event);
        }
        
        private function asyncErrorHandler(event:AsyncErrorEvent):void {
            // ignore AsyncErrorEvent events.
        }
    }
 }</pre></div>
      </div><br/><br/><hr><br/><p></p><center class="copyright"> &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  </center><div style="display:none">Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video Video </div><div style="display:none">flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video flash.media.Video </div></div></body></html><!-- &copy; 2004-2008 Adobe Systems Incorporated. All rights reserved. <br/>Thu Oct 30 2008, 07:08 PM -07:00  -->
