Flex4 introduced a new a Spinner control which was not available in MX. In Flex4 Spinner control is called a Spark component.
Flex4 introduced a new a Spinner control which was not available in MX. In Flex4 Spinner control is called a Spark component.
Flex4 introduced a new a Spinner control which was not available in MX. In Flex4
Spinner control is called a Spark component. You can set the values and select
the values by clicking up and down button in Spinner control. The tag of Spinner
control is <s:Spinner>.
|
<?xml version='1.0' encoding='UTF-8'?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s=" library://ns.adobe.com/flex/spark"xmlns:mx=" library://ns.adobe.com/flex/mx"> <s:Panel title="Spinner Control Example" x="0" y="0" width="278" height="250">selectedIndex="@{spinner1.value}"> <mx:HBox label="C"> <s:Label text="C is a procedural based language."/></s:Application> |
In this example you can see how we can use a Spinner control in Flex4.
To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.