<?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>design. business. life.</title>
	<atom:link href="http://sitedesignmagazine.com/dailies/feed" rel="self" type="application/rss+xml" />
	<link>http://sitedesignmagazine.com/dailies</link>
	<description>Personal Website of Pedro Sostre</description>
	<lastBuildDate>Sun, 19 Feb 2012 02:46:00 +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>Top Browser Resolutions for Jan 2012</title>
		<link>http://sitedesignmagazine.com/dailies/top-browser-resolutions-for-jan-2012/1177</link>
		<comments>http://sitedesignmagazine.com/dailies/top-browser-resolutions-for-jan-2012/1177#comments</comments>
		<pubDate>Sun, 19 Feb 2012 02:36:29 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1177</guid>
		<description><![CDATA[I hadn&#8217;t looked up these statistics for a bit so I thought I&#8217;d share while I was at it&#8230; 1366&#215;768 18.7% 1024&#215;768 13% 1280&#215;1024 11.5% 1280&#215;800 10.7% 1920&#215;1080 8.1% 1440&#215;900 8.1% 1680&#215;1050 6.5% 1600&#215;900 3.8% [...]]]></description>
			<content:encoded><![CDATA[<p>I hadn&#8217;t looked up these statistics for a bit so I thought I&#8217;d share while I was at it&#8230; <span id="more-1177"></span></p>
<p>1366&#215;768 18.7%<br />
1024&#215;768 13%<br />
1280&#215;1024 11.5%<br />
1280&#215;800 10.7%<br />
1920&#215;1080 8.1%<br />
1440&#215;900 8.1%<br />
1680&#215;1050 6.5%<br />
1600&#215;900 3.8%</p>
<p>That&#8217;s the top 80% &#8211; the rest is random sizes with less than 2% usage&#8230; Data from <a href="http://www.w3schools.com/browsers/browsers_display.asp" target="_blank">w3schools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/top-browser-resolutions-for-jan-2012/1177/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Jesus &gt; Religion</title>
		<link>http://sitedesignmagazine.com/dailies/jesus-religion/1173</link>
		<comments>http://sitedesignmagazine.com/dailies/jesus-religion/1173#comments</comments>
		<pubDate>Thu, 12 Jan 2012 18:49:25 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1173</guid>
		<description><![CDATA[Good thoughts&#8230; Based on the comments on YouTube, a lot of people don&#8217;t understand what he&#8217;s saying, but I guess that&#8217;s to be expected. Why I Hate Religion, But Love Jesus]]></description>
			<content:encoded><![CDATA[<p>Good thoughts&#8230; Based on the comments on YouTube, a lot of people don&#8217;t understand what he&#8217;s saying, but I guess that&#8217;s to be expected. <a href="http://www.youtube.com/watch?v=1IAhDGYlpqY">Why I Hate Religion, But Love Jesus</a></p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/1IAhDGYlpqY" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/jesus-religion/1173/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nobody Tells This to Beginners</title>
		<link>http://sitedesignmagazine.com/dailies/nobody-tells-this-to-beginners/1168</link>
		<comments>http://sitedesignmagazine.com/dailies/nobody-tells-this-to-beginners/1168#comments</comments>
		<pubDate>Mon, 09 Jan 2012 16:19:08 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1168</guid>
		<description><![CDATA[“Nobody tells this to people who are beginners, I wish someone told me. All of us who do creative work, we get into it because we have good taste. But there is this gap. For [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sitedesignmagazine.com/dailies/wp-content/uploads/2012/01/quote-poster1.jpg"><img class="aligncenter size-full wp-image-1169" title="quote-poster1" src="http://sitedesignmagazine.com/dailies/wp-content/uploads/2012/01/quote-poster1.jpg" alt="" width="632" height="840" /></a></p>
<blockquote><p>“Nobody tells this to people who are beginners, I wish someone told me. All of us who do creative work, we get into it because we have good taste. But there is this gap. For the first couple years you make stuff, it’s just not that good. It’s trying to be good, it has potential, but it’s not. But your taste, the thing that got you into the game, is still killer. And your taste is why your work disappoints you. A lot of people never get past this phase, they quit. Most people I know who do interesting, creative work went through years of this. We know our work doesn’t have this special thing that we want it to have. We all go through this. And if you are just starting out or you are still in this phase, you gotta know its normal and the most important thing you can do is do a lot of work. Put yourself on a deadline so that every week you will finish one story. It is only by going through a volume of work that you will close that gap, and your work will be as good as your ambitions. And I took longer to figure out how to do this than anyone I’ve ever met. It’s gonna take awhile. It’s normal to take awhile. You’ve just gotta fight your way through.” ― Ira Glass</p></blockquote>
<p>Available as a poster here: <a href="http://sawyerhollenshead.com/portfolio/ira-glass-quote/" target="_blank">http://sawyerhollenshead.com/portfolio/ira-glass-quote/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/nobody-tells-this-to-beginners/1168/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Over 300,000 Free Icons</title>
		<link>http://sitedesignmagazine.com/dailies/over-300000-free-icons/1076</link>
		<comments>http://sitedesignmagazine.com/dailies/over-300000-free-icons/1076#comments</comments>
		<pubDate>Mon, 02 Jan 2012 17:07:14 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1076</guid>
		<description><![CDATA[Great resource: http://findicons.com/ &#160;]]></description>
			<content:encoded><![CDATA[<p>Great resource: <a href="http://findicons.com/" target="_blank">http://findicons.com/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/over-300000-free-icons/1076/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Proverbs 22:29 NKJV</title>
		<link>http://sitedesignmagazine.com/dailies/proverbs-2229-nkjv/1113</link>
		<comments>http://sitedesignmagazine.com/dailies/proverbs-2229-nkjv/1113#comments</comments>
		<pubDate>Thu, 05 May 2011 06:06:19 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1113</guid>
		<description><![CDATA[29 Do you see a man who excels in his work? He will stand before kings; He will not stand before unknown men.]]></description>
			<content:encoded><![CDATA[<p><sup id="en-NKJV-17045">29</sup> Do you see a man <em>who</em> excels in his work?<br />
He will stand before kings;<br />
He will not stand before unknown <em>men.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/proverbs-2229-nkjv/1113/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Proverbs 22:9 NLT</title>
		<link>http://sitedesignmagazine.com/dailies/proverbs-229-nlt/1110</link>
		<comments>http://sitedesignmagazine.com/dailies/proverbs-229-nlt/1110#comments</comments>
		<pubDate>Thu, 05 May 2011 06:04:45 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1110</guid>
		<description><![CDATA[9 Blessed are those who are generous, because they feed the poor.]]></description>
			<content:encoded><![CDATA[<p><sup id="en-NLT-17000">9</sup> Blessed are those who are generous,<br />
because they feed the poor.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/proverbs-229-nlt/1110/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proverbs 21:5 NLT</title>
		<link>http://sitedesignmagazine.com/dailies/proverbs-215/1107</link>
		<comments>http://sitedesignmagazine.com/dailies/proverbs-215/1107#comments</comments>
		<pubDate>Thu, 05 May 2011 06:02:27 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1107</guid>
		<description><![CDATA[5 Good planning and hard work lead to prosperity, but hasty shortcuts lead to poverty.]]></description>
			<content:encoded><![CDATA[<p><sup id="en-NLT-16965">5</sup> Good planning and hard work lead to prosperity,<br />
but hasty shortcuts lead to poverty.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/proverbs-215/1107/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-shirt Care Label Icons (vector and high-quality jpg)</title>
		<link>http://sitedesignmagazine.com/dailies/t-shirt-care-label-icons-vector-and-high-quality-jpg/1061</link>
		<comments>http://sitedesignmagazine.com/dailies/t-shirt-care-label-icons-vector-and-high-quality-jpg/1061#comments</comments>
		<pubDate>Sat, 26 Jun 2010 04:29:56 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Random Crap]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/t-shirt-care-label-icons-vector-and-high-quality-jpg/1061</guid>
		<description><![CDATA[Was looking for some tshirt care label icons and came across this great reference: http://www.textileaffairs.com/hirez.htm Includes vector and high quality jpg, tif, and bmp images for wash, bleach, dry, wring, dryclean, and iron clothing care [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Care Icon" src="http://www.textileaffairs.com/symbols/jpg/ir_tallh.jpg" alt="" width="150" height="121" />Was looking for some tshirt care label icons and came across this great reference: <a href="http://www.textileaffairs.com/hirez.htm" target="_blank">http://www.textileaffairs.com/hirez.htm</a></p>
<p>Includes vector and high quality jpg, tif, and bmp images for wash, bleach, dry, wring, dryclean, and iron clothing care icons.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/t-shirt-care-label-icons-vector-and-high-quality-jpg/1061/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HEX Codes for Flash HTML text</title>
		<link>http://sitedesignmagazine.com/dailies/hex-codes-for-flash-html-text/1059</link>
		<comments>http://sitedesignmagazine.com/dailies/hex-codes-for-flash-html-text/1059#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:18:23 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1059</guid>
		<description><![CDATA[I recently noticed that sometimes flash gets a little crazy when trying to display certain characters, e.g. ampersand or percent sign. Here is link to a table with a bunch of ASCII and HTML char [...]]]></description>
			<content:encoded><![CDATA[<p>I recently noticed that sometimes flash gets a little crazy when trying to display certain characters, e.g. ampersand or percent sign. Here is link to a table with a bunch of <a href="http://allwebco-templates.com/support/S_hex.htm" target="_blank">ASCII and HTML char codes</a>. In flash you will need to use %HEX to replace the chars in flash. For example use %26 to replace the &amp; character. More common codes below:</p>
<p><span id="more-1059"></span></p>
<table style="color: #666666; font: normal normal normal 12px/normal arial, verdana, sans-serif; font-weight: normal; border-collapse: collapse;" border="1" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td style="color: #000000; font: normal normal normal 13px/normal arial, sans-serif; font-weight: bold;" bgcolor="#F0F9FD">HTML</td>
<td style="color: #000000; font: normal normal normal 13px/normal arial, sans-serif; font-weight: bold;" bgcolor="#F0F9FD">HTML</td>
<td style="color: #000000; font: normal normal normal 13px/normal arial, sans-serif; font-weight: bold;" align="center" bgcolor="#F0F9FD">Flash</td>
<td style="color: #000000; font: normal normal normal 13px/normal arial, sans-serif; font-weight: bold;" align="center" bgcolor="#F0F9FD">Character</td>
<td style="color: #000000; font: normal normal normal 13px/normal arial, sans-serif; font-weight: bold;" bgcolor="#F0F9FD">Description</td>
</tr>
<tr>
<td><code>&amp;#33;</code></td>
<td></td>
<td align="center"><code>%21</code></td>
<td align="center">!</td>
<td>Exclamation mark</td>
</tr>
<tr>
<td><code>&amp;#34;</code></td>
<td><code>&amp;quot;</code></td>
<td align="center"><code>%22</code></td>
<td align="center">&#8220;</td>
<td>Quotation mark</td>
</tr>
<tr>
<td><code>&amp;#35;</code></td>
<td></td>
<td align="center"><code>%23</code></td>
<td align="center">#</td>
<td>Number sign</td>
</tr>
<tr>
<td><code>&amp;#36;</code></td>
<td></td>
<td align="center"><code>%24</code></td>
<td align="center">$</td>
<td>Dollar sign</td>
</tr>
<tr>
<td><code>&amp;#37;</code></td>
<td></td>
<td align="center"><code>%25</code></td>
<td align="center">%</td>
<td>Percent sign</td>
</tr>
<tr>
<td bgcolor="#CCFF99"><code>&amp;#38;</code></td>
<td bgcolor="#CCFF99"><code>&amp;amp;</code></td>
<td align="center" bgcolor="#CCFF99"><code>%26</code></td>
<td align="center" bgcolor="#CCFF99">&amp;</td>
<td bgcolor="#CCFF99">Ampersand</td>
</tr>
<tr>
<td><code>&amp;#39;</code></td>
<td></td>
<td align="center"><code>%27</code></td>
<td align="center">&#8216;</td>
<td>Apostrophe</td>
</tr>
</tbody>
</table>
<p><a href="http://allwebco-templates.com/support/S_hex.htm" target="_blank">Click here for the full list</a>. Hope that helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/hex-codes-for-flash-html-text/1059/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More SSH/Command Line MySQL commands</title>
		<link>http://sitedesignmagazine.com/dailies/more-sshcommand-line-mysql-commands/1053</link>
		<comments>http://sitedesignmagazine.com/dailies/more-sshcommand-line-mysql-commands/1053#comments</comments>
		<pubDate>Sat, 10 Oct 2009 01:13:09 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql caching]]></category>
		<category><![CDATA[processlist]]></category>
		<category><![CDATA[qcache]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1053</guid>
		<description><![CDATA[I noticed that my previous post with basic MySQL SSH commands was relatively popular and I&#8217;ve been meaning to save some of the recent ones I&#8217;ve been using before I forget them, so&#8230; show full [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed that my previous post with <a href="http://sitedesignmagazine.com/dailies/mysql-commands-for-sshcommand-line-use/951">basic MySQL SSH commands</a> was relatively popular and I&#8217;ve been meaning to save some of the recent ones I&#8217;ve been using before I forget them, so&#8230;</p>
<p><strong>show full processlist;</strong></p>
<p>This shows all the processes (queries) running on the server at the moment you run it. Helpful if the server is running slow to see which queries might be causing the slowness.</p>
<p><strong>show status like &#8216;qcache%&#8217;;</strong></p>
<p>This shows several variables related to your MySQL query cache (see below). Important to note are the following:</p>
<ul>
<li>Qcache_free_memory &#8211; how much memory you have available for caching</li>
<li>Qcache_inserts - if this number is larger than your Qcache_hits, it probably means your MySQL acche is not being used properly</li>
</ul>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Variable_name           | Value   |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_free_blocks      | 798     |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_free_memory      | 4161824 |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_hits             | 9260760 |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_inserts          | 4366152 |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_lowmem_prunes    | 595048  |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_not_cached       | 304800  |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_queries_in_cache | 7729    |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">| Qcache_total_blocks     | 40040   |</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+</div>
<p>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+<br />
| Variable_name                        | Value   |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+<br />
| Qcache_free_blocks              | 798     |<br />
| Qcache_free_memory           | 4161824 |<br />
| Qcache_hits                            | 9260760 |<br />
| Qcache_inserts                      | 4366152 |<br />
| Qcache_lowmem_prunes    | 595048  |<br />
| Qcache_not_cached              | 304800  |<br />
| Qcache_queries_in_cache  | 7729    |<br />
| Qcache_total_blocks             | 40040   |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;+</p>
<div>Hope that helps someone.</div>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/more-sshcommand-line-mysql-commands/1053/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Detect when Flash Video Reaches End of Playback (AS3)</title>
		<link>http://sitedesignmagazine.com/dailies/flash-video-reach-end-of-playback/1047</link>
		<comments>http://sitedesignmagazine.com/dailies/flash-video-reach-end-of-playback/1047#comments</comments>
		<pubDate>Sat, 10 Oct 2009 00:21:59 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[VideoEvent]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1047</guid>
		<description><![CDATA[Need to execute some action when your FLV reaches the end? Pretty simple&#8230; import fl.video.VideoEvent; wihsvid.addEventListener(VideoEvent.COMPLETE, RestartVid); function RestartVid(evt:VideoEvent):void{ this.gotoAndStop(1); } //you need to import the VideoEvent (no idea why??) import fl.video.VideoEvent; //Add an EventListener [...]]]></description>
			<content:encoded><![CDATA[<p>Need to execute some action when your FLV reaches the end? Pretty simple&#8230;</p>
<p><span id="more-1047"></span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">import fl.video.VideoEvent;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">wihsvid.addEventListener(VideoEvent.COMPLETE, RestartVid);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">function RestartVid(evt:VideoEvent):void{</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">this.gotoAndStop(1);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<p>//you need to import the VideoEvent (no idea why??)<br />
import fl.video.VideoEvent;</p>
<p>//Add an EventListener &#8211; replace &#8216;myvideo&#8217; with your video instance name and &#8216;VideoEndAction&#8217; with the function you want to run.<br />
myvideo.addEventListener(VideoEvent.COMPLETE, VideoEndAction);</p>
<p>function VideoEndAction(evt:VideoEvent):void{<br />
//some action here<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/flash-video-reach-end-of-playback/1047/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Actionscript Autorewind Video</title>
		<link>http://sitedesignmagazine.com/dailies/actionscript-autorewind-video/1045</link>
		<comments>http://sitedesignmagazine.com/dailies/actionscript-autorewind-video/1045#comments</comments>
		<pubDate>Sat, 10 Oct 2009 00:04:11 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/actionscript-autorewind-video/1045</guid>
		<description><![CDATA[myvideo.autoRewind = true; Of course, replace &#8216;myvideo&#8217; with the instance name of your video.]]></description>
			<content:encoded><![CDATA[<p>myvideo.autoRewind = true;</p>
<p>Of course, replace &#8216;myvideo&#8217; with the instance name of your video.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/actionscript-autorewind-video/1045/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Loop FLV Video in AS2</title>
		<link>http://sitedesignmagazine.com/dailies/loop-flv-video-in-as2/1030</link>
		<comments>http://sitedesignmagazine.com/dailies/loop-flv-video-in-as2/1030#comments</comments>
		<pubDate>Fri, 04 Sep 2009 12:47:05 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript 2]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1030</guid>
		<description><![CDATA[Just sharing some code I found that worked to loop an flv clip that I had dropped into an AS2 movie&#8230; var myLis:Object = new Object; myLis.complete = function(){ flvPlayer.play(); } flvPlayer.addEventListener(&#8220;complete&#8221;, myLis); Just drop [...]]]></description>
			<content:encoded><![CDATA[<p>Just sharing some code I found that worked to loop an flv clip that I had dropped into an AS2 movie&#8230;</p>
<p><span id="more-1030"></span></p>
<p>var myLis:Object = new Object;<br />
myLis.complete = function(){<br />
flvPlayer.play();<br />
}<br />
flvPlayer.addEventListener(&#8220;complete&#8221;, myLis);</p>
<p>Just drop that in a frame and make sure the Instance name of your flv is <em>flvPlayer.</em></p>
<p>Found the code in the <a href="http://groups.google.com/group/macromedia.flash/browse_thread/thread/7e1cc960a1ba9f29/dad99bda911f8d71?pli=1" target="_blank">macromedia.flash group</a> on Google groups, which also had AS3 code for the same thing (but I did not test it). Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/loop-flv-video-in-as2/1030/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Javascript Exit Popup</title>
		<link>http://sitedesignmagazine.com/dailies/javascript-exit-popup/1028</link>
		<comments>http://sitedesignmagazine.com/dailies/javascript-exit-popup/1028#comments</comments>
		<pubDate>Sat, 15 Aug 2009 23:14:30 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1028</guid>
		<description><![CDATA[My team has been looking for some good exit popup code for a client and found it hard to find code that would pop an exit popup when a user was leaving the page without [...]]]></description>
			<content:encoded><![CDATA[<p>My team has been looking for some good exit popup code for a client and found it hard to find code that would pop an exit popup when a user was leaving the page without also calling the popup when users clicked internal links. With that said I searched google for:</p>
<ol>
<li>code for exit popup</li>
<li>code for smart exit popup</li>
<li>code for smart exit popup javascript</li>
</ol>
<div>Before finally hitting the right answer with:</div>
<div>
<ol>
<li><a href="http://www.google.com/search?q=javascript+exit+popup" target="_blank">javascript exit popup</a></li>
</ol>
</div>
<p>The first result from Gath Adams hits the nail right on the head: <a href="http://gathadams.com/2007/08/23/code-the-perfect-exit-popup-exit-console/">Code the perfect Exit Popup</a></p>
<p>I did notice a syntax error on line 36</p>
<p>alert(&#8216;Here is your popup!);</p>
<p>is missing the closing quote &#8211; so it should be:</p>
<p>alert(&#8216;Here is your popup!&#8217;);</p>
<p>Otherwise, his code works great. Thanks Gath (pronounced Garth)!</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/javascript-exit-popup/1028/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>onClick buttons in Actionscript 3</title>
		<link>http://sitedesignmagazine.com/dailies/onclick-buttons-in-actoinscript-3/1023</link>
		<comments>http://sitedesignmagazine.com/dailies/onclick-buttons-in-actoinscript-3/1023#comments</comments>
		<pubDate>Thu, 30 Jul 2009 11:29:39 +0000</pubDate>
		<dc:creator>Pedro Sostre</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[onclick]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1023</guid>
		<description><![CDATA[Actions are no longer applied directly to buttons in Actionscript 3. Instead all code can be placed on the main timeline. For a basic getURL you first createa function, then you add an Event Listener [...]]]></description>
			<content:encoded><![CDATA[<p>Actions are no longer applied directly to buttons in Actionscript 3. Instead all code can be placed on the main timeline. For a basic getURL you first createa function, then you add an Event Listener to the button instance. Code below:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>function gotoPage(event:MouseEvent):void<br />
{</p>
<p>var targetURL:URLRequest = new URLRequest(&#8220;http://www.sitedesignmagazine.com/&#8221;);<br />
navigateToURL(targetURL,&#8217;_self&#8217;);</p>
<p>}</p>
<p>skip_btn.addEventListener(MouseEvent.CLICK,gotoPage);</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Replace skip_btn with the instance name of your own button.</p>
<p>NOTE: For some reason WordPress converts my quotes (both single and double) to smart quotes or whatever. You will need to change those when you paste or you&#8217;ll get syntax errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/onclick-buttons-in-actoinscript-3/1023/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

