Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.net.dns 
ARecord 
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.

See also



Public Properties
 PropertyDefined By
  AIR-only address : String
The IPv4 address.
ARecord
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedAIR-only name : String
The query string used to look up this resource record.
ResourceRecord
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheritedAIR-only ttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined By
  
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
AIR-only 

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
AIR-only 

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.