try this code :

hope it is what you were looking for.

*MyNumericStepper.mxml*

<?xml version="1.0" encoding="utf-8"?>
<mx:NumericStepper xmlns:mx="http://www.adobe.com/2006/mxml";
creationComplete="init()">

            <mx:Script>
                <![CDATA[


                    private function init():void{
                        mx_internal::inputField.text    =    "";
                    }

                ]]>
            </mx:Script>
</mx:NumericStepper>


*main.mxml*

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical"
xmlns:local="*">

    <local:MyNumericStepper />

</mx:Application>




On Thu, Nov 4, 2010 at 11:41 AM, xavierzhao <[email protected]> wrote:

> Hi,
> can we change default value of numeric stepper. I want it blank
> when the user does not select any value.
> If any one knows how to do that.
>
> I don't want the value zero init. I want to completely clear
> the value.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to