<?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>Flash Dersleri &#187; menü</title>
	<atom:link href="http://www.flashdersleri.net/tag/menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashdersleri.net</link>
	<description>Biri ActionScript mi dedi?</description>
	<lastBuildDate>Sat, 20 Aug 2011 20:04:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[AS3] Sağ Tık Menüsünü Özelleştirmek</title>
		<link>http://www.flashdersleri.net/2009/12/11/sag-tik-menusunu-ozellestirmek/</link>
		<comments>http://www.flashdersleri.net/2009/12/11/sag-tik-menusunu-ozellestirmek/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 20:15:20 +0000</pubDate>
		<dc:creator>bilgenc</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[menü]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[özel]]></category>
		<category><![CDATA[özelleştirmek]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[sağ]]></category>
		<category><![CDATA[tık]]></category>

		<guid isPermaLink="false">http://www.flashdersleri.net/?p=117</guid>
		<description><![CDATA[Merhaba arkadaşlar, Bu yazı flashdersleri.net&#8217;e eklediğim ilk yazım olacak&#8230;  Bir süreliğine siteye ekleyeceğim yazılar, son 1-2 sene içerisinde yazmış olduğum basit ama önemli konular olacak.  Vakit buldukça da ders niteliğinde yazılar hazırlayarak siteye eklemeye çalışacağım. Yeni başlayanlar ,  bazı flash sitelerde mouse&#8217;un sağ tuşuna bastığımızda çıkan menünün nasıl özelleştirilebileceğini merak ediyordur mesela ?  =) Çok [...]]]></description>
			<content:encoded><![CDATA[<p>Merhaba arkadaşlar,</p>
<p>Bu yazı flashdersleri.net&#8217;e eklediğim ilk yazım olacak&#8230;  Bir süreliğine siteye ekleyeceğim yazılar, son 1-2 sene içerisinde yazmış olduğum basit ama önemli konular olacak.  Vakit buldukça da ders niteliğinde yazılar hazırlayarak siteye eklemeye çalışacağım.</p>
<p>Yeni başlayanlar ,  bazı flash sitelerde mouse&#8217;un sağ tuşuna bastığımızda çıkan menünün nasıl özelleştirilebileceğini merak ediyordur mesela ?  =)</p>
<p>Çok fazla anlatacak birşey yok kodları aşağıda vereceğim. Zaten benim makalelerimde genellikle kod ağırlıklı olur. Anlatmaktan çok örnek gösteririm. Yok biz bunu beğenmedik diyenler varsa, anlatması iyi olan arkadaşlar benim yerime anlatabilirler =)</p>
<p>Sağ tık menüsüne seçenek ekleyerek, menüyü özelleştirebilirsiniz.</p>
<p>Atıyorum siteniz 4 sayfadan oluşuyordur,</p>
<p>- Anasayfa</p>
<p>- Hakkımızda</p>
<p>- Çalışmalar</p>
<p>- İletişim</p>
<p>Bu sayfalara geçişleri de sağ tık menüsüne vererek,  sitenizdeki sayfalar menüsüne farklı bir alternatif getirebilirsiniz.</p>
<p>Örnek kodlar aşağıda:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> sag_menu<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">ContextMenu</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">ContextMenu</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
sag_menu<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">hideBuiltInItems</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> secenek1<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">ContextMenuItem</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">ContextMenuItem</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; by bilgenç&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> secenek2<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">ContextMenuItem</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">ContextMenuItem</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; ercumentekinci.com.tr/blog&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
secenek2<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">ContextMenuEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MENU_ITEM_SELECT</span><span style="color: #000066; font-weight: bold;">,</span> bloga_git<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
sag_menu<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">customItems</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>secenek1<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
sag_menu<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">customItems</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>secenek2<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contextMenu</span> = sag_menu<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> bloga_git<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">ContextMenuEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">url</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> = “http<span style="color: #000066; font-weight: bold;">:</span><span style="color: #009900; font-style: italic;">//ercumentekinci.com.tr/blog”;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> request<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">url</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>request<span style="color: #000066; font-weight: bold;">,</span> ‘_blank’<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Sitemiz tüm flash meraklılarına hayırlı olsun&#8230; Umarım flashseverlere faydalı bir site olur&#8230;</p>
<p>Ercüment Ekinci</p>
<p>11.12.09</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashdersleri.net/2009/12/11/sag-tik-menusunu-ozellestirmek/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

