<?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>Herman Taniwan</title>
	<atom:link href="http://hermantaniwan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hermantaniwan.com</link>
	<description>Interactive is Future</description>
	<lastBuildDate>Thu, 03 Mar 2011 01:21:49 +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>Molehill is Available !</title>
		<link>http://hermantaniwan.com/artikel/molehill-is-available/</link>
		<comments>http://hermantaniwan.com/artikel/molehill-is-available/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 01:21:49 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Berita]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Adobe Labs]]></category>
		<category><![CDATA[Alternativa]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[Flare]]></category>
		<category><![CDATA[Incubator]]></category>
		<category><![CDATA[Lee Brimelow]]></category>
		<category><![CDATA[Mandreel]]></category>
		<category><![CDATA[Molehill]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[Quickstart Molehill]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Zombie Tycoon]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=287</guid>
		<description><![CDATA[Berita tentang perkembangan Molehill yang masih hangat. Molehill adalah salah satu fitur unggulan untuk flash player 11. Anda bisa melihat demo - demo yang disajikan beserta satu buah game dari Adobe sendiri.]]></description>
			<content:encoded><![CDATA[<p>Yap, di announced pada tanggal 28 Februari 2011. Bagi yang belum tahu, Molehill adalah satu set API yang dikembangkan oleh Adobe untuk dapat berinteraksi dengan GPU pada saat pemrosesan Grafik 3D. Hal ini dilakukan untuk mempercepat rendering polygon yang membentuk sebuah objek 3D (Kecepatan suatu Grafik 3D = Kecepatan proses polygon). Saat ini anda bisa mencoba sepak terjang molehill dengan menggunakan Adobe Flash Player Incubator. Seperti dikutip dari websitenya di <a href="http://labs.adobe.com/technologies/flashplatformruntimes/incubator/" target="_blank">http://labs.adobe.com/technologies/flashplatformruntimes/incubator/</a> : </p>
<p>&#8220;The Adobe® AIR® and Adobe Flash® Player Incubator is a technology preview program for more adventurous developers who are willing to experiment with Flash Platform runtime features that are in early development stages. Test the bleeding-edge capabilities of runtimes and contribute to the future of the Flash Platform. Please note that the capabilities in the Incubator builds may or may not be supported in future releases of the runtimes.&#8221;</p>
<p>Ini berarti bahwa Flash Player ini sifatnya experimental dan tidak akan digunakan dalam future release. Saya sendiri telah mencoba kehandalannya dengan bermain game molehill yang disediakan Adobe.</p>
<p><a href="http://molehill.zombietycoon.com/" target="_blank"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2011/03/molehill_ZombieTycoon.jpg" alt="Zombie Tycoon in Molehill" title="Zombie Tycoon in Molehill" width="580" height="377" class="size-full wp-image-299" /></a></p>
<h3 class="bigText">Hubungan dengan Unity 3D</h3>
<p><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2011/03/molehill_unity.jpg" alt="Molehill API and Unity" title="Molehill API and Unity" width="580" height="251 class="size-full wp-image-295" /><br />
Molehill ini juga nanti bisa <a href="http://blogs.unity3d.com/2011/02/27/unity-flash-3d-on-the-web/">dikembangkan</a> di unity3D sebelum nantinya diekspor.</p>
<h3 class="bigText">Hubungan dengan Mandreel</h3>
<p>Selain itu dengan menggunakan software bernama mandreel kita bisa mengubah apps yang sebelumnya berasal dari bahasa lain seperti C++ dan OpenGL ke dalam Molehill ini sendiri.</p>
<p><iframe src="http://player.vimeo.com/video/20518529?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="400" height="225" frameborder="0"></iframe>
<p><a href="http://vimeo.com/20518529">MANDREEL</a> from <a href="http://vimeo.com/user1009435">Lee Brimelow</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Dan tidak ketinggalan pula, Molehill ini akan didukung oleh beberapa framework terkenal seperti Away3D, Alternativa3D, Flare3D dan yang lainnya. </p>
<h3 class="bigText">Demo </h3>
<p>Demo dari Alternativa yang paling terkenal :<br />
<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/c7ot152xiVY" frameborder="0" allowfullscreen></iframe></p>
<p>Demo dari Away3D :<br />
<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/9LAN5GHm5eM" frameborder="0" allowfullscreen></iframe></p>
<h3 class="bigText">Tutorial</h3>
<p>Ingin segera mencoba ? jangan khawatir, saya menemukan tutorial Molehill dan Away3D :<br />
<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/GrZjDqpJkIU" frameborder="0" allowfullscreen></iframe></p>
<p>Sekian dulu untuk kali ini, Kedepannya saya akan membahas mengenai detail dari Flash Player 3D yang baru ini baik itu adalah Molehill ataupun Stage Video, sampai jumpa sahabat interaktif Indonesia !</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/molehill-is-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe Camp (Flash Focus)!</title>
		<link>http://hermantaniwan.com/artikel/adobe-camp-flash-focus/</link>
		<comments>http://hermantaniwan.com/artikel/adobe-camp-flash-focus/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 04:01:13 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Berita]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[20 Januari 2011]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe Flash Camp 2011]]></category>
		<category><![CDATA[Ahmad Fathi Hadi]]></category>
		<category><![CDATA[Anggie Baratadinata]]></category>
		<category><![CDATA[Ari Setyo]]></category>
		<category><![CDATA[Bali]]></category>
		<category><![CDATA[Budi Luhur]]></category>
		<category><![CDATA[Camp]]></category>
		<category><![CDATA[Cileduk Raya Petukangan Utara]]></category>
		<category><![CDATA[Flash Camp]]></category>
		<category><![CDATA[Indonesia]]></category>
		<category><![CDATA[Nata Chen]]></category>
		<category><![CDATA[Nova Saputra]]></category>
		<category><![CDATA[Rizal Akbar]]></category>
		<category><![CDATA[Tom Krcha]]></category>
		<category><![CDATA[Tubagus Saepul Anwar]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=270</guid>
		<description><![CDATA[Akhirnya adobe camp berada di indonesia, apalagi fokusnya kali ini adalah flash platform. Pastikan sahabat berada disana dan baca selengkapnya tempatnya pada post saya. See you around there !, oh kelupaan this is <b> FREE </b>]]></description>
			<content:encoded><![CDATA[<p>Kabar gembira !, Adobe menyelenggarakan Adobe Camp di indonesia dengan fokus pada <b>Flash Platform</b>, yeah i like this one.</p>
<p>Adobe Camp is :<br />
-celebrations of the talents of the local community. They showcase the skills of local developers and designers to inspire and train the attendees. Adobe speakers also participate in Camps.<br />
- events that expose people to Adobe tools. This is done using many creative approaches, such as demos, hands-on trainings, and team coding sessions to just name a few<br />
- events that feature case studies and examples of projects built using Adobe technologies<br />
- events that raise awareness of the local Adobe community and introduce attendees to the local user groups</p>
<p>Pembicaranya :<br />
- Tom Krcha (Adobe Platform Evangelist)<br />
Tom adalah seorang platform evangelist langsung dari adobe yang banyak mendiskusikan tentang P2P connection.<br />
- Ahmad Fathi Hadi (RIA and Mobile Developer) : Adobe user group manager di indonesia.<br />
- Ari Setyo (Flex and Web Developer)<br />
- Anggie Baratadinata (senior Flash Game engineer -handson.com)<br />
- Tubagus Saepul Anwar (Flex and AIR Developer)<br />
- Nata Chen (Game / Creative Producer)<br />
- Nova Saputra (Java Developer)<br />
- Rizal Akbar (Flash Developer)</p>
<p>Detail Acaranya :</p>
<p>Nama:Adobe Camp Indonesia<br />
Focus:Adobe Flash Platform<br />
Tempat:Universitas Budi Luhur<br />
Jl. Cileduk Raya Petukangan Utara<br />
Jakarta Selatan 12260<br />
Tanggal:20 Januari 2011. Pukul 08-00 s/d 17:00</p>
<p>Biaya:<b>Free</b></p>
<p>Anda dapat mendaftar melalui <a href="http://adobecampindonesia2011.eventbrite.com/">http://adobecampindonesia2011.eventbrite.com/</a><br />
Pada akhir acara kami akan mengundi satu orang pemenang yang akan berhak mendapatkan lisensi dengan total $2100</p>
<p>Beberapa bagian dari post ini dikutip dari<br />
- <a href="http://blog.fathihadi.net">http://blog.fathihadi.net</a><br />
- <a href="http://flexindonesia.blogspot.com/2010/12/flash-camp-indonesia-2010.html">http://flexindonesia.blogspot.com/2010/12/flash-camp-indonesia-2010.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/adobe-camp-flash-focus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear CSS Float</title>
		<link>http://hermantaniwan.com/artikel/clear-css-float/</link>
		<comments>http://hermantaniwan.com/artikel/clear-css-float/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 06:21:23 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Clear]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Float]]></category>
		<category><![CDATA[gizmodo]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=230</guid>
		<description><![CDATA[Kali ini kita akan belajar mengenai problem float css yang paling sering ditemui. Solusi aman dan berbahaya akan diperkenalkan sehingga pemahamannya akan lebih jelas dan ayo segera di pelajari]]></description>
			<content:encoded><![CDATA[<p>Mari kita lihat problem yang kita temui terlebih dahulu.</p>
<p><img class="alignnone size-full wp-image-231" title="cssfloat_problem" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_problem.jpg" alt="" width="580" height="328" /></p>
<p>Hasil yang diinginkan adalah</p>
<p><img class="alignnone size-full wp-image-236" title="cssfloat_akhir" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_akhir.jpg" alt="" width="580" height="285" /></p>
<p>Layout seperti ini biasanya sering dilihat di kolom berita, forum dan yang seperti pada website gizmodo berikut :</p>
<p><img class="alignnone size-full wp-image-238" title="cssfloat_gizmodo_sample" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_gizmodo_sample.jpg" alt="" width="580" height="328" /></p>
<p>Standard koding biasa :</p>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=utf-8 /&gt;
&lt;title&gt;Herman Taniwan&lt;/title&gt;

&lt;style&gt;
.main_box{
	width:700px;
	border:1px solid red;
}

.image_box{
	width:200px;
	height:200px;
	background:#096;
}

.desc_box{
	width:500px;
	background:#900;
}
&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;
	&lt;div class=&quot;main_box&quot;&gt;
    	&lt;div class=&quot;image_box &quot;&gt;&lt;/div&gt;
        &lt;div class=&quot;desc_box &quot;&gt;Lorem ipsum …...&lt;/div&gt;
    &lt;/div&gt;
	&lt;div class=&quot;main_box&quot;&gt;
    	&lt;div class=&quot;image_box&quot;&gt;&lt;/div&gt;
        &lt;div class=&quot;desc_box &quot;&gt;Sed ut …..&lt;/div&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><img class="alignnone size-full wp-image-249" title="cssfloat_BeforeFloat" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_BeforeFloat.jpg" alt="" width="580" height="416" /></p>
<p>Setelah ditambah float left :</p>
<pre class="brush: xml; title: ;">
.left{
	float:left;
}

&lt;div class=&quot;main_box&quot;&gt;
    	&lt;div class=&quot;image_box left&quot;&gt;&lt;/div&gt;
        &lt;div class=&quot;desc_box left&quot;&gt;Lorem ipsum dolor ……div&gt;
 &lt;/div&gt;

&lt;div class=&quot;main_box&quot;&gt;
    	&lt;div class=&quot;image_box left&quot;&gt;&lt;/div&gt;
        &lt;div class=&quot;desc_box left&quot;&gt; Sed ut ……div&gt;
 &lt;/div&gt;
</pre>
<p><img class="alignnone size-full wp-image-250" title="cssfloat_AfterFloat" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_AfterFloat.jpg" alt="" width="580" height="462" /></p>
<p>Hasilnya adalah seperti contoh diatas dimana border merah yang membungkus dan seharusnya otomatis tingginya terhadap besar objek menjadi menyusut hingga seperti ini. Penyebab dari hal ini adalah penggunaan float menjadikan flow (Alur posisi CSS menjadi tidak normal). Ini adalah problem yang lumayan sering saya temui dalam konversi PSD -&gt; HTML. Layout akan normal kembali apabila border dapat membungkus seperti pada gambar pertama.</p>
<p>Dulu solusi yang saya temukan adalah dengan menambah float : left lagi pada box pembungkus (#main_box dalam hal ini) menjadi seperti berikut :</p>
<p><b>SOLUSI BERBAHAYA !</b></p>
<pre class="brush: css; title: ;">
.main_box{
	width:500px;
	border:1px solid red;
	float:left;/*TAMBAH DISINI*/
}
</pre>
<p>dan akhirnya bisa :</p>
<p><img class="alignnone size-full wp-image-251" title="cssfloat_Solution" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_Solution.jpg" alt="" width="580" height="340" /></p>
<p>Solusi ini sah – sah saja sebenarnya apabila yang anda temui layoutnya hanya ada satu atau terletak di bagian yang paling kiri atau dipaling kanan serta tidak didalam atau dibungkus apapun. Ketika saya bertemu dengan situasi di dimana sectionnya ada di tengah &#8211; tengah saya pun sempat bingung dan akhirnya terpaksa membuatnya menjadi fixed container pembungkusnya yang sebenarnya jelek dan tidak dinamis sama sekali.</p>
<p>Contoh :</p>
<pre class="brush: css; title: ;">
.main_box{
	width:700px;
	height:300px;
    border:1px solid red;
}
</pre>
<p><img class="alignnone size-full wp-image-252" title="cssfloat_FixedWH" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_FixedWH.jpg" alt="" width="580" height="340" /></p>
<p>Dan efek sampingnya adalah ketika teks bertambah banyak border kita tak mampu bertambah panjang.</p>
<p><img class="alignnone size-full wp-image-253" title="cssfloat_outofbound" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_outofbound.jpg" alt="" width="580" height="340" /></p>
<p><b>SOLUSI AMAN</b><br />
Dan disinilah dimana teknik Float Clearing beraksi :<br />
Cara yang paling sering saya gunakan adalah  dengan menambahkan tag berikut ke dalam main_box.</p>
<pre class="brush: xml; title: ;">
&lt;div class=”clear”&gt;&lt;/div&gt;
</pre>
<p>Cara penambahannya :</p>
<p>TAMBAH CLASS CLEAR</p>
<pre class="brush: css; title: ;">
.clear{
	clear:both;
}
</pre>
<p>Dan tag-nya di dalam tubuh main_box persis sebelum tutup tagnya :</p>
<pre class="brush: xml; title: ;">
&lt;div class=&quot;main_box&quot;&gt;
     &lt;div class=&quot;image_box left&quot;&gt;&lt;/div&gt;
     &lt;div class=&quot;desc_box left&quot;&gt; Lorem Ipsum …. &lt;/div&gt;
     &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Dan akhirnya hasilnya pun sama, lebih aman dan ok.</p>
<p><img class="alignnone size-full wp-image-251" title="cssfloat_Solution" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/cssfloat_Solution.jpg" alt="" width="580" height="340" /></p>
<p>Cara ini menurut saya adalah yang paling singkat dan sering saya gunakan. Sebenarnya masih ada cara lain lagi selain ini.</p>
<p>Anda juga bisa memakai teknik class clearfix</p>
<pre class="brush: css; title: ;">
.clearfix:after {
   content: &quot;.&quot;;
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}
</pre>
<p>Dimana ini ditambahkan pada #main_box menjadi</p>
<pre class="brush: xml; title: ;">
&lt;div class=&quot;main_box clearfix&quot;&gt;
&lt;div class=&quot;image_box left&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;desc_box left&quot;&gt; Lorem Ipsum …. &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Berdasarkan hasil riset saya, teknik diatas katanya tidak sepenuhnya berfungsi 100% dalam beberapa kondisi (Maaf belum pernah bertemu). Hasil test diatas telah saya coba di browser IE6, IE7, FF3+, Chrome, Opera dan Safari. Semuanya OK!</p>
<p>Untuk mengetahui lebih lanjut mengenai masalah float dan dasar – dasarnya bisa mengunjungi situs berikut :<br />
<a href="http://www.positioniseverything.net/easyclearing.html">http://www.positioniseverything.net/easyclearing.html</a><br />
<a href="http://css-tricks.com/all-about-floats/">http://css-tricks.com/all-about-floats/</a></p>
<p>Terimakasih telah membaca dan semoga bermanfaat.</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/clear-css-float/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashDevelop Tutorial</title>
		<link>http://hermantaniwan.com/artikel/flashdevelop-tutorial/</link>
		<comments>http://hermantaniwan.com/artikel/flashdevelop-tutorial/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 16:22:56 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[fd]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[flashdevelop]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[IDEA]]></category>
		<category><![CDATA[Intellij]]></category>
		<category><![CDATA[java runtime environment]]></category>
		<category><![CDATA[JRE 1.6]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=188</guid>
		<description><![CDATA[FlashDevelop, code editor gratis yang bisa anda gunakan untuk koding Actionscript 3.0, flex hingga web html. Pada tutorial kali ini saya akan mengajarkan kepada anda cara install yang sangat detail dan mudah dimengerti.]]></description>
			<content:encoded><![CDATA[<h3 class="bigText">Intro</h3>
<p>Code Editor di Flash IDE sangatlah buruk, karena tidak memiliki auto complete, refactoring dan hal – hal yang lainnya. Developer flash yang handal biasanya tidak menggunakan Flash IDE untuk koding di dalamnya. Mereka memakai code editor. Ada banyak Code Editor yang bisa anda pakai seperti Intellij IDEA, FDT, Realaxys, FlashDevelop, FlashBuilder dan masih banyak lagi yang lain. Persamaan mereka adalah mereka membutuhkan Flex SDK untuk compiling program.</p>
<p>FlashDevelop adalah sebuah Code Editor <strong>Gratis</strong> yang dispesialisasikan untuk flash platform walaupun tak menutup kemungkinan untuk web dan yang lainnya. FlashDevelop sendiri dibangun diatas .NET Framework. ﻿</p>
<h3 class="bigText">1. Download .NET Framework.</h3>
<p><a href="http://www.microsoft.com/net/download.aspx">http://www.microsoft.com/net/download.aspx</a><br />
<a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fldr_NET.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fldr_NET.jpg" alt="" title="fldr_NET" width="580" height="298" class="alignnone size-full wp-image-201" /></a></p>
<h3 class="bigText">2. Download JRE 1.6+</h3>
<p><a href="http://www.oracle.com/technetwork/java/javase/downloads/">http://www.oracle.com/technetwork/java/javase/downloads/</a><br />
<a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_Java.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_Java.jpg" alt="" title="fdlr_Java" width="577" height="307" class="alignnone size-full wp-image-206" /></a></p>
<h3 class="bigText">3. Download FlashDevelop</h3>
<p><a href="http://www.flashdevelop.org/wikidocs/">http://www.flashdevelop.org/wikidocs/</a><br />
<a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_FlashDevelop.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_FlashDevelop.jpg" alt="" title="fdlr_FlashDevelop" width="580" height="235" class="alignnone size-full wp-image-208" /></a></p>
<p>Klik di bagian Release notes dan download. Anda akan masuk ke halaman lain dan download FlashDevelop yang terbaru.</p>
<h3 class="bigText">4.	Saatnya Install</h3>
<p>Pertama – tama install terlebih dahulu .NET Framework dan Java Runtime Environment-nya. Setelah selesai barulah anda install FlashDevelop.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_installing.jpg"><img class="aligncenter" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_installing.jpg" alt="" title="fdlr_installing" width="497" height="355" class="alignnone size-full wp-image-211" /></a></p>
<p>FlashDevelop versi 3.3 sedang mendownload Flex SDK yang ada. Tidak seperti versi sebelumnya 3.2 yang mengharuskan anda untuk mendownload secara terpisah dan baru diintegrasikan kemudian.</p>
<h3 class="bigText">5.	Tampilan awal FlashDevelop</h3>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_start_page.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_start_page.jpg" alt="" title="fdlr_start_page" width="581" height="472" class="alignnone size-full wp-image-214" /></a></p>
<h3 class="bigText">6.	Buat Project baru.</h3>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_new_project.jpg"><img class="aligncenter" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_new_project.jpg" alt="" title="fdlr_new_project" width="535" height="445" class="alignnone size-full wp-image-212" /></a></p>
<p>Klik <strong>Project &gt;&gt; New Project</strong><br />
-   Pilih AS3 Project<br />
-   Masukkan Name “IntroFlashDevelop”.<br />
-   Centang Create Directory Project.<br />
-   Klik Ok.</p>
<h3 class="bigText">7.	Tampilan Main Page.</h3>
<p>Ini adalah tampilan Main.as dimana pada tampilan ini anda dapat melihat beberapa kode yang otomatis dibuat (Template). Jika anda tidak dapat menemukan tampilan ini anda bisa ke<br />
<strong>View >> Project Manager</strong>.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fldr_main.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fldr_main.jpg" alt="" title="fldr_main" width="581" height="472" class="alignnone size-full wp-image-216" /></a></p>
<h3 class="bigText">8.	Checking dan Testing.</h3>
<p>Untuk mencoba segala sesuatunya berjalan tekan F5 untuk kompilasi. Jika sukses maka akan muncul tampilan FlashPlayer seperti dibawah.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fdlr_FP10.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fdlr_FP10.jpg" alt="" title="fdlr_FP10" width="581" height="472" class="alignnone size-full wp-image-217" /></a></p>
<p>Sekarang kita akan mencoba membuat lingkaran :<br />
Tambahkan kode berikut setelah //entry point</p>
<pre class="brush: as3; title: ;">
var circ:Sprite = new Sprite();
circ.graphics.beginFill(0xFF0000, 1);
circ.graphics.drawCircle(0, 0, 100);
circ.graphics.endFill();

circ.x = stage.stageWidth &gt;&gt; 1;
circ.y = stage.stageHeight &gt;&gt; 1;

addChild(circ);
</pre>
<p>Setelah itu coba kembali tekan F5 untuk kompilasi. Jika anda akan melihat sebuah lingkaran merah di tengah berarti anda telah berhasil mensetup FlashDevelop.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/12/fldr_main_FP10_circ.jpg"><img src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/12/fldr_main_FP10_circ.jpg" alt="" title="fldr_main_FP10_circ" width="581" height="472" class="alignnone size-full wp-image-218" /></a></p>
<p>Fitur favorit saya dalam menggunakan flash develop adalah shortcut Ctrl+Shift+1. Anda bisa melakukan deklarasi setter/getter, generate function lengkap dengan listener. Ada pula Ctrl+Alt+S yang bisa anda gunakan untuk mengimport Class serta Ctrl+S untuk code completion.</p>
<p>Untuk lebih jelasnya bisa dilihat disini :<br />
<a href="http://http://www.flashdevelop.org/wikidocs/index.php?title=Shortcuts">http://www.flashdevelop.org/wikidocs/index.php?title=Shortcuts</a></p>
<p>Sekian dulu dan maju terus dunia interaktif indonesia.</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/flashdevelop-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mouse Event Actionscript 3.0</title>
		<link>http://hermantaniwan.com/artikel/mouse-event-actionscript-3-0/</link>
		<comments>http://hermantaniwan.com/artikel/mouse-event-actionscript-3-0/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 15:48:50 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[double click]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drag]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[mouse event]]></category>
		<category><![CDATA[mouse out]]></category>
		<category><![CDATA[mouse over]]></category>
		<category><![CDATA[out]]></category>
		<category><![CDATA[over]]></category>
		<category><![CDATA[roll out]]></category>
		<category><![CDATA[roll over]]></category>
		<category><![CDATA[up]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=145</guid>
		<description><![CDATA[Masih bingung dengan event mouse di actionscript 3. Saya akan mengajarkannya kepada anda pada tutorial kali ini. Tunggu apa lagi segera kunjungi tutorialnya.]]></description>
			<content:encoded><![CDATA[<p>Untuk membuat aplikasi yang interaktif kita akan membutuhkan mouse. Dalam tutorial kali ini akan kita bahas beberapa fungsi – fungsi mouse yang sering digunakan.</p>
<div class="oneButtonContainer"><a class="download" href="http://hermantaniwan.com/download/MouseEvent.fla">View Example</a></div>
<h3 class="bigText">1.	CLICK  vs  DOUBLE CLICK</h3>
<p>Fungsi mouse yang satu ini merupakan fungsi paling sering digunakan.<br />
Untuk menggunakan click hal yang perlu dilakukan cukup gampang. Perhatikan kode berikut untuk lebih jelas :</p>
<pre class="brush: as3; title: ;">
stage.addEventListener(MouseEvent.CLICK,onMouseClick);

function onMouseClick(e:MouseEvent):void{
trace(‘stage di klik’);
}
</pre>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_1.jpg"><img class="aligncenter size-full wp-image-160" title="MouseEvent_1" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_1.jpg" alt="" width="524" height="262" /></a></p>
<pre class="brush: as3; title: ;">
stage.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDoubleClick);&lt;/pre&gt;
function onMouseDoubleClick(e:MouseEvent):void{
trace(‘stage di double click’);
}
</pre>
<p>Kode di atas tidak akan berfungsi optimal karena pada actionscript 3 kita perlu untuk mengaktifkan fungsi double click.</p>
<pre class="brush: as3; title: ;">stage.doubleClickEnabled = true;</pre>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_2.jpg"><img class="aligncenter size-full wp-image-161" title="MouseEvent_2" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_2.jpg" alt="" width="525" height="348" /></a></p>
<h3 class="bigText">2.	MOUSE OVER vs ROLL OVER</h3>
<p>Bingung tentang hal diatas, mari kita lihat.<br />
Buat kondisi movieclip dalam movieclip. Beri nama movieclip paling luar dengan nama rect.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_3.jpg"><img class="aligncenter size-full wp-image-162" title="MouseEvent_3" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_3.jpg" alt="" width="462" height="292" /></a></p>
<p>Masukkan kode berikut :</p>
<pre class="brush: as3; title: ;">
rect.addEventListener(MouseEvent.MOUSE_OVER,onMouseOver);

function onMouseOver(e:MouseEvent):void{
trace('kotak over');
}
</pre>
<p>Sampai output yang dilakukan adalah sebanyak 3 kali ( sampai pointer diletakkan diatas kotak merah dan dikeluarkan dari kotak ) yaitu :<br />
1.	Ketika pointer memasuki kotak hitam maka output akan keluar.<br />
2.	Ketika pointer memasuki kotak merah maka output akan keluar.<br />
3.	Ketika pointer keluar dari kotak merah maka output akan keluar.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_5.jpg"><img class="aligncenter size-full wp-image-164" title="MouseEvent_5" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_5.jpg" alt="" width="526" height="466" /></a></p>
<p>Sebaliknya ketika RollOver dilakukan dengan kondisi yang sama maka output yang dilakukan hanya satu kali saja.</p>
<p>Hal yang terjadi di atas sama ketika diimplementasikan pada MOUSE OUT dan ROLL OUT.</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_6.jpg"><img class="aligncenter size-full wp-image-173" title="MouseEvent_6" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_6.jpg" alt="" width="581" height="377" /></a></p>
<h3 class="bigText">3.	MOUSE UP dan MOUSE DOWN</h3>
<p>Ketika anda membutuhkan sebuah aksi terjadi seketika setelah mouse sedang di klik maka anda membutuhkan MOUSE DOWN dan sebaliknya jika menginginkan ketika mouse di lepaskan di atas kotak maka anda membutuhkan MOUSE UP.</p>
<p>Contoh Mouse Up :</p>
<p><a href="http://hermantaniwan.com/wp-content/uploads/2010/08/MouseEvent_7.jpg"><img class="aligncenter size-full wp-image-171" title="MouseEvent_7" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/08/MouseEvent_7.jpg" alt="" width="577" height="437" /></a></p>
<p>Perlu diingat bahwa MOUSE CLICK = MOUSE UP + MOUSE DOWN (1 SIKLUS).</p>
<h3 class="bigText">4.	MOUSE MOVE dan MOUSE WHEEL</h3>
<p>Fitur MOUSE MOVE digunakan ketika anda ingin mendeteksi dragging pada mouse sedangkan MOUSE WHEEL digunakan untuk mendeteksi scrolling pada mouse.</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/mouse-event-actionscript-3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Copy Button (Cross &#8211; Browser)</title>
		<link>http://hermantaniwan.com/artikel/cross-browser-copy-button/</link>
		<comments>http://hermantaniwan.com/artikel/cross-browser-copy-button/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 07:53:19 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[copy button]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=86</guid>
		<description><![CDATA[Copy button adalah sebuah tombol yang memiliki kemampuan untuk mengcopy tulisan atau teks dalam suatu input. Kita akan membahas hal tersebut pada tutorial kali ini dan Dengan belajar dari tutorial ini, kita dapat mengetahui teknik dasar yang digunakan dalam komunikasi javascript dan flash.]]></description>
			<content:encoded><![CDATA[<p>Copy button memang bisa dicapai hanya dengan menggunakan javascript. Akan tetapi ada beberapa masalah seperti perlakuan yang berbeda pada masing &#8211; masing browser dan Untuk alasan itulah maka kita membutuhkan flash sebagai solusinya.
</p>
<div class="twoButtonContainer">
<a class="download" href="http://hermantaniwan.com/download/copy-button.rar">View Example</a><br />
<a class="viewExample" target="_blank" href="http://hermantaniwan.com/example/cross-browser-copy-button/example.html">View Example</a></div>
<h3 class="bigText">Langkah 1 : Sekilas</h3>
<p>Untuk menciptakan fungsi copy to clipboard yang cross-browser (jalan di browser manapun) harus digunakan flash. Salah satu contohnya bisa dilihat di indowebster :</p>
<p><a href="http://indowebster.com"><img class="aligncenter size-full wp-image-90" title="showcase_idws" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/showcase_idws.jpg" alt="" width="581" height="345" /></a></p>
<p>Contoh Lainnya :</p>
<p><a href="http://adf.ly"><img class="aligncenter size-full wp-image-91" title="showcase_adfly" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/showcase_adfly.jpg" alt="" width="581" height="345" /></a></p>
<p>Jika anda perhatikan dengan baik maka tombol diatas sebenarnya adalah tombol flash (untuk mengujinya klik kanan pada tombol tersebut). Pada tutorial kali ini kita akan membuat button clipboard seperti iitu.</p>
<h3 class="bigText">Langkah 2 : Siapkan Flash</h3>
<p><img class="aligncenter size-full wp-image-93" title="FlashFile" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/FlashFile.jpg" alt="" width="580" height="269" /><br />
Atur terlebih dahulu size dari stage anda (Ctrl + J) menjadi 80 x 30px.</p>
<h3 class="bigText">Langkah 3 : Desain Copy Button</h3>
<p>Desainlah tombol anda dan tekan F8, kemudian pilih tipenya button :</p>
<p><img class="aligncenter size-full wp-image-94" title="convert" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/convert.jpg" alt="" width="580" height="269" /></p>
<p>Setelah itu ubah warna dan desainnya sesuka hati. Berikut adalah komposisi warna saya :</p>
<p><img class="aligncenter size-full wp-image-95" title="button" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/button.jpg" alt="" width="580" height="238" /></p>
<p>Jangan lupa untuk menamai button anda dengan nama copyBtn seperti yang dilakukan dibawah ini :</p>
<p><img class="aligncenter size-full wp-image-96" title="name" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/name.jpg" alt="" width="580" height="269" /></p>
<h3 class="bigText">Langkah 4 : Tambahkan Sedikit Magic !</h3>
<p>Tambahkan Script berikut pada frame pertama anda :</p>
<p>import class ExternalInterface untuk komunikasi dengan javascript.</p>
<pre class="brush: as3; title: ;">import flash.external.ExternalInterface;</pre>
<p>Script dibawah ini berfungsi menampung parameter yang dikirim melalui javascript. Dalam contoh kali ini nama variabel yang dikirimkan dari javascript adalah “url” di dalam flash kita menuliskan param[“url”]. String yang membungkusnya berfungsi untuk mengubah tipenya menjadi String.</p>
<pre class="brush: as3; title: ;">
 var param:Object = LoaderInfo(this.root.loaderInfo).parameters;

var url:String = '';
 url = String(param[&quot;url&quot;]);
</pre>
<p>Tambahkan Listener kepada copyBtn.</p>
<pre class="brush: as3; title: ;">
 copyBtn.addEventListener(MouseEvent.MOUSE_UP,copyText);
</pre>
<p>Fungsi dari copyText terdiri dari 2 hal yang pertama anda mengkopi url ke dalam clipboard dan yang kedua berfungsi untuk memanggil fungsi javascript yang bernama popMeUp.</p>
<pre class="brush: as3; title: ;">
 function copyText(e:MouseEvent):void{
 System.setClipboard(url);
 if(ExternalInterface.available){
 ExternalInterface.call(&quot;popMeUp&quot;);
 }
 }
</pre>
<h3 class="bigText">Langkah 5 : Buat File HTML</h3>
<p><img class="aligncenter size-full wp-image-97" title="dir" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/dir.jpg" alt="" width="389" height="148" /><br />
Buatlah file HTML anda satu folder dengan file flash anda.</p>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Copy Demo&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;input type=&quot;text&quot; value=&quot;www.hermantaniwan.com&quot; readonly=&quot;readonly&quot; id=&quot;inputText&quot;/&gt;

&lt;div id=&quot;copy_button&quot;&gt;&lt;/div&gt;

&lt;div&gt;
&lt;textarea cols=&quot;29&quot; rows=&quot;5&quot;  id=&quot;textblok&quot; onclick=&quot;onTextAreaClick()&quot;&gt;Paste disini.&lt;/textarea&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Hal terpenting yang dilihat disini adalah</p>
<pre class="brush: xml; title: ;">
&lt;div id=&quot;copy_button&quot;&gt;&lt;/div&gt;
</pre>
<p>Pada block inilah akan diselipkan file swf kita.</p>
<h3 class="bigText">Langkah 6 : Tambahkan Javascript</h3>
<p>Untuk mengembed flash kedalam HTML, kita akan menggunakan swfobjects. Download codenya dari <a href="http://code.google.com/p/swfobject/">http://code.google.com/p/swfobject/</a></p>
<p><img class="aligncenter size-full wp-image-98" title="swfObject" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/swfObject.jpg" alt="" width="580" height="396" /><br />
Tambahkan scriptnya.</p>
<pre class="brush: jscript; title: ;">
&lt;script src=&quot; swfobject.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>Script ini dipanggil sesaat setelah HTML telah diload selesai ( ).</p>
<pre class="brush: jscript; title: ;">
 function initPage(){

}
 </pre>
<p>Hal berikutnya adalah kita masukkan script berikut kedalam fungsi init. Sekarang akan ditambahkan swf yang telah dibuat tadi kedalam HTML melalui javascript. Lihatlah bahwa flashvars.url menandakan anda mengirim parameter bernama url kedalam flash dan dalam hal ini nilainya diambil dari input text.</p>
<pre class="brush: jscript; title: ;">
 var flashvars = {};
 flashvars.url = document.getElementById(&quot;inputText&quot;).value;
</pre>
<p>params.allowscriptaccess yang diset always memberikan wewenang kepada HTML untuk berkomunikasi dengan flash.</p>
<pre class="brush: jscript; title: ;">
 var params = {};
 params.allowscriptaccess = &quot;always&quot;;
 var attributes = {};
</pre>
<p>Fungsi untuk mengembed SWF ke dalam HTML adalah<br />
swfobject.embedSWF(namafile,id_tagHTML,pjg,lbr,versi,badge_installer, flashvars,params,attributes)</p>
<p>id_tagHTML adalah id dalam HTML dimana file swf tadi akan diselipkan dalam hal ini copy_button.</p>
<p>badge_installer disini artinya adalah badge installer akan ditambahkan ketika computer client memiliki versi flash yang lama. Kita dapat menambahkan path badge tersebut contohnya : “expressinstall.swf” atau jika tidak diinginkan ganti menjadi false.</p>
<pre class="brush: jscript; title: ;">
 swfobject.embedSWF(&quot;copy.swf&quot;, &quot;copy_button&quot;, &quot;80&quot;, &quot;30&quot;, &quot;9.0.0&quot;,false, flashvars, params, attributes);
 </pre>
<p>Script ini dipanggil oleh flash melalui ExternalInterface.call(&#8220;popMeUp&#8221;); yang bisa dilihat diatas.</p>
<pre class="brush: jscript; title: ;">
 function popMeUp(){
 document.getElementById(&quot;textblok&quot;).style.display='block';
 alert(&quot;Pesan anda telah terkopi&quot;);
 }
 </pre>
<p>Hanya tambahan saja, ketika textarea diklik maka warna teks akan menjadi hitam dan isinya dikosongkan.</p>
<pre class="brush: jscript; title: ;">
 function onTextAreaClick(){
 document.getElementById(&quot;textblok&quot;).style.color = '#000000';
 document.getElementById(&quot;textblok&quot;).value = '';
 }
 </pre>
<h3 class="bigText">Langkah 7 : Sedikit Styling</h3>
<pre class="brush: css; title: ;">
#inputText{
	padding:5px;
	width:150px;
	background:white;
	color:#878685;
	border:1px solid #CACACA;
	float:left;
	margin-right:12px;
}

#textblok{
	margin-top:5px;
	font-family:Arial, Helvetica, sans-serif;
	color:#C7C6C5;
	font-size:14px;
	display:none;
	width:250px;
}
</pre>
<h3 class="bigText">Code Akhir</h3>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Copy Demo&lt;/title&gt;
&lt;style&gt;
	#inputText{
		padding:5px;
		width:150px;
		background:white;
		color:#878685;
		border:1px solid #CACACA;
		float:left;
		margin-right:12px;
	}

	#textblok{
		margin-top:5px;
		font-family:Arial, Helvetica, sans-serif;
		color:#C7C6C5;
		font-size:14px;
		display:none;
		width:250px;
	}

&lt;/style&gt;
&lt;/head&gt;

&lt;body onload=&quot;initPage()&quot;&gt;
&lt;input type=&quot;text&quot; value=&quot;www.hermantaniwan.com&quot; readonly=&quot;readonly&quot; id=&quot;inputText&quot;/&gt;

&lt;div id=&quot;copy_button&quot;&gt;&lt;/div&gt;

&lt;div&gt;
&lt;textarea cols=&quot;29&quot; rows=&quot;5&quot;  id=&quot;textblok&quot; onclick=&quot;onTextAreaClick()&quot;&gt;Paste disini.&lt;/textarea&gt;
&lt;/div&gt;
&lt;script src=&quot; swfobject.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;

function initPage(){
	var flashvars = {};
	flashvars.url = document.getElementById(&quot;inputText&quot;).value;
	var params = {};
	params.allowscriptaccess = &quot;always&quot;;
	var attributes = {};
	swfobject.embedSWF(&quot;copy.swf&quot;, &quot;copy_button&quot;, &quot;80&quot;, &quot;30&quot;, &quot;9.0.0&quot;,false, flashvars, params, attributes);

}

function popMeUp(){
	document.getElementById(&quot;textblok&quot;).style.display='block';
	alert(&quot;Pesan anda telah terkopi&quot;);
}

function onTextAreaClick(){
	document.getElementById(&quot;textblok&quot;).style.color = '#000000';
	document.getElementById(&quot;textblok&quot;).value = '';
}

&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>NB : Perhatikanlah bahwa lebih baik menggunakan teknik ini hanya pada saat ketika url atau teks dalam bentuk statis bukan dinamis. Hal ini dikarenakan adanya beberapa persoalan security yang muncul. Akhir kata, sekian dulu untuk kali ini dan sampai ketemu di tutorial berikutnya sahabat interaktif.</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/cross-browser-copy-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Membuat Scroller Up Button</title>
		<link>http://hermantaniwan.com/artikel/html-css/membuat-scroller-up-button/</link>
		<comments>http://hermantaniwan.com/artikel/html-css/membuat-scroller-up-button/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 04:34:35 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tip & Tricks]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=55</guid>
		<description><![CDATA[Tutorial mengenai scroller up yang banyak digunakan di web. Simpel, unique, dan kreatif. Kita akan mempelajari seluk beluk nya dengan menggunakan JQuery. Selamat Membaca.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Pada kesempatan kali ini, saya akan membagikan sebuah teknik yang banyak digunakan oleh website yaitu scroller up button. Nah showcasenya bisa dilihat disini <a target="_blank" href="http://www.dijaminmurah.com">http://www.dijaminmurah.com</a> (Web hosting murah indonesia kualitas OK !). Seketika anda scroll website tersebut dibawah anda akan melihat adanya tombol button up.</p>
<p>Ini yang akan kita buat : </p>
<div class="oneButtonContainer"><a class="viewExample" target="_blank" href="http://hermantaniwan.com/example/jquery-scroller-up/example.html">View Example</a></div>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-69" title="dijaminmurah" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/dijaminmurah.jpg" alt="" width="581" height="316" /><br />
Ketika anda klik button tersebut maka window tadi akan bergerak ke atas dan kemudian menghilang kemudian ketika anda scroll down lagi maka button tersebut muncul kembali dan seterusnya.<br />
Untuk dapat membuat ini kita membutuhkan 2 hal yaitu CSS + JQuery. Pertama kita akan membuat layoutnya terlebih dahulu.</p>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;Scroller up Button&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
 &lt;div id=&quot;topButton&quot;&gt;&lt;/div&gt;
&lt;div&gt;

         &lt;h1&gt;Text yang panjang&lt;/h1&gt;
		 &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h1&gt;Text yang panjang&lt;/h1&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
   &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Anda akan mendapatkan teks yang berulang – ulang dengan menggunakan code ini tetapi anda bebas berkreasi sesuka hati. Setelah anda memiliki teks panjang hingga memicu timbulnya scroller disamping, hal berikutnya yang ditambahkan adalah button scroller.</p>
<p>Tambahkan style berikut :</p>
<pre class="brush: css; title: ;">
&lt;style media=&quot;all&quot; type=&quot;text/css&quot;&gt;
  #topButton{
	  position:fixed;
	  width:52px;
	  height:59px;
	  right:1%; /* dari kanan 1% */
	  bottom:1%; /*dari bawah 1% */
	  cursor:pointer; /* mengubah cursor menjadi penunjuk*/
	  background:url(green_arrow_up.png) no-repeat top left;
  }

#topButton:hover{
          background:url(green_arrow_up-hover.png) no-repeat top left;
 }

&lt;/style&gt;
</pre>
<p>Ups apa yang terjadi ?.  Kita telah memberikan style kepada topButton.  Kita set width dan heightnya sesuai dengan image yang digunakan dalam hal ini adalah &#8220;green_arrow_up.png&#8221;. Untuk mendapatkan posisi yang statis (tidak berubah ketika discroll) maka set position menjadi fixed.</p>
<p>Anda akan mendapatkan preview seperti dibawah.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-66" title="text-panjang" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/text-panjang.jpg" alt="" width="581" height="330" /></p>
<p>Ok sampai disini telah 50% berjalan. Setelah itu kita masuk ke bagian script. Tambahkan script berikut ke sebelum tag penutup body :</p>
<pre class="brush: jscript; title: ;">
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;jquery-1.4.min.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function()
{

	var scrollingup = false;

	$(window).scroll(function()
	{
		if(!scrollingup){
			if($(window).scrollTop() &gt; 0){
				$(&quot;#topButton&quot;).fadeIn('normal');

			}else{
				$(&quot;#topButton&quot;).fadeOut('normal');
			}
  		}
	});

	$(&quot;#topButton&quot;).click(function(){
		scrollingup = true;
		$('html').animate({scrollTop:0}, 'slow',function(){scrollingup = false});
		$(&quot;#topButton&quot;).fadeOut('normal');

		return false;
	})

});
 &lt;/script&gt;
</pre>
<p>Script diatas sangatlah simple. Mulailah melihat dari</p>
<pre class="brush: jscript; title: ;">
$(window).scroll(function()
	{
		if(!scrollingup){
			if($(window).scrollTop() &gt; 0){
				$(&quot;#topButton&quot;).fadeIn('normal');

			}else{
				$(&quot;#topButton&quot;).fadeOut('normal');
			}
  		}
});
</pre>
<p>Script ini adalah untuk mengecek posisi scroll window. Apabila scroll tidak bergerak maka ia berada dalam posisi 0 dan ketika bergerak maka nilai posisinya akan lebih dari 1. Hal selanjutnya adalah penambahan efek Fade In ketika scroll bergerak (nilai posisi &gt; 0).</p>
<p>Script berikutnya untuk memicu apakah anda telah menekan scroller up button tersebut.</p>
<pre class="brush: jscript; title: ;">
$(&quot;#topButton&quot;).click(function(){
	scrollingup = true;
	$('html').animate({scrollTop:0}, 'slow',function(){scrollingup = false});
	$(&quot;#topButton&quot;).fadeOut('normal');

	return false;
})
</pre>
<p>Apa yang terjadi disini adalah ketika scroller up button di-click maka window akan tertarik ke atas dan button akan di fadeOut.</p>
<p>Dan apa yang kemudian variabel scrollingup lakukan ?</p>
<p>Variabel ini penting dan bertindak sebagai penanda bahwa ketika scrollup terjadi  maka pengecekan  if($(window).scrollTop &gt;0) tidak dilakukan. Efek Fadeout yang berulang akan terjadi ketika anda mengabaikan variabel scrollingup ini. Variabel ini juga kembali direset ke posisi awal ketika scroller sudah mencapai puncaknya / nilai posisi = 0 (lihat line-4 code diatas).</p>
<p>Nah setelah semuanya selesai anda akan melihat satu kejanggalan yaitu ketika anda membuka halaman untuk pertama kalinya scroller up button kelihatan, Bagaimana cara menghilangkannya ? Hilangkan saja dengan tambahkan display : none pada css diatas.</p>
<p>code akhir :</p>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;Scroller up Button&lt;/title&gt;
    &lt;style media=&quot;all&quot; type=&quot;text/css&quot;&gt;
	  #topButton{
		  position:fixed;
		  width:52px;
		  height:59px;
		  right:1%;
		  bottom:1%;
		  cursor:pointer;
		  background:url(green_arrow_up.png) no-repeat top left;
		  display:none;
	  }

	  #topButton:hover{
          background:url(green_arrow_up-hover.png) no-repeat top left;
	  }

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
 &lt;div id=&quot;topButton&quot;&gt;&lt;/div&gt;
&lt;div&gt;

         &lt;h1&gt;Text yang panjang&lt;/h1&gt;
		 &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h1&gt;Text yang panjang&lt;/h1&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;
         &lt;h2&gt;Text yang panjang&lt;/h2&gt;
         &lt;p&gt;...&lt;/p&gt;

   &lt;/div&gt;

&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;jquery-1.4.min.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function()
{

	var scrollingup = false;

	$(window).scroll(function()
	{
		if(!scrollingup){
			if($(window).scrollTop() &gt; 0){
				$(&quot;#topButton&quot;).fadeIn('normal');

			}else{
				$(&quot;#topButton&quot;).fadeOut('normal');
			}
  		}
	});

	$(&quot;#topButton&quot;).click(function(){
		scrollingup = true;
		$('html').animate({scrollTop:0}, 'slow',function(){scrollingup = false});
		$(&quot;#topButton&quot;).fadeOut('normal');

		return false;
	})

});
 &lt;/script&gt;
&lt;/body&gt;

&lt;/html&gt;
</pre>
<p>Sekian dulu para sahabat interaktif, selamat mencoba  dan jangan lupa beri komentarnya.</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/html-css/membuat-scroller-up-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Fonts, Apaan Sih?</title>
		<link>http://hermantaniwan.com/artikel/google-fonts-apaan/</link>
		<comments>http://hermantaniwan.com/artikel/google-fonts-apaan/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 09:03:30 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=25</guid>
		<description><![CDATA[Fonts atau tipe tulisan telah menjadi daya tarik tersendiri bagi para designer. Sayangnya selama ini kita sering terbatasi oleh penggunaan font yang terbatas di web dan solusinya pun biasanya dengan menggunakan gambar sebagai teks. Kini kita akan membahas sebuah layanan dari google yang memungkinkan kita mengeksplorasi web lebih jauh.]]></description>
			<content:encoded><![CDATA[<p>Yup, Apaan sih Google Fonts itu ?. Google Fonts merupakan layanan baru dari google dimana kita diperbolehkan untuk menggunakan Custom Fonts pada web kita. Sebelumnya anda dapat menggunakan tools seperti <a title="typekit" href="http://typekit.com/" target="_blank">typekit</a> atau menggunakan teknik image replacement  yang menggantikan text tersebut dengan gambar ataupun dengan menggunakan flash.</p>
<p>Berikut adalah Cara Penggunaan dari Google Fonts ini sendiri. Cukup simpel, gampang dan tak ribet. Jika anda malas membuatnya di editor, akan saya ajarkan sebuah cara yang gampang. Pertama buka <a title="jsbin" href="http://jsbin.com" target="_blank">jsbin.com</a> (Editor Online).</p>
<div class="oneButtonContainer"><a class="viewExample" href="http://hermantaniwan.com/example/google-fonts-apaan.html">View Example</a></div>
<p><img class="aligncenter size-full wp-image-30" title="JSBin" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/JSBin.jpg" alt="JSBin tampilan" width="400" height="400" /></p>
<p>Setelah itu copas kode berikut ke dalam jsbin dan klik preview (Sudut Kiri Atas).</p>
<pre class="brush: xml; title: ;">

&lt;!DOCTYPE  html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
 &lt;meta charset=&quot;utf-8&quot;&gt;
 &lt;title&gt;Test Google Fonts&lt;/title&gt;
&lt;link href='http://fonts.googleapis.com/css?family=Reenie+Beanie'
rel='stylesheet'  type='text/css'&gt;
 &lt;style&gt;
 body { font-family:  'Reenie Beanie', serif; font-size: 100px; }
 &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
 Herman Taniwan.com
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Previewnya :</p>
<p><img class="aligncenter size-full wp-image-39" title="prevGoogleFonts" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/prevGoogleFonts.jpg" alt="" width="260" height="74" /></p>
<p>Untuk Pilihan Font yang lain silahkan langsung ke <a title="webfonts" href="http://code.google.com/webfonts" target="_blank">fontdirectory</a> google.</p>
<p><img class="aligncenter size-full wp-image-42" title="detailGoogleFonts" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/detailGoogleFonts.jpg" alt="" width="429" height="227" /></p>
<p>Setelah itu anda akan masuk ke sini :</p>
<p><img class="aligncenter size-full wp-image-43" title="fontpage" src="http://hermantaniwan.com/index.php?feedimage=wp-content/uploads/2010/06/fontpage.jpg" alt="" width="429" height="227" /></p>
<p>Copy API Parameter namenya, masukkan ke dalam CSS dan script. Tidak ketinggalan pula bahwa tanda plus pada API diatas adalah spasi di CSS, sedangkan untuk script kita biarkan saja seperti itu.</p>
<pre class="brush: xml; title: ;">

&lt;!DOCTYPE  html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
 &lt;meta charset=&quot;utf-8&quot;&gt;
 &lt;title&gt;Test Google Fonts&lt;/title&gt;
&lt;link href='http://fonts.googleapis.com/css?family=Reenie+Beanie'
rel='stylesheet'  type='text/css'&gt;
 &lt;style&gt;
 body { font-family:  'Reenie Beanie', serif; font-size: 100px; }
 &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
 Herman Taniwan.com
&lt;/body&gt;
&lt;/html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/google-fonts-apaan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Zero Post</title>
		<link>http://hermantaniwan.com/artikel/berita/zero-post/</link>
		<comments>http://hermantaniwan.com/artikel/berita/zero-post/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 03:20:19 +0000</pubDate>
		<dc:creator>Herman Taniwan</dc:creator>
				<category><![CDATA[Berita]]></category>
		<category><![CDATA[herman]]></category>
		<category><![CDATA[herman taniwan]]></category>

		<guid isPermaLink="false">http://hermantaniwan.com/?p=14</guid>
		<description><![CDATA[Post ke - 0 menandakan post pertama saya. Post ini sekaligus menjadi hari lahir web ini . Web ini berisi mengenai inspirasi, tutorial yang berkualitas dalam bidang desain interaktif. Hal - hal yang meliputi di dalamnya mulai dari Flash hingga JQuery. Teruslah mengikuti web ini dan anda akan mendapatkan sebuah inspirasi yang luar biasa.]]></description>
			<content:encoded><![CDATA[<p>Post ke &#8211; 0 menandakan post pertama saya. Post ini sekaligus menjadi hari lahir web ini . Web ini berisi mengenai inspirasi, tutorial yang berkualitas dalam bidang desain interaktif. Hal &#8211; hal yang meliputi di dalamnya mulai dari Flash hingga JQuery. Teruslah mengikuti web ini dan anda akan mendapatkan sebuah inspirasi yang luar biasa. Web ini akan senantiasa mendukung anda baik anda dalam level individual maupun level corporate dalam menciptakan aplikasi luarbiasa baik bagi client maupun project anda yang lain.</p>
<p>Akhir kata, Jika anda tertarik berafiliasi, berminat dalam mensponsori blog ini ataupun sedang mencari freelancer, atau fulltimer. Anda bisa menghubungi saya melalui taniwanherman@yahoo.com. Web ini masih baru dan oleh karena itu beberapa menu masih belum aktif dan dalam pengembangan.</p>
<p>Terimakasih dan salam hangat.</p>
<p>Herman Taniwan (Founder)</p>
]]></content:encoded>
			<wfw:commentRss>http://hermantaniwan.com/artikel/berita/zero-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

