<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>... FlashDersi.com Blog V.1 - Flash - Flex - Apollo - Actionscript 3 - AS3 ...</title>
	<link>http://www.flashdersi.com/flash/blog</link>
	<description>ActionScript 3 by Hakan KIRIK</description>
	<pubDate>Tue, 27 Jul 2010 10:19:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>
	<language>en</language>
			<item>
		<title>Input Text&#8217;i geçici olarak devre dışı bırakmak</title>
		<link>http://www.flashdersi.com/flash/blog/?p=60</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=60#comments</comments>
		<pubDate>Tue, 27 Jul 2010 10:18:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=60</guid>
		<description><![CDATA[textKutusu.type=&#8221;dynamic&#8221;;
 yaparak giriş izni iptal edilir.
textKutusu.type=&#8221;input&#8221;;
yaparak tekrar giriş izni verilir.
]]></description>
			<content:encoded><![CDATA[<p><strong>textKutusu.type=&#8221;dynamic&#8221;;</strong></p>
<p> yaparak giriş izni iptal edilir.</p>
<p><strong>textKutusu.type=&#8221;input&#8221;;</strong></p>
<p>yaparak tekrar giriş izni verilir.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=60</wfw:commentRss>
		</item>
		<item>
		<title>Virgül sonrası hassasiyet</title>
		<link>http://www.flashdersi.com/flash/blog/?p=59</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=59#comments</comments>
		<pubDate>Fri, 09 Jul 2010 11:10:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=59</guid>
		<description><![CDATA[Math.round(20/7); // 3
int((20/7)*10)/10; // 2.8
int((20/7)*100)/100; // 2.85
int((20/7)*1000)/1000; // 2.857
]]></description>
			<content:encoded><![CDATA[<p>Math.round(20/7); // 3<br />
int((20/7)*10)/10; // 2.8<br />
int((20/7)*100)/100; // 2.85<br />
int((20/7)*1000)/1000; // 2.857</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=59</wfw:commentRss>
		</item>
		<item>
		<title>MovieClip içindeki tüm nesnelere erişmek</title>
		<link>http://www.flashdersi.com/flash/blog/?p=58</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=58#comments</comments>
		<pubDate>Mon, 28 Jun 2010 14:33:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AS]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=58</guid>
		<description><![CDATA[mc adlı movieclip olsun. mc içindekileri silmek istiyorsunuz:
var i:uint = mc.numChildren;
   while(i- -)
  {
   mc.removeChild(mc.getChildAt(i));
  }
]]></description>
			<content:encoded><![CDATA[<p>mc adlı movieclip olsun. mc içindekileri silmek istiyorsunuz:</p>
<p>var i:uint = mc.numChildren;<br />
   while(i- -)<br />
  {<br />
   mc.removeChild(mc.getChildAt(i));<br />
  }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=58</wfw:commentRss>
		</item>
		<item>
		<title>using your microphone and FMS and save it on to the FMS server as an .flv file</title>
		<link>http://www.flashdersi.com/flash/blog/?p=57</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=57#comments</comments>
		<pubDate>Thu, 10 Jun 2010 07:25:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<category><![CDATA[FMS]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=57</guid>
		<description><![CDATA[import flash.net.NetConnection;
import flash.events.NetStatusEvent;
import flash.media.Microphone;
import flash.net.NetStream;
var nc:NetConnection=new NetConnection();
var mic:Microphone=Microphone.getMicrophone();
nc.addEventListener(NetStatusEvent.NET_STATUS,fStatus);
function fStatus(evt:NetStatusEvent)
{
 if(evt.info.code==&#8221;NetConnection.Connect.Success&#8221;)
 {
  var ns:NetStream=new NetStream(nc);
  ns.attachAudio(mic);
  ns.publish(&#8221;FlashDersi&#8221;,&#8221;record&#8221;);
 }
}
nc.connect(&#8221;rtmp://fms_hosting.com/applicationName&#8221;);
]]></description>
			<content:encoded><![CDATA[<p>import flash.net.NetConnection;<br />
import flash.events.NetStatusEvent;<br />
import flash.media.Microphone;<br />
import flash.net.NetStream;</p>
<p>var nc:NetConnection=new NetConnection();<br />
var mic:Microphone=Microphone.getMicrophone();<br />
nc.addEventListener(NetStatusEvent.NET_STATUS,fStatus);<br />
function fStatus(evt:NetStatusEvent)<br />
{<br />
 if(evt.info.code==&#8221;NetConnection.Connect.Success&#8221;)<br />
 {<br />
  var ns:NetStream=new NetStream(nc);<br />
  ns.attachAudio(mic);<br />
  ns.publish(&#8221;FlashDersi&#8221;,&#8221;record&#8221;);<br />
 }<br />
}<br />
nc.connect(&#8221;rtmp://fms_hosting.com/applicationName&#8221;);</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=57</wfw:commentRss>
		</item>
		<item>
		<title>Air 2.0  ile dosya açmak</title>
		<link>http://www.flashdersi.com/flash/blog/?p=55</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=55#comments</comments>
		<pubDate>Thu, 13 May 2010 14:15:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Flash CS5]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=55</guid>
		<description><![CDATA[Adobe AIR uygulamasından bir dosyayı artık varsayılan program ile açmak mümkündür. Örnek; mp3 dosyasını açıyorsunuz, Media Player açılıp çalıyor mesela&#8230;
Alttaki örnek basit ama anlaşılır bir uygulama:
import flash.filesystem.File;
import flash.events.Event;
var dosyam:File=File.applicationDirectory;
dosyam.browseForOpen(&#8221;seç&#8221;);
dosyam.addEventListener(Event.SELECT,fSel);
function fSel(evt:Event)
{
 dosyam=evt.target as File;
 dosyam.openWithDefaultApplication();
}
]]></description>
			<content:encoded><![CDATA[<p>Adobe AIR uygulamasından bir dosyayı artık varsayılan program ile açmak mümkündür. Örnek; mp3 dosyasını açıyorsunuz, Media Player açılıp çalıyor mesela&#8230;<br />
Alttaki örnek basit ama anlaşılır bir uygulama:</p>
<p>import flash.filesystem.File;<br />
import flash.events.Event;</p>
<p>var dosyam:File=File.applicationDirectory;<br />
dosyam.browseForOpen(&#8221;seç&#8221;);<br />
dosyam.addEventListener(Event.SELECT,fSel);</p>
<p>function fSel(evt:Event)<br />
{<br />
 dosyam=evt.target as File;<br />
 dosyam.openWithDefaultApplication();<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>FileReference ile dosya kaydetme</title>
		<link>http://www.flashdersi.com/flash/blog/?p=54</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=54#comments</comments>
		<pubDate>Thu, 01 Oct 2009 10:20:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=54</guid>
		<description><![CDATA[alttaki kodlar ile kullanıcının bilgisayarına dosya kayıt yaptırabiliyoruz.
Özellikle String, ByteArray veya XML tarzı objelerde işe yarıyor.
var file:FileReference = new FileReference();
stage.addEventListener(MouseEvent.CLICK, fKaydet, false, 0, true);
function fKaydet(evt:MouseEvent):void {
 file.save(&#8221;FlashDersi.com.\nAS3 örnekleri&#8221;, &#8220;FD_com.txt&#8221;);
}
]]></description>
			<content:encoded><![CDATA[<p>alttaki kodlar ile kullanıcının bilgisayarına dosya kayıt yaptırabiliyoruz.<br />
Özellikle <span class="inlineas">String</span>, <span class="inlineas">ByteArray veya</span> <span class="inlineas">XML</span> tarzı objelerde işe yarıyor.</p>
<p>var file:FileReference = new FileReference();<br />
stage.addEventListener(MouseEvent.CLICK, fKaydet, false, 0, true);<br />
function fKaydet(evt:MouseEvent):void {<br />
 file.save(&#8221;FlashDersi.com.\nAS3 örnekleri&#8221;, &#8220;FD_com.txt&#8221;);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=54</wfw:commentRss>
		</item>
		<item>
		<title>Eksen etrafında obje döndürme</title>
		<link>http://www.flashdersi.com/flash/blog/?p=53</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=53#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:26:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=53</guid>
		<description><![CDATA[sahnenizde mc1 adlı Movieclip olsun:
addEventListener(Event.ENTER_FRAME, f1);
mc1.z=10;
function f1(e:Event):void {
mc1.transform.matrix3D.prependRotation(2, Vector3D.Y_AXIS);
}
]]></description>
			<content:encoded><![CDATA[<p>sahnenizde mc1 adlı Movieclip olsun:<br />
addEventListener(Event.ENTER_FRAME, f1);<br />
mc1.z=10;<br />
function f1(e:Event):void {<br />
mc1.transform.matrix3D.prependRotation(2, Vector3D.Y_AXIS);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>AS3 de Tween donma (freeze) problemi</title>
		<link>http://www.flashdersi.com/flash/blog/?p=52</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=52#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:40:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=52</guid>
		<description><![CDATA[this[&#8221;tw&#8221;+Math.random()]=new Tween(sahnedekiMC,&#8221;scaleX&#8221;,Strong.easeOut,0,1,3,true);
Önceden tanımlamaya gerek duymuyor. Bu tek satır ile TWEEN çalışıyor ve aynı anda birçok TWEEN in kullanılmasında donma sorunu oluşmuyor.
]]></description>
			<content:encoded><![CDATA[<p align="left">this[&#8221;tw&#8221;+Math.random()]=new Tween(sahnedekiMC,&#8221;scaleX&#8221;,Strong.easeOut,0,1,3,true);</p>
<p>Önceden tanımlamaya gerek duymuyor. Bu tek satır ile TWEEN çalışıyor ve aynı anda birçok TWEEN in kullanılmasında donma sorunu oluşmuyor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=52</wfw:commentRss>
		</item>
		<item>
		<title>IEventDispatcher   uygulaması</title>
		<link>http://www.flashdersi.com/flash/blog/?p=51</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=51#comments</comments>
		<pubDate>Thu, 19 Mar 2009 10:25:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[AS3]]></category>

		<category><![CDATA[AS]]></category>

		<category><![CDATA[Flash CS4]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=51</guid>
		<description><![CDATA[Sahnenizde 6 tane button olsun. Sahne adları sırayla : btn1_btn ,btn2_btn , btn3_btn  vs&#8230; olsun.
Frame&#8217;e şu kodları ekleyelim:
for(var no:uint=1;no&#60;4;no++)
{
 dispecle(this[&#8221;btn&#8221;+no+&#8221;_btn&#8221;],MouseEvent.CLICK,f1);
}
for(var no2:uint=4;no2&#60;7;no2++)
{
 dispecle(this[&#8221;btn&#8221;+no2+&#8221;_btn&#8221;],MouseEvent.ROLL_OVER,f2);
}
function dispecle(pecleyen:IEventDispatcher,olay:String,fonksiyon:Function)
{
 pecleyen.addEventListener(olay,fonksiyon);
}
function f1(evt:MouseEvent)
{
 trace(evt.currentTarget.name);
}
function f2(evt:MouseEvent)
{
 trace(evt.currentTarget.name);
}
]]></description>
			<content:encoded><![CDATA[<p align="left">Sahnenizde 6 tane button olsun. Sahne adları sırayla : btn1_btn ,btn2_btn , btn3_btn  vs&#8230; olsun.</p>
<p align="left">Frame&#8217;e şu kodları ekleyelim:</p>
<p align="left">for(var no:uint=1;no&lt;4;no++)<br />
{<br />
 dispecle(this[&#8221;btn&#8221;+no+&#8221;_btn&#8221;],MouseEvent.CLICK,f1);<br />
}</p>
<p align="left">for(var no2:uint=4;no2&lt;7;no2++)<br />
{<br />
 dispecle(this[&#8221;btn&#8221;+no2+&#8221;_btn&#8221;],MouseEvent.ROLL_OVER,f2);<br />
}</p>
<p align="left">function dispecle(pecleyen:IEventDispatcher,olay:String,fonksiyon:Function)<br />
{<br />
 pecleyen.addEventListener(olay,fonksiyon);<br />
}</p>
<p align="left">function f1(evt:MouseEvent)<br />
{<br />
 trace(evt.currentTarget.name);<br />
}</p>
<p align="left">function f2(evt:MouseEvent)<br />
{<br />
 trace(evt.currentTarget.name);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=51</wfw:commentRss>
		</item>
		<item>
		<title>Event fonksiyonunu başka yerden kullanmak</title>
		<link>http://www.flashdersi.com/flash/blog/?p=50</link>
		<comments>http://www.flashdersi.com/flash/blog/?p=50#comments</comments>
		<pubDate>Fri, 06 Feb 2009 09:19:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.flashdersi.com/flash/blog/?p=50</guid>
		<description><![CDATA[Farzedelim bir düğmeye bastığımızda çalışan fonksiyonu farklı bir durumda kullanmak istiyoruz. Bunu şu şekilde yapabiliriz ( sahnede bir düğme olsun:btn)
btn.addEventListener(MouseEvent.CLICK,f1);
function f1(evt:MouseEvent=null)
{
 trace(&#8221;ok&#8221;);
}
f1();
    google_ad_client = "pub-4101515867725035";  google_ad_width = 120;  google_ad_height = 240;  google_ad_format = "120x240_as";  google_ad_type = "text";  google_ad_channel = "";  google_color_border = "FFFFFF";  google_color_bg = "FFFFFF"; [...]]]></description>
			<content:encoded><![CDATA[<p>Farzedelim bir düğmeye bastığımızda çalışan fonksiyonu farklı bir durumda kullanmak istiyoruz. Bunu şu şekilde yapabiliriz ( sahnede bir düğme olsun:btn)</p>
<p>btn.addEventListener(MouseEvent.CLICK,f1);<br />
function f1(evt:MouseEvent=null)<br />
{<br />
 trace(&#8221;ok&#8221;);<br />
}</p>
<p>f1();</p>
<script type="text/javascript">    google_ad_client = "pub-4101515867725035";  google_ad_width = 120;  google_ad_height = 240;  google_ad_format = "120x240_as";  google_ad_type = "text";  google_ad_channel = "";  google_color_border = "FFFFFF";  google_color_bg = "FFFFFF";  google_color_link = "0000FF";  google_color_text = "000000";  google_color_url = "474E68";</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersi.com/flash/blog/?feed=rss2&amp;p=50</wfw:commentRss>
		</item>
	</channel>
</rss>
