| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 
 | <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" width="845" height="442" 
	backgroundGradientColors="[#454545, #050505]" creationComplete="baglan.send()">
 
 
    <mx:Script>
    	<![CDATA[
    		import mx.controls.Alert;
    		import mx.rpc.events.ResultEvent;
    		import mx.rpc.events.FaultEvent;
    		import mx.binding.utils.BindingUtils;
    		import mx.collections.ArrayCollection;
 
 
    		[Bindable]
    		private var firms:ArrayCollection;
 
 
    		private function baglanti(event:ResultEvent):void{
    			firms = event.result.nakliyeciler.nakliye
    			tileList.dataProvider = firms;
 
    		}
    	    private function hata(event:FaultEvent):void{
 
			Alert.show(event.fault.faultDetail,"Error");
 
			}
 
 
 
    	]]>
    </mx:Script>
 
    <mx:HTTPService id="baglan" url="http://localhost:2673/portal_25/firma_listesi.aspx" result="baglanti(event)"
    	fault="hata(event)"
    	/>
 
 
 
 
 
 
 
	<mx:TileList x="0" y="39" width="415" height="403" maxColumns="2" columnWidth="203" 
		    id="tileList"
 
 
            itemRenderer="list"
            dragEnabled="true"
            dropEnabled="true"
            dragMoveEnabled="true">
 
 
	</mx:TileList>
	<mx:Image x="0" y="0" source="../img/firms.jpg"/>
	<mx:Button x="745" y="410" label="Web Site"  color="#ffffff" fillColors="[#1B1B1B, #414141]" fillAlphas="[1.0, 1.0]" borderColor="#060606" themeColor="#D9D9D9"/>
	<mx:Button x="680" y="410" label="Profil"  color="#ffffff" fillColors="[#1B1B1B, #414141]" fillAlphas="[1.0, 1.0]" borderColor="#060606" themeColor="#D9D9D9"/>
	<mx:Button x="587" y="10" label="ÜYE OLMAK İÇİN TIKLAYINIZ" width="235" color="#ffffff" fillColors="[#1B1B1B, #414141]" fillAlphas="[1.0, 1.0]" borderColor="#060606" themeColor="#D9D9D9"/>
 
</mx:Application> |