| Package | flash.events | 
| Class | public class NetDataEvent | 
| Inheritance | NetDataEvent  Event  Object | 
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
A NetDataEvent is dispatched for the following messages:
| Property | Defined by | ||
|---|---|---|---|
|  | bubbles : Boolean 
	Indicates whether an event is a bubbling event. | Event | |
|  | cancelable : Boolean 
	Indicates whether the behavior associated with the event can be prevented. | Event | |
|  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance. | Object | |
|  | currentTarget : Object 
	The object that is actively processing the Event object with an event listener. | Event | |
|  | eventPhase : uint 
	The current phase in the event flow. | Event | |
| info : Object [read-only]
	 A data object describing the message. | NetDataEvent | ||
|  | prototype : Object [static]
	 A reference to the prototype object of a class or function object. | Object | |
|  | target : Object 
	The event target. | Event | |
| timestamp : Number [read-only]
	 The timestamp of the data message in the media stream. | NetDataEvent | ||
|  | type : String 
	The type of event. | Event | |
| Method | Defined by | ||
|---|---|---|---|
| 
NetDataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timestamp:Number = 0, info:Object = null) 
	 Creates an event object that contains information about media data events. | NetDataEvent | ||
| 
	 Creates a copy of an NetDataEvent object and sets the value of each property to match that of 
	 the original. | NetDataEvent | ||
|  | 
	 A utility function for implementing the  toString()method in custom 
	 ActionScript 3.0 Event classes. | Event | |
|  | 
	 Indicates whether an object has a specified property defined. | Object | |
|  | 
	Checks whether the  preventDefault()method has been called on the event. | Event | |
|  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter. | Object | |
|  | 
	Cancels an event's default behavior if that behavior can be canceled. | Event | |
|  | 
	 Indicates whether the specified property exists and is enumerable. | Object | |
|  | 
     Sets the availability of a dynamic property for loop operations. | Object | |
|  | 
	Prevents processing of any event listeners in the current node and any subsequent nodes in 
	the event flow. | Event | |
|  | 
	Prevents processing of any event listeners in nodes subsequent to the current node in the 
	event flow. | Event | |
|  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
| 
	 Returns a string that contains all the properties of the NetDataEvent object. | NetDataEvent | ||
|  | 
	 Returns the primitive value of the specified object. | Object | |
| Constant | Defined by | ||
|---|---|---|---|
|  | ACTIVATE : String = "activate" [static]
	The  ACTIVATEconstant defines the value of thetypeproperty of anactivateevent object. | Event | |
|  | ADDED : String = "added" [static]
	The  Event.ADDEDconstant defines the value of thetypeproperty of 
	anaddedevent object. | Event | |
|  | ADDED_TO_STAGE : String = "addedToStage" [static]
	The  Event.ADDED_TO_STAGEconstant defines the value of thetypeproperty of anaddedToStageevent object. | Event | |
|  | BROWSER_ZOOM_CHANGE : String = "browserZoomChange" [static]
    The  Event.BROWSER_ZOOM_CHANGEconstant defines the value of thetypeproperty of anbrowserZoomChangeevent object. | Event | |
|  | CANCEL : String = "cancel" [static]
	The  Event.CANCELconstant defines the value of thetypeproperty of acancelevent object. | Event | |
|  | CHANGE : String = "change" [static]
	The  Event.CHANGEconstant defines the value of thetypeproperty of achangeevent object. | Event | |
|  | CHANNEL_MESSAGE : String = "channelMessage" [static]
	The  Event.CHANNEL_MESSAGEconstant defines the value of thetypeproperty of achannelMessageevent object. | Event | |
|  | CHANNEL_STATE : String = "channelState" [static]
	The  Event.CHANNEL_STATEconstant defines the value of thetypeproperty of achannelStateevent object. | Event | |
|  | CLEAR : String = "clear" [static]
	The  Event.CLEARconstant defines the value of thetypeproperty 
	of aclearevent object. | Event | |
|  | CLOSE : String = "close" [static]
	The  Event.CLOSEconstant defines the value of thetypeproperty of acloseevent object. | Event | |
|  | CLOSING : String = "closing" [static]
	The  Event.CLOSINGconstant defines the value of thetypeproperty of aclosingevent object. | Event | |
|  | COMPLETE : String = "complete" [static]
	The  Event.COMPLETEconstant defines the value of thetypeproperty of acompleteevent object. | Event | |
|  | CONNECT : String = "connect" [static]
	The  Event.CONNECTconstant defines the value of thetypeproperty of aconnectevent object. | Event | |
|  | CONTEXT3D_CREATE : String = "context3DCreate" [static]
	The  Event.CONTEXT3D_CREATEconstant defines the value of thetypeproperty of acontext3Dcreateevent object. | Event | |
|  | COPY : String = "copy" [static]
	Defines the value of the  typeproperty of acopyevent object. | Event | |
|  | CUT : String = "cut" [static]
	Defines the value of the  typeproperty of acutevent object. | Event | |
