<?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>sitedesignmagazine.com</title>
	<atom:link href="http://sitedesignmagazine.com/dailies/feed" rel="self" type="application/rss+xml" />
	<link>http://sitedesignmagazine.com/dailies</link>
	<description>The online magazine for webdesigners</description>
	<lastBuildDate>Mon, 11 Jan 2010 22:18:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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 {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></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 codes. In flash you will need to use %HEX to replace the chars in flash. For example use %26 to [...]]]></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>
<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" bordercolor="#99CCCC">
<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>3</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 {sdm}</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 processlist;
This shows all the processes (queries) running on the server at the moment you run it. Helpful if the server is [...]]]></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>12</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 {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></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:
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 &#8211; replace &#8216;myvideo&#8217; with your video instance name and &#8216;VideoEndAction&#8217; with the function you want to run.
myvideo.addEventListener(VideoEvent.COMPLETE, VideoEndAction);
function VideoEndAction(evt:VideoEvent):void{
//some action here
}
]]></description>
			<content:encoded><![CDATA[<p>Need to execute some action when your FLV reaches the end? Pretty simple:</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;"><span style="white-space: pre;"> </span>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 {sdm}</dc:creator>
				<category><![CDATA[Random Linkage]]></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>0</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 {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></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:
var myLis:Object = new Object;
myLis.complete = function(){
flvPlayer.play();
}
flvPlayer.addEventListener(&#8221;complete&#8221;, myLis);
Just drop that in a frame and make sure the Instance name of your flv is flvPlayer.
Found the code in the macromedia.flash group on Google groups, which also had [...]]]></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:</p>
<p>var myLis:Object = new Object;<br />
myLis.complete = function(){<br />
flvPlayer.play();<br />
}<br />
flvPlayer.addEventListener(&#8221;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 {sdm}</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 also calling the popup when users clicked internal links. With that said I searched google for:

code for exit popup
code for [...]]]></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(&#8217;Here is your popup!);</p>
<p>is missing the closing quote &#8211; so it should be:</p>
<p>alert(&#8217;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 {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></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 to the button instance. Code below:
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
function gotoPage(event:MouseEvent):void
{
var targetURL:URLRequest = new URLRequest(&#8221;http://www.sitedesignmagazine.com/&#8221;);
navigateToURL(targetURL,&#8217;_self&#8217;);
}
skip_btn.addEventListener(MouseEvent.CLICK,gotoPage);
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Replace skip_btn with the instance name of your own button.
NOTE: For [...]]]></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(&#8221;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>
		<item>
		<title>Timer Delay in Actionscript 3.0</title>
		<link>http://sitedesignmagazine.com/dailies/timer-delay-in-actionscript-30/1019</link>
		<comments>http://sitedesignmagazine.com/dailies/timer-delay-in-actionscript-30/1019#comments</comments>
		<pubDate>Fri, 17 Jul 2009 06:21:34 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[timer]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1019</guid>
		<description><![CDATA[If you&#8217;re like me, you&#8217;ve found youself with a flash file that goes on for hundreds of frames because you have animations that need to happen after 5 or 10 seconds and you&#8217;re adding frames to get that delay. Well, AS3 makes it pretty simple to use a script based delay timer and keep your [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you&#8217;ve found youself with a flash file that goes on for hundreds of frames because you have animations that need to happen after 5 or 10 seconds and you&#8217;re adding frames to get that delay. Well, AS3 makes it pretty simple to use a script based delay timer and keep your movie more compact.</p>
<p>Here&#8217;s some basic, uncommented code that stops the movie, waits 2500ms, then plays the movie again:</p>
<p>stop();</p>
<p>import flash.utils.*;</p>
<p>var myTimer:Timer = new Timer(2500);<br />
myTimer.addEventListener(&#8221;timer&#8221;, timedFunction);</p>
<p>myTimer.start();</p>
<p>function timedFunction(eventArgs:TimerEvent) {<br />
myTimer.stop();<br />
play();<br />
//trace(&#8221;Timer fired &#8221; + myTimer.currentCount + &#8221; times.&#8221;);<br />
}</p>
<p>Learn more about the Timer class (with some documented code) <a href="http://theflashblog.com/?p=231" target="_blank">here</a>. If you have any questions, feel free to ask in the comments.</p>
<p>Additional note:</p>
<p>If you want to use a stop(); command to stop playback later in the movie, you may need to add:</p>
<p>myTimer.removeEventListener(&#8221;timer&#8221;, timedFunction);</p>
<p>after your stop(); command. Um, I&#8217;m sure that&#8217;s because this is not the ideal way to pause a movie for a delay, but whatever&#8230; this still works. If someone has a better code sample to submit- please feel free!</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/timer-delay-in-actionscript-30/1019/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tween Rotate in Actionscript 3.0</title>
		<link>http://sitedesignmagazine.com/dailies/tween-rotate-in-actionscript-30/1017</link>
		<comments>http://sitedesignmagazine.com/dailies/tween-rotate-in-actionscript-30/1017#comments</comments>
		<pubDate>Fri, 17 Jul 2009 05:15:57 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tween]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1017</guid>
		<description><![CDATA[I Just discovered the Tween() class in AS3. It&#8217;s pretty awesome and I think I&#8217;ll be using this quite a bit. Basically to make something rotate, you use this:
var myTweenRotation1:Tween = new Tween(img1_mc, &#8220;rotation&#8221;, Strong.easeOut, 114, 184, 3, true);
And your movie clip img1_mc will rotate smoothly with easing and everything. As you can probably figure [...]]]></description>
			<content:encoded><![CDATA[<p>I Just discovered the Tween() class in AS3. It&#8217;s pretty awesome and I think I&#8217;ll be using this quite a bit. Basically to make something rotate, you use this:</p>
<p>var myTweenRotation1:Tween = new Tween(img1_mc, &#8220;rotation&#8221;, Strong.easeOut, 114, 184, 3, true);</p>
<p>And your movie clip img1_mc will rotate smoothly with easing and everything. As you can probably figure out, changing the &#8220;rotation&#8221; parameter to some other object property &#8211; say &#8216;&#8221;scaleX&#8221; and &#8220;scaleY&#8221; for scaling or &#8220;x&#8221; and &#8220;y&#8221; for position &#8211; makes this Tween class pretty powerful. I have yet to really explore all the options and parameters, but this <a href="http://www.zedia.net/actionscript-3-tweens-tutorial/" target="_blank">Actionscript 3 Tweens Tutorial</a> seems like it might come in handy.</p>
<p>Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/tween-rotate-in-actionscript-30/1017/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gradient Mask in Flash Actionscript 3.0</title>
		<link>http://sitedesignmagazine.com/dailies/gradient-mask-in-flash-actionscript-30/1015</link>
		<comments>http://sitedesignmagazine.com/dailies/gradient-mask-in-flash-actionscript-30/1015#comments</comments>
		<pubDate>Fri, 17 Jul 2009 04:04:37 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gradient mask]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1015</guid>
		<description><![CDATA[Creating a gradient mask in Flash Actionscript 3.0 is actually pretty easy.
1) Create your masking graphic and apply a gradient fill (I&#8217;m assuming you know how to make this masking graphic &#8211; if not, you probably need a different tutorial first)
2) Add this line to your main timeline:
cliptomask.mask = maskinggraphic;
Where cliptomask is the instance name [...]]]></description>
			<content:encoded><![CDATA[<p>Creating a gradient mask in Flash Actionscript 3.0 is actually pretty easy.</p>
<p>1) Create your masking graphic and apply a gradient fill (I&#8217;m assuming you know how to make this masking graphic &#8211; if not, you probably need a different tutorial first)</p>
<p>2) Add this line to your main timeline:</p>
<p><em>cliptomask</em>.mask = <em>maskinggraphic</em>;</p>
<div>Where <em>cliptomask </em>is the instance name of the movie clip you are masking and <em>maskinggraphic </em>is the instance name of the masking graphic.</div>
<div>3) Add these two lines directly underneath</div>
<div>
<div><em>cliptomask</em>.cacheAsBitmap = true;</div>
<div><em>maskinggraphic</em>.cacheAsBitmap = true;</div>
</div>
<div>And that&#8217;s it! Let me know if you run into any issues&#8230;</div>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/gradient-mask-in-flash-actionscript-30/1015/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easing Options in Actionscript 3.0</title>
		<link>http://sitedesignmagazine.com/dailies/easing-options-in-actionscript-30/1013</link>
		<comments>http://sitedesignmagazine.com/dailies/easing-options-in-actionscript-30/1013#comments</comments>
		<pubDate>Fri, 17 Jul 2009 03:20:35 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>
		<category><![CDATA[easing]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1013</guid>
		<description><![CDATA[Found this great info here
About the easing classes
Easing refers to gradual acceleration or deceleration during an animation. For example, a ball might gradually increase its speed near the beginning of an animation, but slow down right at the end of the animation before it arrives at a full stop. Adding easing helps your animations appear [...]]]></description>
			<content:encoded><![CDATA[<p>Found this great info <a href="http://www.adobe.com/devnet/flash/articles/creating_animation_as3_02.html" target="_blank">here</a></p>
<h4>About the easing classes</h4>
<p><em>Easing</em> refers to gradual acceleration or deceleration during an animation. For example, a ball might gradually increase its speed near the beginning of an animation, but slow down right at the end of the animation before it arrives at a full stop. Adding easing helps your animations appear more realistic.</p>
<p>Flash offers six easing classes for use with the Tween and TransitionManager classes:</p>
<ul>
<li><strong>Back:</strong> Extends the animation beyond the transition range at one or both ends at once to resemble an overflow effect.</li>
<li><strong>Bounce:</strong> Adds a bouncing effect within the transition range at one or both ends. The number of bounces relates to the duration—longer durations produce more bounces.</li>
<li><strong>Elastic:</strong> Adds an elastic effect that falls outside the transition range at one or both ends. The amount of elasticity is unaffected by the duration.</li>
<li><strong>Regular:</strong> Adds slower movement at one or both ends. This feature enables you to add a speeding-up effect, a slowing-down effect, or both.</li>
<li><strong>Strong:</strong> Adds slower movement at one or both ends. This effect is similar to Regular easing, but it&#8217;s more pronounced.</li>
<li><strong>None:</strong> Adds an equal movement from start to end without effects, slowing, or speeding up. This transition is also referred to as a <em>linear transition</em>.</li>
</ul>
<p>The previous six easing classes each have three easing methods:</p>
<ul>
<li><strong>easeIn:</strong> Provides the easing effect at the beginning of the transition.</li>
<li><strong>easeOut:</strong> Provides the easing effect at the end of the transition.</li>
<li><strong>easeInOut:</strong> Provides the easing effect at both the beginning and end of the transition.</li>
</ul>
<p class="note"><strong>Note:</strong> The None class contains the easeNone method, as seen in the TransitionManager code example above.</p>
<p>If you want to open these classes in Flash or read the code in your ActionScript editor, you can find the class files in <kbd>Adobe\Adobe Flash CS4\Common\Configuration\ActionScript 3.0\projects\Flash\src\fl\transitions.</kbd></p>
<p>See the <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/fl/transitions/easing/package-detail.html" target="_blank">fl.transitions.easing</a> package section of the <em>ActionScript 3.0 Language and Component Reference</em> for more information on the TransitionManager class.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/easing-options-in-actionscript-30/1013/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting to know Actionscript 3.0</title>
		<link>http://sitedesignmagazine.com/dailies/getting-to-know-actionscript-30/1009</link>
		<comments>http://sitedesignmagazine.com/dailies/getting-to-know-actionscript-30/1009#comments</comments>
		<pubDate>Fri, 17 Jul 2009 02:32:12 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Flash Design & Development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[as3.0]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1009</guid>
		<description><![CDATA[Not sure if I&#8217;m late to the party or what, but I&#8217;m just getting into Actionscript 3.0. I have to say that there aren&#8217;t that many sites out there to help us AS2 loyals. Here is my attempt to help out any newbies like myself.
One of the big things I noticed was that you no [...]]]></description>
			<content:encoded><![CDATA[<p>Not sure if I&#8217;m late to the party or what, but I&#8217;m just getting into Actionscript 3.0. I have to say that there aren&#8217;t that many sites out there to help us AS2 loyals. Here is my attempt to help out any newbies like myself.</p>
<p>One of the big things I noticed was that you no longer have actions assigned to buttons or movie clips. Everything is in one place. This is cool &#8217;cause you don&#8217;t have to go poking around everywhere to find out where the code is, but it&#8217;s different since now everything has to reference something else. This referencing is not always simple as far as I&#8217;m concerned, and the errors that you get aren&#8217;t always helpful.</p>
<p>I&#8217;ll provide some samples in future posts, but for now, here is a link to the <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html?migration.html&amp;all-classes.html" target="_blank">Actionscript 2.0 migration document</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/getting-to-know-actionscript-30/1009/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Werkstette Website is Amazing</title>
		<link>http://sitedesignmagazine.com/dailies/the-werkstette-website-is-amazing/1002</link>
		<comments>http://sitedesignmagazine.com/dailies/the-werkstette-website-is-amazing/1002#comments</comments>
		<pubDate>Fri, 22 May 2009 03:46:27 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Conversion Design]]></category>
		<category><![CDATA[Good Stuff]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[photography website]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1002</guid>
		<description><![CDATA[This is by far one of the best websites I&#8217;ve ever seen. The product is the absolute focus of the site. The design is secondary &#8211; they avoided the temptation to make the navigation or any other design elements &#8220;pop&#8221; and take attention away from that product. Great use of restraint. http://werkstette.dk/
]]></description>
			<content:encoded><![CDATA[<p>This is by far one of the best websites I&#8217;ve ever seen. The product is the absolute focus of the site. The design is secondary &#8211; they avoided the temptation to make the navigation or any other design elements &#8220;pop&#8221; and take attention away from that product. Great use of restraint. <a href="http://werkstette.dk/" target="_blank">http://werkstette.dk/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/the-werkstette-website-is-amazing/1002/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Captcha Innuendo?</title>
		<link>http://sitedesignmagazine.com/dailies/captcha-innuendo/1000</link>
		<comments>http://sitedesignmagazine.com/dailies/captcha-innuendo/1000#comments</comments>
		<pubDate>Sun, 22 Mar 2009 04:26:49 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Random Crap]]></category>
		<category><![CDATA[captcha]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=1000</guid>
		<description><![CDATA[ 
]]></description>
			<content:encoded><![CDATA[<p> </p>
<div id="attachment_999" class="wp-caption alignnone" style="width: 497px"><img class="size-full wp-image-999" title="secret_captcha_messages" src="http://sitedesignmagazine.com/dailies/wp-content/uploads/2009/03/secret_captcha_messages.gif" alt="Captcha messages are trying to tell me something..." width="487" height="261" /><p class="wp-caption-text">Captcha messages are trying to tell me something...</p></div>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/captcha-innuendo/1000/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Nice Logo Treatment at Care2.com</title>
		<link>http://sitedesignmagazine.com/dailies/nice-logo-treatment-at-care2com/991</link>
		<comments>http://sitedesignmagazine.com/dailies/nice-logo-treatment-at-care2com/991#comments</comments>
		<pubDate>Wed, 18 Mar 2009 15:35:16 +0000</pubDate>
		<dc:creator>pedro {sdm}</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[corporate identity]]></category>
		<category><![CDATA[logo]]></category>

		<guid isPermaLink="false">http://sitedesignmagazine.com/dailies/?p=991</guid>
		<description><![CDATA[I really like the logo treatment at http://www.care2.com/
 
]]></description>
			<content:encoded><![CDATA[<p>I really like the logo treatment at <a href="http://www.care2.com/">http://www.care2.com/</a></p>
<p> </p>
<div id="attachment_993" class="wp-caption alignnone" style="width: 509px"><a href="http://www.care2.com/"><img class="size-full wp-image-993" title="Care2 Logo" src="http://sitedesignmagazine.com/dailies/wp-content/uploads/2009/03/logo.gif" alt="Care2 Logo" width="499" height="226" /></a><p class="wp-caption-text">Care2 Logo</p></div>
]]></content:encoded>
			<wfw:commentRss>http://sitedesignmagazine.com/dailies/nice-logo-treatment-at-care2com/991/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
