| 1 |
<?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 |
<mx:Application |
|---|
| 3 |
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" |
|---|
| 4 |
xmlns:myCompo="*" |
|---|
| 5 |
backgroundColor="#ffffff" viewSourceURL="srcview/index.html"> |
|---|
| 6 |
<mx:Label text="必要な材料を選んでください。" x="10" y="10"/> |
|---|
| 7 |
<myCompo:CheckList id="check_list" |
|---|
| 8 |
change="info_txt.text = check_list.selectedItem.selected" |
|---|
| 9 |
dataProvider="{a_dp}" width="224" x="10" y="36" height="138"/> |
|---|
| 10 |
<mx:ArrayCollection id="a_dp"> |
|---|
| 11 |
<mx:Object label="ニンジン" selected="true"/> |
|---|
| 12 |
<mx:Object label="ピーマン" selected="true"/> |
|---|
| 13 |
<mx:Object label="ニンニク" selected="true"/> |
|---|
| 14 |
<mx:Object label="トマト" selected="true"/> |
|---|
| 15 |
</mx:ArrayCollection> |
|---|
| 16 |
<mx:TextInput id="info_txt" |
|---|
| 17 |
x="10" y="182" width="224"/> |
|---|
| 18 |
</mx:Application> |
|---|