|  | DEACTIVATE : String = "deactivate" [static]
	The  Event.DEACTIVATEconstant defines the value of thetypeproperty of adeactivateevent object. | Event | |
|  | DISPLAYING : String = "displaying" [static]
	 The  Event.DISPLAYINGconstant defines the value of thetypeproperty of adisplayingevent object. | Event | |
|  | ENTER_FRAME : String = "enterFrame" [static]
	The  Event.ENTER_FRAMEconstant defines the value of thetypeproperty of anenterFrameevent object. | Event | |
|  | EXIT_FRAME : String = "exitFrame" [static]
	The  Event.EXIT_FRAMEconstant defines the value of thetypeproperty of anexitFrameevent object. | Event | |
|  | EXITING : String = "exiting" [static]
	The  Event.EXITINGconstant defines the value of thetypeproperty of anexitingevent object. | Event | |
|  | FRAME_CONSTRUCTED : String = "frameConstructed" [static]
	The  Event.FRAME_CONSTRUCTEDconstant defines the value of thetypeproperty of anframeConstructedevent object. | Event | |
|  | FRAME_LABEL : String = "frameLabel" [static]
	The  Event.FRAME_LABELconstant defines the value of thetypeproperty of anframeLabelevent object. | Event | |
|  | FULLSCREEN : String = "fullScreen" [static]
	The  Event.FULL_SCREENconstant defines the value of thetypeproperty of afullScreenevent object. | Event | |
|  | HTML_BOUNDS_CHANGE : String = "htmlBoundsChange" [static]
	The  Event.HTML_BOUNDS_CHANGEconstant defines the value of thetypeproperty of anhtmlBoundsChangeevent object. | Event | |
|  | HTML_DOM_INITIALIZE : String = "htmlDOMInitialize" [static]
	The  Event.HTML_DOM_INITIALIZEconstant defines the value of thetypeproperty 
	of anhtmlDOMInitializeevent object. | Event | |
|  | HTML_RENDER : String = "htmlRender" [static]
	The  Event.HTML_RENDERconstant defines the value of thetypeproperty of anhtmlRenderevent object. | Event | |
|  | ID3 : String = "id3" [static]
	The  Event.ID3constant defines the value of thetypeproperty of anid3event object. | Event | |
|  | INIT : String = "init" [static]
	The  Event.INITconstant defines the value of thetypeproperty of aninitevent object. | Event | |
|  | LOCATION_CHANGE : String = "locationChange" [static]
	The  Event.LOCATION_CHANGEconstant defines the value of thetypeproperty of alocationChangeevent object. | Event | |
| MEDIA_TYPE_DATA : String = "mediaTypeData" [static]
	 The  NetDataEvent.MEDIA_TYPE_DATAconstant defines the value of thetypeproperty of the NetDataEvent object
	 dispatched when a data message in the media stream is encountered by the NetStream object. | NetDataEvent | ||
|  | MOUSE_LEAVE : String = "mouseLeave" [static]
	The  Event.MOUSE_LEAVEconstant defines the value of thetypeproperty of amouseLeaveevent object. | Event | |
|  | NETWORK_CHANGE : String = "networkChange" [static]
	The  Event.NETWORK_CHANGEconstant defines the value of thetypeproperty of anetworkChangeevent object. | Event | |
|  | OPEN : String = "open" [static]
	The  Event.OPENconstant defines the value of thetypeproperty of anopenevent object. | Event | |
|  | PASTE : String = "paste" [static]
	The  Event.PASTEconstant defines the value of thetypeproperty of apasteevent object. | Event | |
|  | PREPARING : String = "preparing" [static]
	 The  Event.PREPARINGconstant defines the value of thetypeproperty of apreparingevent object. | Event | |
|  | REMOVED : String = "removed" [static]
	The  Event.REMOVEDconstant defines the value of thetypeproperty of
	aremovedevent object. | Event | |
|  | REMOVED_FROM_STAGE : String = "removedFromStage" [static]
	The  Event.REMOVED_FROM_STAGEconstant defines the value of thetypeproperty of aremovedFromStageevent object. | Event | |
|  | RENDER : String = "render" [static]
	The  Event.RENDERconstant defines the value of thetypeproperty of arenderevent object. | Event | |
|  | RESIZE : String = "resize" [static]
	The  Event.RESIZEconstant defines the value of thetypeproperty of aresizeevent object. | Event | |
|  | SCROLL : String = "scroll" [static]
	The  Event.SCROLLconstant defines the value of thetypeproperty of ascrollevent object. | Event | |
|  | SELECT : String = "select" [static]
	The  Event.SELECTconstant defines the value of thetypeproperty of aselectevent object. | Event | |
|  | SELECT_ALL : String = "selectAll" [static]
	The  Event.SELECT_ALLconstant defines the value of thetypeproperty of aselectAllevent object. | Event | |
|  | SOUND_COMPLETE : String = "soundComplete" [static]
	The  Event.SOUND_COMPLETEconstant defines the value of thetypeproperty of asoundCompleteevent object. | Event | |
