<?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>Amit Yadav &#187; Flash</title>
	<atom:link href="http://www.amityadav.name/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amityadav.name</link>
	<description>Things to know for effective coding</description>
	<lastBuildDate>Fri, 19 Aug 2011 17:51:59 +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>Rails flash messages helper</title>
		<link>http://www.amityadav.name/rails-flash-messages-helper/</link>
		<comments>http://www.amityadav.name/rails-flash-messages-helper/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 07:49:05 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Data Formats]]></category>
		<category><![CDATA[FAQs  Help  and Tutorials]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Markup Languages]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.amityadav.name/?p=204</guid>
		<description><![CDATA[display_flash(:error) # to display a specific flash message display_flash # to display all flash messages ?View Code RUBY1 2 3 4 5 6 7 8 9 10 11 12 13 # Methods added to this helper will be available to all templates in the application. module ApplicationHelper FLASH_TYPES = &#91;:error, :warning, :success, :message&#93; def display_flash&#40;type [...]]]></description>
			<content:encoded><![CDATA[<p>display_flash(:error) # to display a specific flash message<br />
display_flash # to display all flash messages</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/ffe347df-3e6c-4ef5-9aa0-d78b7728bc11/"></a></div>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p204code2'); return false;">View Code</a> RUBY</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2042"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code" id="p204code2"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># Methods added to this helper will be available to all templates in the application.</span>
<span style="color:#9966CC; font-weight:bold;">module</span> ApplicationHelper
  FLASH_TYPES = <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:error</span>, <span style="color:#ff3333; font-weight:bold;">:warning</span>, <span style="color:#ff3333; font-weight:bold;">:success</span>, <span style="color:#ff3333; font-weight:bold;">:message</span><span style="color:#006600; font-weight:bold;">&#93;</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> display_flash<span style="color:#006600; font-weight:bold;">&#40;</span>type = <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    html = <span style="color:#996600;">&quot;&quot;</span>
    <span style="color:#9966CC; font-weight:bold;">if</span> type.<span style="color:#0000FF; font-weight:bold;">nil</span>?
      FLASH_TYPES.<span style="color:#9900CC;">each</span> <span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#006600; font-weight:bold;">|</span>name<span style="color:#006600; font-weight:bold;">|</span> html <span style="color:#006600; font-weight:bold;">&amp;</span>lt;<span style="color:#006600; font-weight:bold;">&amp;</span>lt; display_flash<span style="color:#006600; font-weight:bold;">&#40;</span>name<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#125;</span>
    <span style="color:#9966CC; font-weight:bold;">else</span>
      <span style="color:#0000FF; font-weight:bold;">return</span> flash<span style="color:#006600; font-weight:bold;">&#91;</span>type<span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">blank</span>? ? <span style="color:#996600;">&quot;&quot;</span> : <span style="color:#996600;">&quot;#{flash[type]}&quot;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
    html
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.amityadav.name%2Frails-flash-messages-helper%2F&amp;title=Rails%20flash%20messages%20helper" id="wpa2a_2"><img src="http://www.amityadav.name/wp-content/plugins/add-to-any/share_save_171_16.gif" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amityadav.name/rails-flash-messages-helper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3D Flash Image Viewer: TiltViewer</title>
		<link>http://www.amityadav.name/3d-flash-image-viewer-tiltviewer/</link>
		<comments>http://www.amityadav.name/3d-flash-image-viewer-tiltviewer/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 04:17:08 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[3D Flash]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Image viewer]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.amityadav.name/?p=146</guid>
		<description><![CDATA[  TiltViewer is a free 3D Flash image viewer application with an impressive interface. The application responds to the mouse movements and creates a full 3D effect with new image sets falling, old ones disappearing, zooming an image and flipping it to see the details. Images can be added to the gallery from a XML [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><a href="http://www.airtightinteractive.com/projects/tiltviewer/" target="_blank"><strong>TiltViewer</strong></a> is a free <strong><a class="zem_slink" title="3D Flash" rel="wikipedia" href="http://en.wikipedia.org/wiki/3D_Flash">3D Flash</a> <a class="zem_slink" title="Image viewer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Image_viewer">image viewer</a> application</strong> with an impressive interface.</p>
<p>The application responds to the mouse movements and creates a full 3D effect with new image sets falling, old ones disappearing, zooming an image and <a class="zem_slink" title="Flipping" rel="wikipedia" href="http://en.wikipedia.org/wiki/Flipping">flipping</a> it to see the details.</p>
<div id="attachment_147" class="wp-caption alignnone" style="width: 529px"><div class="img size-medium wp-image-147 " style="width:519px;">
	<a href="http://www.amityadav.name/wp-content/uploads/2008/12/tiltviewer.jpg"><img src="http://www.amityadav.name/wp-content/uploads/2008/12/tiltviewer.jpg" alt="Tiltviewer" width="519" height="417" /></a>
	<div>Tiltviewer</div>
</div><p class="wp-caption-text">Tiltviewer</p></div>
<p>Images can be added to the gallery from a <a class="zem_slink" title="XML" rel="wikipedia" href="http://en.wikipedia.org/wiki/XML">XML</a> file or a <a href="http://www.flickr.com/" target="_blank">flickr</a> account.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/979a1a86-8f6a-4f4b-9f7b-2be9afb97d6f/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=979a1a86-8f6a-4f4b-9f7b-2be9afb97d6f" alt="Reblog this post [with Zemanta]" /></a></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.amityadav.name%2F3d-flash-image-viewer-tiltviewer%2F&amp;title=3D%20Flash%20Image%20Viewer%3A%20TiltViewer" id="wpa2a_4"><img src="http://www.amityadav.name/wp-content/plugins/add-to-any/share_save_171_16.gif" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amityadav.name/3d-flash-image-viewer-tiltviewer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

