| 2 | | <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> |
| | 2 | <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();"> |
| | 3 | <mx:ArrayCollection id="comboArray"> |
| | 4 | <mx:String>chat1.ustream.tv</mx:String> |
| | 5 | <mx:String>irc.freenode.net</mx:String> |
| | 6 | <mx:String>irc.tokyo.wide.ad.jp</mx:String> |
| | 7 | </mx:ArrayCollection> |
| | 8 | |
| | 9 | <mx:VBox> |
| | 10 | <mx:VBox> |
| | 11 | <mx:Label text="Select Server" /> |
| | 12 | <mx:HBox> |
| | 13 | <mx:ComboBox id="sampleCombo" dataProvider="{comboArray}" /> |
| | 14 | <mx:Button id="serverButton" label="Connect" click="connectServer();" /> |
| | 15 | </mx:HBox> |
| | 16 | </mx:VBox> |
| | 17 | <mx:VBox id="channelPanel"> |
| | 18 | <mx:Label text="Input Channel Name" /> |
| | 19 | <mx:HBox> |
| | 20 | <mx:TextInput id="channelName" styleName="input" /> |
| | 21 | <mx:Button id="channelButton" label="Join" click="joinChannel();" /> |
| | 22 | </mx:HBox> |
| | 23 | |
| | 24 | </mx:VBox> |
| | 25 | </mx:VBox> |
| | 26 | |
| | 27 | |
| 40 | | <mx:ArrayCollection id="comboArray"> |
| 41 | | <mx:String>chat1.ustream.tv</mx:String> |
| 42 | | <mx:String>irc.freenode.net</mx:String> |
| 43 | | <mx:String>irc.tokyo.wide.ad.jp</mx:String> |
| 44 | | </mx:ArrayCollection> |
| 45 | | |
| 46 | | <mx:VBox> |
| 47 | | <mx:Panel title="Select Server" styleName="main"> |
| 48 | | <mx:HBox> |
| 49 | | <mx:ComboBox id="sampleCombo" dataProvider="{comboArray}" /> |
| 50 | | <mx:Button id="serverButton" label="Connect" click="connectServer();" /> |
| 51 | | </mx:HBox> |
| 52 | | </mx:Panel> |
| 53 | | |
| 54 | | <mx:Panel title="Select Channel" id="channelPanel" enabled="false" styleName="main"> |
| 55 | | <mx:HBox> |
| 56 | | <mx:TextInput id="channelName" styleName="input" /> |
| 57 | | <mx:Button id="channelButton" label="Join" click="joinChannel();" /> |
| 58 | | </mx:HBox> |
| 59 | | </mx:Panel> |
| 60 | | </mx:VBox> |