ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.net.dns 

ARecord  - AS3

Packageflash.net.dns
Classpublic class ARecord
InheritanceARecord Inheritance ResourceRecord Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The ARecord class represents a Domain Name System (DNS) A resource record containing an IPv4 address.

A resource records are returned by a DNSResolver object as a result of a DNS lookup of a domain name.

Related API Elements



Public Properties
 PropertyDefined By
      address : String
The IPv4 address.
ARecord
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inherited    name : String
The query string used to look up this resource record.
ResourceRecord
 Inherited    ttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined By
  
    ARecord()
Creates an A resource record.
ARecord
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
    

address

property
address:String

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The IPv4 address.



Implementation
    public function get address():String
    public function set address(value:String):void
Constructor Detail
    

ARecord

()Constructor
public function ARecord()

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Creates an A resource record.

A records are obtained from a DNS lookup using the DNSResolver class. Application code should not create ARecord objects.