<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erdem SELÇUK &#187; Action Script</title>
	<atom:link href="http://www.eravse.com/index.php/category/flash/action-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eravse.com</link>
	<description>Kişisel Günlük ,Teknoloji ve mobil yaşam</description>
	<lastBuildDate>Fri, 21 Oct 2011 19:26:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash ile İnternet bağlantısını kontrol etmek</title>
		<link>http://www.eravse.com/index.php/2009/07/16/flash-ile-internet-baglantisini-kontrol-etmek/</link>
		<comments>http://www.eravse.com/index.php/2009/07/16/flash-ile-internet-baglantisini-kontrol-etmek/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 12:24:36 +0000</pubDate>
		<dc:creator>Eravse</dc:creator>
				<category><![CDATA[Action Script]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://eravse.com/?p=17</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.eravse.com/index.php/category/flash/action-script/" title="Action Script">Action Script</a><a href="http://www.eravse.com/index.php/category/flash/" title="Flash">Flash</a></p>Eskilerden yaptığım birşeyi arar iken karşıma çıkan bir kodu palaşmak istiyorum var connected:Boolean = false; function checkConnection&#40;&#41;:Void &#123; var myLoadVars:LoadVars = new LoadVars&#40;&#41;; &#160; myLoadVars.onHTTPStatus = function&#40;httpStatus:Number&#41; &#123; if &#40;httpStatus != 0&#41; &#123; connected = true; &#125; else &#123; connected (&#8230;)</p><p><a href="http://www.eravse.com/index.php/2009/07/16/flash-ile-internet-baglantisini-kontrol-etmek/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Posted in <a href="http://www.eravse.com/index.php/category/flash/action-script/" title="Action Script">Action Script</a><a href="http://www.eravse.com/index.php/category/flash/" title="Flash">Flash</a></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Eskilerden yaptığım birşeyi arar iken karşıma çıkan bir kodu palaşmak istiyorum</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> connected:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">false</span>;
<span style="color: #000000; font-weight: bold;">function</span> checkConnection<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">var</span> myLoadVars:<span style="color: #0066CC;">LoadVars</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">LoadVars</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
myLoadVars.<span style="color: #006600;">onHTTPStatus</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>httpStatus:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>httpStatus <span style="color: #66cc66;">!</span>= <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> 
			<span style="color: #66cc66;">&#123;</span>
				connected = <span style="color: #000000; font-weight: bold;">true</span>;
			<span style="color: #66cc66;">&#125;</span> 
		<span style="color: #b1b100;">else</span> 
			<span style="color: #66cc66;">&#123;</span>
				connected = <span style="color: #000000; font-weight: bold;">false</span>;
			<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">delete</span> <span style="color: #0066CC;">this</span>;
	<span style="color: #66cc66;">&#125;</span>;
	myLoadVars.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>teorik olarak google.com u ziyaret edip bir response alıyorsa bağlı oldunuzu boolean türünden döndürüp işleminize devam etmenizi sağlıyabilirsiniz.local bir exe çalışmasında kullanıcının hangi frame ve işlemleri yaptığını log tutmak için kullanılmıştı zamanında <img src='http://www.eravse.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-17"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.eravse.com/index.php/2009/07/16/flash-ile-internet-baglantisini-kontrol-etmek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