|  | STANDARD_ERROR_CLOSE : String = "standardErrorClose" [static]
	The  Event.STANDARD_ERROR_CLOSEconstant defines the value of thetypeproperty of astandardErrorCloseevent object. | Event | |
|  | STANDARD_INPUT_CLOSE : String = "standardInputClose" [static]
	The  Event.STANDARD_INPUT_CLOSEconstant defines the value of thetypeproperty of astandardInputCloseevent object. | Event | |
|  | STANDARD_OUTPUT_CLOSE : String = "standardOutputClose" [static]
	The  Event.STANDARD_OUTPUT_CLOSEconstant defines the value of thetypeproperty of astandardOutputCloseevent object. | Event | |
|  | SUSPEND : String = "suspend" [static]
	The  Event.SUSPENDconstant defines the value of thetypeproperty of ansuspendevent object. | Event | |
|  | TAB_CHILDREN_CHANGE : String = "tabChildrenChange" [static]
	The  Event.TAB_CHILDREN_CHANGEconstant defines the value of thetypeproperty of atabChildrenChangeevent object. | Event | |
|  | TAB_ENABLED_CHANGE : String = "tabEnabledChange" [static]
	The  Event.TAB_ENABLED_CHANGEconstant defines the value of thetypeproperty of atabEnabledChangeevent object. | Event | |
|  | TAB_INDEX_CHANGE : String = "tabIndexChange" [static]
	The  Event.TAB_INDEX_CHANGEconstant defines the value of thetypeproperty of atabIndexChangeevent object. | Event | |
|  | TEXT_INTERACTION_MODE_CHANGE : String = "textInteractionModeChange" [static]
	The  Event.TEXT_INTERACTION_MODE_CHANGEconstant defines the value of thetypeproperty of ainteraction modeevent object. | Event | |
|  | TEXTURE_READY : String = "textureReady" [static]
	The  Event.TEXTURE_READYconstant defines the value of thetypeproperty of atextureReadyevent object. | Event | |
|  | UNLOAD : String = "unload" [static]
	The  Event.UNLOADconstant defines the value of thetypeproperty of anunloadevent object. | Event | |
|  | USER_IDLE : String = "userIdle" [static]
	The  Event.USER_IDLEconstant defines the value of thetypeproperty of auserIdleevent object. | Event | |
|  | USER_PRESENT : String = "userPresent" [static]
	The  Event.USER_PRESENTconstant defines the value of thetypeproperty of auserPresentevent object. | Event | |
|  | VIDEO_FRAME : String = "videoFrame" [static]
	The  Event.VIDEO_FRAMEconstant defines the value of thetypeproperty of avideoFrameevent object. | Event | |
|  | WORKER_STATE : String = "workerState" [static]
	The  Event.WORKER_STATEconstant defines the value of thetypeproperty of aworkerStateevent object. | Event | |
| info | property | 
info:Object  [read-only]
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
	 A data object describing the message. The info object has two properties: 
	 info.handler and info.args. 
	 info.handler is the handler name, such as "onMetaData" or "onXMPData". 
	 info.args is an array of arguments.
	 
	 
    public function get info():Object
| timestamp | property | 
timestamp:Number  [read-only]
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
The timestamp of the data message in the media stream.
Implementation    public function get timestamp():Number
| NetDataEvent | () | constructor | 
public function NetDataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timestamp:Number = 0, info:Object = null)
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
Creates an event object that contains information about media data events. Event objects are passed as parameters to Event listeners.
Parameters| type:String—  The type of the event. Event listeners can access this information through the 
	 inheritedtypeproperty. | |
| bubbles:Boolean(default =false)— Determines whether the Event object participates in the bubbling phase of the 
	 event flow. Event listeners can access this information through the inheritedbubblesproperty. | |
| cancelable:Boolean(default =false)— Determines whether the Event object can be canceled. Event listeners can 
	 access this information through the inheritedcancelableproperty. | |
| timestamp:Number(default =0)— timestamp of the data message | |
| info:Object(default =null)— data message object | 
| clone | () | method | 
public override function clone():Event
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
Creates a copy of an NetDataEvent object and sets the value of each property to match that of the original.
Returns| Event— 
                        A new NetDataEvent object with property values that match those of the original. | 
| toString | () | method | 
public override function toString():String
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
Returns a string that contains all the properties of the NetDataEvent object. The following format is used:
[NetDataEvent type=value bubbles=value cancelable=value 
	 timestamp=value]
| String— 
                        A string that contains all the properties of the NetMediaEvent object. | 
| MEDIA_TYPE_DATA | constant | 
public static const MEDIA_TYPE_DATA:String = "mediaTypeData"
| Language version: | ActionScript ActionScript 3.0 | 
| Runtime version: | AIR 2.7 | 
	 The NetDataEvent.MEDIA_TYPE_DATA constant defines the value of the type property of the NetDataEvent object
	 dispatched when a data message in the media stream is encountered by the NetStream object.
	 	 
