ASTRA IPv4AddressInput
IPv4AddressInput is a user interface component for Flex that allows the user to input an Internet Protocol version 4 address. This control includes a field for each separate byte and full keyboard navigation.
Getting Started: IPv4AddressInput for Flex 3
Similar to other Flex components, you can create a IPv4AddressInput by creating an instance with MXML or by using ActionScript to create an instance dynamically.
Initializing an IPv4AddressInput with MXML
Similar to other Flex components, you can create an IPv4AddressInput with MXML. First, you must import the yahoo namespace for the Astra Flex controls. Simply add xmlns:yahoo="http://www.yahoo.com/astra/2006/mxml" to your application or MXML component declaration.
To programmatically set the text of the IPv4AddressInput control, use the value property. It accepts a String representation of an IP address or an instance of the com.yahoo.astra.net.IPv4Address class.

To see a live example, please install Adobe Flash Player version 9 or higher.
Download the MXML example file.
Initializing an IPv4AddressInput with ActionScript
Alternatively, you can use ActionScript to instantiate an IPv4AddressInput control. Be sure the import the IPv4AddressInput class first, then simply create an instance and add it to the display list using addChild().
Like in MXML, you can set the value property using a String value or an IPv4Address object.

To see a live example, please install Adobe Flash Player version 9 or higher.
Download the MXML example file.
For additional topics, please read Using IPv4AddressInput, or take a look at the Examples section for functional demonstrations. The ActionScript 3.0 Class Reference contains full details on every property, method, and style available to the IPv4AddressInput component.