`
hereson
  • 浏览: 1444210 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Specifying a custom label field on a Flex ComboBox

    博客分类:
  • flex
阅读更多
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/09/25/specifying-a-custom-label-field-on-a-flex-combobox-control/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white">

    <mx:XMLList id="statesXMLList">
        <state abbrev="AL" name="Alabama" />
        <state abbrev="AK" name="Alaska" />
        <state abbrev="AZ" name="Arizona" />
        <state abbrev="AR" name="Arkansas" />
        <state abbrev="CA" name="California" />
        <state abbrev="CO" name="Colorado" />
        <state abbrev="CT" name="Connecticut" />
    </mx:XMLList>

    <mx:ComboBox id="comboBox"
            prompt="Please select a State..."
            dataProvider="{statesXMLList}"
            labelField="@name" />

</mx:Application>
分享到:
评论

相关推荐

    SSD7 选择题。Multiple-Choice

    What information is necessary when specifying the structure of a table? (a) the name of the table and the amount of storage space to be allocated to the table (b) the name of the table, the ...

    RealTimeFur.pdf

    The use of lapped textures permits specifying a global direction field for the fur over the surface. At runtime, the patches of volume textures are rendered as a series of concentric shells of semi-...

    Android代码-自定义字体,且不需要写代码哦~

    Letter Press Custom typefaces without a single line of code! With Letter Press, ...You can apply your custom fonts in a few ways: by using the theme, by specifying a specific style per view, or on

    Specifying Systems.pdf

    文件内容提到的《Specifying Systems》是一本由Leslie Lamport所著的关于TLA+语言和工具的书,这本书是为硬件和软件工程师所编写的。TLA+是一种形式化规范语言,用于描述和分析分布式系统和其他计算机系统的设计。接...

    UG6.0快捷键大全

    MESSAGE Deforms a surface region using a law defined by a function. SYNONYMS overcrown, global deformation, surface feature HELP DSN_global_shaping_by_function BITMAP globalshaping ACTIONS ...

    Python 2.6 Graphics Cookbook.pdf

    Widget configuration – a label 200 Button focus 201 The simplest push button with validation 203 A data entry box 204 Colored button causing a message pop-up 207 Complex interaction between ...

    grpc-common-master.zip_Grpc-c_go-common-master_grpc_grpc client_

    In gRPC a client application can directly call methods on a server application on a different machine as if it was a local object, making it easier for you to create distributed applications and ...

    NatCorder - Video Recording API 1.7.2.unitypackage

    With NatCorder, you can record the screen, a specific game camera, a texture, raw pixel data, and so on. You can also record game audio from audio sources, listeners, and custom sources. NatCorder is...

    Solaris 10 System Administration Essentials

    1.3.3 Performing a Custom JumpStart Installation 22 1.4 Upgrading a Solaris System 25 1.5 Solaris Live Upgrade 26 Chapter 2 Boot, Service Management, and Shutdown 33 2.1 Boot 33 2.1.1 The Bootloader ...

    a-color-picker:Web应用程序的颜色选择器

    请参阅 用法 包含acolorpicker.js &lt; script type =" text/... 或需要a-color-picker const AColorPicker = require ( 'a-color-picker' ) ; 调用此JavaScript函数AColorPicker . from ( 'div.container' ) ;

    高性能消息传输机制Aeron.zip

    In general, a URI is used for specifying a channel.物理来源 Physical Source: Source of a Session.物理接收者 Physical Receiver: Receiver of a Session.流 Stream: A Session carries sub-sessions within ...

    The Google Maps Javascript API V3.doc

    The API offers a rich set of features, allowing developers to create custom map-based solutions, from basic mapping to complex location-based services. Geolocation Geolocation is a key aspect of the...

    The Neural Simulation Language A System for Brain Modeling

    Chapter 3: Modeling Overview - developing a neural network to describe a biological system or serve a technological application: Examples of biological and artificial neural networks model in NSL. ...

    网格变形.pdf

    method is based on a representation that incorporates both articulated and non-rigid deformations. We learn a pose deformation model that derives the non-rigid surface deformation as a function of the...

Global site tag (gtag.js) - Google Analytics