Flex 4中如何创建不可编辑NumericStepper的例子

<?xml version="1.0" encoding="utf-8"?>

<s:Applicationname="Spark_NumericStepper_textInput_editable_test"

xmlns:fx="http://ns.adobe.com/mxml/2009"

xmlns:s="library://ns.adobe.com/flex/spark"

xmlns:mx="library://ns.adobe.com/flex/halo">

<fx:Script>

<![CDATA[

private function init():void {

numericStepper.textInput.editable = false;

}

]]>

</fx:Script>

<s:NumericStepperid="numericStepper"

minimum="0"

maximum="100"

horizontalCenter="0"

verticalCenter="0"

initialize="init();"/>

</s:Application>

本文转自:http://blog.minidx.com/2009/10/08/2965.html

你可能感兴趣的:(html,xml,Flex,Blog,Adobe)