Flash Builder Örnekleri

Flash Builder ( Flex 4 ) Makaleleri

  • Ana SayfaAna Sayfa

01 Mayıs 2010
Posted by admin

ColorPicker DataProvider

You may want user to select some colors, so you must use color picker and dataprovider that has the colors.

Turkish
Color picker ile kullanıcıların bazı renklerini seçmesini isteyebilirsiniz. Bunun için colorpicker içerisine dataprovider göndermeniz gerekir. Bu data provider içinde seçilebilir renkler mevcuttur.

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
	<mx:Script>
		<![CDATA[
			[Bindable]
			public var color_picker_DP:Array = ['0x000000', '0xFF0000', '0xFF8800',
				'0xFFFF00', '0x88FF00', '0x00FF00', '0x00FF88', '0x00FFFF', 
				'0x0088FF', '0x0000FF', '0x8800FF', '0xFF00FF', '0xFFFFFF'];
		]]>    
	</mx:Script>
 
	<mx:ColorPicker id="cp" dataProvider="{color_picker_DP}"/>
</mx:Application>

Demo :

No Comments

Posted Under <mx:ColorPicker>

No Comments Yet

You can be the first to comment!

Leave a comment

* = Required

    • Posts
    • Twitter
    • Flickr
     

    Flex’te...

    Hatalar - Errors

     

    As3 Email...

    Action Script Hints

     

    ColorPicker an...

    <mx:ColorPicker>

    Seonokta.com kurumsal sitelere seo hizmeti sunmaktadır. Sitenizin Google aramalarında daha üstte olmasını... http://ff.im/oMiZE

    follow me on
    twitter

    DSC_0076IMAG0274fireworks2009_0807blackwatchaug090114
  • Categories

    • Action Script Hints
    • Charts – <mx:Chart>
    • Components – <fx:Component>
      • <mx:Accordion>
      • <mx:ColorPicker>
      • <mx:PopUpMenuButton>
      • <s:Spinner>
    • Genel – <s:Application>
    • Hatalar – Errors
  • Archives

    • 2010
      • Ocak
      • Şubat
      • Nisan
      • Mayıs
      • Haziran
      • Temmuz
    • 2009
      • Aralık
  • Bağlantılar

    • kiralık uçak

This site is using the Handgloves WordPress Theme
Designed & Developed by George Wiscombe

Subscribe via RSS