topical media & game development

talk show tell print

professional-flex-code-12-RadioImage.mx

professional-flex-code-12-RadioImage.mx [swf] flex


  <?xml version="1.0" encoding="utf-8"?>
  <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml">
          <mx:Script>
                  <![CDATA[
                          import mx.controls.Image;
                          
                          [Bindable]
                          public var myId:String;
                          [Bindable]
                          public var myImage:String;
                          [Bindable]
                          public var myGroupName:String;
                          [Bindable]
                          public var myLabel:String;
                          
                  ]]>
          </mx:Script>
          <mx:RadioButton groupName="{this.myGroupName}" label="{this.myLabel}" />
          <mx:Image source="{this.myImage}" />
           <mx:Label text="{this}" />
  </mx:HBox>
  
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.