<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/2.4.5" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ClickCoders Blog</title>
		<link>http://clickcoders.org/blog/blog1.php</link>
		<description>ClickCoders Blog</description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=2.4.5"/>
		<ttl>60</ttl>
				<item>
			<title>NeoBook 5.6.4 Update Released</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/06/06/neobook-5-6-4-update-released</link>
			<pubDate>Sat, 06 Jun 2009 15:41:29 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">General</category>			<guid isPermaLink="false">82@http://clickcoders.org/blog/</guid>
						<description>&lt;p&gt;NeoSoft Corp. has released NeoBook version 5.6.4.&lt;/p&gt;

&lt;p&gt;NOTE: If you registered NeoBook 5 before February 1st 2008 then you will need to purchase a new registration code in order to use version 5.6 or higher. If you purchased NeoBook 5 after February 1st 2008, then this upgrade is free. Registered users of NeoBook 5.0 through 5.5.4 can purchase a new registration code for $25.&lt;/p&gt;

&lt;p&gt;This update contains the following:&lt;/p&gt;

&lt;p&gt;Enhancements&lt;/p&gt;

&lt;p&gt;-Added an option to Book Properties &gt; Version Info to allow customization of the Vista/Windows 7 manifest included in compiled publications. Most NeoBook authors can safely ignore this feature and simply use the default &quot;As Invoker&quot; setting. Versions of Windows prior to Vista will ignore the manifest. (See the &amp;#8220;Book Properties &gt; Global&amp;#8221; topic in the help file for more information about this feature.)&lt;/p&gt;

&lt;p&gt;-Compiled publications now attempt to detect changes to the default printer made by the Windows Control Panel or other applications. Previously, a change in the default printer would not be recognized until the publication was restarted. (Note to Programmers: Your app should broadcast a WM_SETTINGCHANGE message if you alter the default printer.)&lt;/p&gt;

&lt;p&gt;Fixes&lt;/p&gt;

&lt;p&gt;-The Archive/Backup command now works correctly. A bizarre glitch in the software we use to &amp;#8220;protect&amp;#8221; NeoBook from hackers unexpectedly caused this feature to stop working in v5.6.3. Only the English version was affected.&lt;/p&gt;

&lt;p&gt;-Corrected two compatibility issues related to Internet Explorer 8. The first caused an error message to appear when closing compiled publications containing embedded HTML content. The second prevented NeoBook from test running ActiveX (PKG) publications (formally known as web browser plug-ins) when IE8 was installed.&lt;/p&gt;

&lt;p&gt;-Corrected a problem that prevented NeoBook from running on some Windows 95/98 systems. This was caused by a compatibility issue with the software used to &amp;#8220;protect&amp;#8221; NeoBook from hackers. This affected NeoBook only and not compiled publications.&lt;/p&gt;

&lt;p&gt;-Corrected a problem that prevented Web Browser objects from redrawing properly when snapped to a container.&lt;/p&gt;

&lt;p&gt;-The help file&amp;#8217;s search feature now works correctly after being inadvertently disabled in the previous update.&lt;/p&gt;

&lt;p&gt;Other&lt;/p&gt;

&lt;p&gt;-The compiler option &amp;#8220;Web Browser Plug-In&amp;#8220; was changed to &amp;#8220;ActiveX Control (PKG)&amp;#8221; which more accurately reflects the type of application created. Hopefully, this will reduce confusion (and tech support questions) about this feature.&lt;/p&gt;

&lt;p&gt;Download here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://clickcoders.org/cgi-bin/download.pl?file=nbw.exe&quot;&gt;http://clickcoders.org/cgi-bin/download.pl?file=nbw.exe&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/06/06/neobook-5-6-4-update-released&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>NeoSoft Corp. has released NeoBook version 5.6.4.</p>

<p>NOTE: If you registered NeoBook 5 before February 1st 2008 then you will need to purchase a new registration code in order to use version 5.6 or higher. If you purchased NeoBook 5 after February 1st 2008, then this upgrade is free. Registered users of NeoBook 5.0 through 5.5.4 can purchase a new registration code for $25.</p>

<p>This update contains the following:</p>

<p>Enhancements</p>

<p>-Added an option to Book Properties > Version Info to allow customization of the Vista/Windows 7 manifest included in compiled publications. Most NeoBook authors can safely ignore this feature and simply use the default "As Invoker" setting. Versions of Windows prior to Vista will ignore the manifest. (See the &#8220;Book Properties > Global&#8221; topic in the help file for more information about this feature.)</p>

<p>-Compiled publications now attempt to detect changes to the default printer made by the Windows Control Panel or other applications. Previously, a change in the default printer would not be recognized until the publication was restarted. (Note to Programmers: Your app should broadcast a WM_SETTINGCHANGE message if you alter the default printer.)</p>

<p>Fixes</p>

<p>-The Archive/Backup command now works correctly. A bizarre glitch in the software we use to &#8220;protect&#8221; NeoBook from hackers unexpectedly caused this feature to stop working in v5.6.3. Only the English version was affected.</p>

<p>-Corrected two compatibility issues related to Internet Explorer 8. The first caused an error message to appear when closing compiled publications containing embedded HTML content. The second prevented NeoBook from test running ActiveX (PKG) publications (formally known as web browser plug-ins) when IE8 was installed.</p>

<p>-Corrected a problem that prevented NeoBook from running on some Windows 95/98 systems. This was caused by a compatibility issue with the software used to &#8220;protect&#8221; NeoBook from hackers. This affected NeoBook only and not compiled publications.</p>

<p>-Corrected a problem that prevented Web Browser objects from redrawing properly when snapped to a container.</p>

<p>-The help file&#8217;s search feature now works correctly after being inadvertently disabled in the previous update.</p>

<p>Other</p>

<p>-The compiler option &#8220;Web Browser Plug-In&#8220; was changed to &#8220;ActiveX Control (PKG)&#8221; which more accurately reflects the type of application created. Hopefully, this will reduce confusion (and tech support questions) about this feature.</p>

<p>Download here:</p>

<p><a href="http://clickcoders.org/cgi-bin/download.pl?file=nbw.exe">http://clickcoders.org/cgi-bin/download.pl?file=nbw.exe</a></p><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/06/06/neobook-5-6-4-update-released">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/06/06/neobook-5-6-4-update-released#comments</comments>
		</item>
				<item>
			<title>Neobook Tip: Fract Int Sign - Decompose Number Into Its Parts</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/04/18/neobook-tip-fract-int-sign-decompose-num</link>
			<pubDate>Sat, 18 Apr 2009 15:56:45 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">NeoBook Tips</category>			<guid isPermaLink="false">81@http://clickcoders.org/blog/</guid>
						<description>&lt;p&gt;Contributed by Sam Cox:&lt;/p&gt;

&lt;p&gt;This subroutine decomposes a numeric value into useful parts: [Sign], [Int], and [Fract] such that Math &quot;[Sign]*([Int]+[Fract])&quot; &quot;&quot; &quot;[Value]&quot; recreates the original value. &lt;br /&gt;
USAGE&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Args]&quot; &quot;Value,Decimals&quot;&lt;br /&gt;
Gosub &quot;FractIntSign&quot;&lt;/p&gt;

&lt;p&gt;The &quot;Decimals&quot; parameters is optional and defaults to &quot;9&quot;. To use the default, the usage is:&lt;/p&gt;

&lt;p&gt;USAGE WITH DEFAULT VALUE OF DECIMALS&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Args]&quot; &quot;Value&quot;&lt;br /&gt;
Gosub &quot;FractIntSign&quot;&lt;/p&gt;

&lt;p&gt;CODE &lt;/p&gt;

&lt;p&gt;:FractIntSign&lt;br /&gt;
StrParse &quot;[Args]&quot; &quot;,&quot; &quot;[Arg]&quot; &quot;[Argc]&quot;&lt;br /&gt;
If &quot;[Argc]&quot; &quot;=&quot; &quot;1&quot;&lt;br /&gt;
   SetVar &quot;[Arg2]&quot; &quot;9&quot;&lt;br /&gt;
Endif&lt;br /&gt;
If &quot;[Arg1]&quot; &quot;&lt;&quot; &quot;0&quot;&lt;br /&gt;
  SetVar &quot;[Sign]&quot; &quot;-1&quot;&lt;br /&gt;
  Math &quot;Abs([Arg1])&quot; &quot;9&quot; &quot;[Arg1]&quot;&lt;br /&gt;
Else&lt;br /&gt;
  SetVar &quot;[Sign]&quot; &quot;1&quot;&lt;br /&gt;
Endif&lt;br /&gt;
Math &quot;[Arg1]-0.499999999999999&quot; &quot;0&quot; &quot;[Int]&quot;&lt;br /&gt;
Math &quot;[Arg1]-[Int]&quot; &quot;[Arg2]&quot; &quot;[Fract]&quot;&lt;br /&gt;
Return&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/04/18/neobook-tip-fract-int-sign-decompose-num&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Contributed by Sam Cox:</p>

<p>This subroutine decomposes a numeric value into useful parts: [Sign], [Int], and [Fract] such that Math "[Sign]*([Int]+[Fract])" "" "[Value]" recreates the original value. <br />
USAGE</p>

<p>SetVar "[Args]" "Value,Decimals"<br />
Gosub "FractIntSign"</p>

<p>The "Decimals" parameters is optional and defaults to "9". To use the default, the usage is:</p>

<p>USAGE WITH DEFAULT VALUE OF DECIMALS</p>

<p>SetVar "[Args]" "Value"<br />
Gosub "FractIntSign"</p>

<p>CODE </p>

<p>:FractIntSign<br />
StrParse "[Args]" "," "[Arg]" "[Argc]"<br />
If "[Argc]" "=" "1"<br />
   SetVar "[Arg2]" "9"<br />
Endif<br />
If "[Arg1]" "<" "0"<br />
  SetVar "[Sign]" "-1"<br />
  Math "Abs([Arg1])" "9" "[Arg1]"<br />
Else<br />
  SetVar "[Sign]" "1"<br />
Endif<br />
Math "[Arg1]-0.499999999999999" "0" "[Int]"<br />
Math "[Arg1]-[Int]" "[Arg2]" "[Fract]"<br />
Return</p><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/04/18/neobook-tip-fract-int-sign-decompose-num">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/04/18/neobook-tip-fract-int-sign-decompose-num#comments</comments>
		</item>
				<item>
			<title>Make a Web Text Box &#38; Save As HTML</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/03/22/make-a-web-text-box-aamp-save-as-html</link>
			<pubDate>Sun, 22 Mar 2009 17:25:16 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">Photoshop Tutorials</category>			<guid isPermaLink="false">80@http://clickcoders.org/blog/</guid>
						<description>&lt;div class=&quot;youtube center&quot;&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px&quot; data=&quot;http://www.youtube.com/v/TJvMXYZBQWU&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/TJvMXYZBQWU&quot; /&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/03/22/make-a-web-text-box-aamp-save-as-html&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<div class="youtube center"><object type="application/x-shockwave-flash" style="width:425px; height:350px" data="http://www.youtube.com/v/TJvMXYZBQWU"><param name="movie" value="http://www.youtube.com/v/TJvMXYZBQWU" /></object></div><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/03/22/make-a-web-text-box-aamp-save-as-html">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/03/22/make-a-web-text-box-aamp-save-as-html#comments</comments>
		</item>
				<item>
			<title>Neobook Tip: Divmod And Isleap</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/03/13/neobook-tip-divmod-and-isleap</link>
			<pubDate>Fri, 13 Mar 2009 17:18:00 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">NeoBook Tips</category>			<guid isPermaLink="false">77@http://clickcoders.org/blog/</guid>
						<description>&lt;p&gt;Contributed by Sam Cox:&lt;/p&gt;

&lt;p&gt;Given a positive integer numerator and positive integer denominator, the DIVMOD subroutine returns the integer quotient in variable [Div] and the integer remainder in variable [Mod]. The calling syntax is:&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Args]&quot; &quot;Numerator,Denominator&quot;&lt;br /&gt;
Gosub &quot;DivMod&quot;&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Num]&quot; &quot;2001&quot;&lt;br /&gt;
SetVar &quot;[Denom]&quot; &quot;4&quot;&lt;br /&gt;
SetVar &quot;[Args]&quot; &quot;[Num],[Denom]&quot; ... or just SetVar &quot;[Args]&quot; &quot;2001,4&quot;&lt;br /&gt;
Gosub &quot;DivMod&quot;&lt;br /&gt;
AlertBox &quot;DivMod Example&quot; &quot;[Num] Div [Denom] = [Div]|[Num] Mod [Denom] = [Mod]&quot;&lt;/p&gt;

&lt;p&gt;Here is the DIVMOD subroutine:&lt;/p&gt;

&lt;p&gt;CODE &lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://clickcoders.org/blog/rsc/smilies/icon_biggrin.gif&quot; alt=&quot;&amp;#58;&amp;#68;&quot; class=&quot;middle&quot; /&gt;IVMOD&lt;br /&gt;
StrParse &quot;[Args]&quot; &quot;,&quot; &quot;[Arg]&quot; &quot;[Argc]&quot;&lt;br /&gt;
Math &quot;[Arg1]/[Arg2]&quot; &quot;9&quot; &quot;[DivModTemp]&quot;&lt;br /&gt;
Math &quot;[DivModTemp]-0.499999999999999&quot; &quot;0&quot; &quot;[Div]&quot;&lt;br /&gt;
Math &quot;[Arg2]*[Div]&quot; &quot;0&quot; &quot;[DivModTemp]&quot;&lt;br /&gt;
Math &quot;[Arg1]-[DivModTemp]&quot; &quot;0&quot; &quot;[Mod]&quot;&lt;br /&gt;
Return&lt;/p&gt;



&lt;p&gt;Let's use the DIVMOD subroutine to write an ISLEAP subroutine (below) to determine whether a four-digit year such as 2001 is a leap year. The answer (&quot;True&quot; or &quot;False&quot;) is returned in variable [isLeap]. The calling syntax is:&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Args]&quot; &quot;FourDigitYear&quot;&lt;br /&gt;
Gosub &quot;isLeap&quot;&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;SetVar &quot;[SomeYear]&quot; &quot;1946&quot;&lt;br /&gt;
SetVar &quot;[Args]&quot; &quot;[SomeYear]&quot; ... or just SetVar &quot;[Args]&quot; &quot;1946&quot;&lt;br /&gt;
Gosub &quot;isLeap&quot;&lt;br /&gt;
AlertBox &quot;isLeap Example&quot; &quot;Is [SomeYear] a leap year? --- [isleap]&quot;&lt;/p&gt;

&lt;p&gt;Recall that in our modern western calendar, a four-digit year is a leap year if it is evenly divisible by 4 unless it also evenly divisible by 100 (turn of the century). But every fourth turn of the century is a leap year, so year 2000 is a leap year but years 1900 and 2100 are not.&lt;/p&gt;

&lt;p&gt;Here is the ISLEAP subroutine.&lt;/p&gt;

&lt;p&gt;CODE &lt;/p&gt;

&lt;p&gt;:ISLEAP&lt;br /&gt;
StrParse &quot;[Args]&quot; &quot;,&quot; &quot;[Arg]&quot; &quot;[Argc]&quot;&lt;br /&gt;
SetVar &quot;[isLeapYYYY]&quot; &quot;[Arg1]&quot;&lt;br /&gt;
SetVar &quot;[Args]&quot; &quot;[isLeapYYYY],100&quot;&lt;br /&gt;
Gosub &quot;DivMod&quot;&lt;br /&gt;
If &quot;[Mod]&quot; &quot;=&quot; &quot;0&quot;&lt;br /&gt;
   SetVar &quot;[Args]&quot; &quot;[isLeapYYYY],400&quot;&lt;br /&gt;
   Gosub &quot;DivMod&quot;&lt;br /&gt;
Else&lt;br /&gt;
   SetVar &quot;[Args]&quot; &quot;[isLeapYYYY],4&quot;&lt;br /&gt;
   Gosub &quot;DivMod&quot;&lt;br /&gt;
Endif&lt;br /&gt;
If &quot;[Mod]&quot; &quot;=&quot; &quot;0&quot;&lt;br /&gt;
   SetVar &quot;[isLeap]&quot; &quot;True&quot;&lt;br /&gt;
Else&lt;br /&gt;
   SetVar &quot;[isLeap]&quot; &quot;False&quot;&lt;br /&gt;
Endif&lt;br /&gt;
Return&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/03/13/neobook-tip-divmod-and-isleap&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Contributed by Sam Cox:</p>

<p>Given a positive integer numerator and positive integer denominator, the DIVMOD subroutine returns the integer quotient in variable [Div] and the integer remainder in variable [Mod]. The calling syntax is:</p>

<p>SetVar "[Args]" "Numerator,Denominator"<br />
Gosub "DivMod"</p>

<p>Example:</p>

<p>SetVar "[Num]" "2001"<br />
SetVar "[Denom]" "4"<br />
SetVar "[Args]" "[Num],[Denom]" ... or just SetVar "[Args]" "2001,4"<br />
Gosub "DivMod"<br />
AlertBox "DivMod Example" "[Num] Div [Denom] = [Div]|[Num] Mod [Denom] = [Mod]"</p>

<p>Here is the DIVMOD subroutine:</p>

<p>CODE </p>

<p><img src="http://clickcoders.org/blog/rsc/smilies/icon_biggrin.gif" alt="&#58;&#68;" class="middle" />IVMOD<br />
StrParse "[Args]" "," "[Arg]" "[Argc]"<br />
Math "[Arg1]/[Arg2]" "9" "[DivModTemp]"<br />
Math "[DivModTemp]-0.499999999999999" "0" "[Div]"<br />
Math "[Arg2]*[Div]" "0" "[DivModTemp]"<br />
Math "[Arg1]-[DivModTemp]" "0" "[Mod]"<br />
Return</p>



<p>Let's use the DIVMOD subroutine to write an ISLEAP subroutine (below) to determine whether a four-digit year such as 2001 is a leap year. The answer ("True" or "False") is returned in variable [isLeap]. The calling syntax is:</p>

<p>SetVar "[Args]" "FourDigitYear"<br />
Gosub "isLeap"</p>

<p>Example:</p>

<p>SetVar "[SomeYear]" "1946"<br />
SetVar "[Args]" "[SomeYear]" ... or just SetVar "[Args]" "1946"<br />
Gosub "isLeap"<br />
AlertBox "isLeap Example" "Is [SomeYear] a leap year? --- [isleap]"</p>

<p>Recall that in our modern western calendar, a four-digit year is a leap year if it is evenly divisible by 4 unless it also evenly divisible by 100 (turn of the century). But every fourth turn of the century is a leap year, so year 2000 is a leap year but years 1900 and 2100 are not.</p>

<p>Here is the ISLEAP subroutine.</p>

<p>CODE </p>

<p>:ISLEAP<br />
StrParse "[Args]" "," "[Arg]" "[Argc]"<br />
SetVar "[isLeapYYYY]" "[Arg1]"<br />
SetVar "[Args]" "[isLeapYYYY],100"<br />
Gosub "DivMod"<br />
If "[Mod]" "=" "0"<br />
   SetVar "[Args]" "[isLeapYYYY],400"<br />
   Gosub "DivMod"<br />
Else<br />
   SetVar "[Args]" "[isLeapYYYY],4"<br />
   Gosub "DivMod"<br />
Endif<br />
If "[Mod]" "=" "0"<br />
   SetVar "[isLeap]" "True"<br />
Else<br />
   SetVar "[isLeap]" "False"<br />
Endif<br />
Return</p><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/03/13/neobook-tip-divmod-and-isleap">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/03/13/neobook-tip-divmod-and-isleap#comments</comments>
		</item>
				<item>
			<title>Photoshop Tutorial :: Multitones and Masking</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/02/26/photoshop-tutorial-multitones-and-maskin</link>
			<pubDate>Thu, 26 Feb 2009 17:05:38 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">Photoshop Tutorials</category>			<guid isPermaLink="false">76@http://clickcoders.org/blog/</guid>
						<description>&lt;div class=&quot;youtube center&quot;&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px&quot; data=&quot;http://www.youtube.com/v/d7rToUbb32E&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/d7rToUbb32E&quot; /&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/02/26/photoshop-tutorial-multitones-and-maskin&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<div class="youtube center"><object type="application/x-shockwave-flash" style="width:425px; height:350px" data="http://www.youtube.com/v/d7rToUbb32E"><param name="movie" value="http://www.youtube.com/v/d7rToUbb32E" /></object></div><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/02/26/photoshop-tutorial-multitones-and-maskin">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/02/26/photoshop-tutorial-multitones-and-maskin#comments</comments>
		</item>
				<item>
			<title>Neobook Tip: Atan2</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/02/14/neobook-tip-atan2</link>
			<pubDate>Sat, 14 Feb 2009 16:17:00 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">NeoBook Tips</category>			<guid isPermaLink="false">75@http://clickcoders.org/blog/</guid>
						<description>&lt;p&gt;Contributed by Sam Cox:&lt;/p&gt;

&lt;p&gt;Here is a NeoBook ATAN2 subroutine based on a definition found via Google. &lt;/p&gt;

&lt;p&gt;DEFINITION FROM GOOGLE&lt;/p&gt;

&lt;p&gt;CODE &lt;/p&gt;

&lt;p&gt;atan2(y,x) :=&lt;br /&gt;
case 1: x &gt; 0&lt;br /&gt;
   atan(y/x)&lt;br /&gt;
case 2: x &lt; 0&lt;br /&gt;
   sign(y)*(pi - atan(abs(y/x)))&lt;br /&gt;
case 3: x = y = 0&lt;br /&gt;
   0&lt;br /&gt;
case 4: x = 0&lt;br /&gt;
   sign(y)*pi/2&lt;/p&gt;


&lt;p&gt;ATAN2 SUBROUTINE USAGE&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Args]&quot; &quot;Yvalue,Xvalue&quot;&lt;br /&gt;
Gosub &quot;Atan2&quot;&lt;br /&gt;
CODE &lt;/p&gt;

&lt;p&gt;:ATAN2&lt;br /&gt;
..ATAN2 INPUT: [Args] = &quot;Y,X&quot;&lt;br /&gt;
..ATAN2 OUTPUT: [Atan2] = angle in radians = atan(y/x) adjusted for quadrant&lt;/p&gt;

&lt;p&gt;..uncomment the next line if you haven't defined [pi] elsewhere&lt;br /&gt;
..SetVar &quot;[pi]&quot; &quot;3.141592654&quot;&lt;/p&gt;

&lt;p&gt;StrParse &quot;[Args]&quot; &quot;,&quot; &quot;[Arg]&quot; &quot;[Argc]&quot;&lt;br /&gt;
If &quot;[Arg1]&quot; &quot;&lt;&quot; &quot;0&quot;&lt;br /&gt;
   SetVar &quot;[SignY]&quot; &quot;-1&quot;&lt;br /&gt;
Else&lt;br /&gt;
   SetVar &quot;[SignY]&quot; &quot;1&quot;&lt;br /&gt;
Endif&lt;br /&gt;
If &quot;[Arg2]&quot; &quot;=&quot; &quot;0&quot;&lt;br /&gt;
   If &quot;[Arg1]&quot; &quot;=&quot; &quot;0&quot;&lt;br /&gt;
       ..case 3&lt;br /&gt;
       SetVar &quot;[Atan2]&quot; &quot;0&quot;&lt;br /&gt;
   Else&lt;br /&gt;
       ..case 4&lt;br /&gt;
       Math &quot;[SignY]*0.50*[pi]&quot; &quot;9&quot; &quot;[Atan2]&quot;&lt;br /&gt;
   Endif&lt;br /&gt;
Else&lt;br /&gt;
   If &quot;[Arg2]&quot; &quot;&gt;&quot; &quot;0&quot;&lt;br /&gt;
       ..case 1&lt;br /&gt;
       Math &quot;Atan([Arg1]/[Arg2])&quot; &quot;9&quot; &quot;[Atan2]&quot;&lt;br /&gt;
   Else&lt;br /&gt;
       ..case 2&lt;br /&gt;
       Math &quot;[SignY]*([pi]-Atan(Abs([Arg1]/[Arg2])))&quot; &quot;9&quot; &quot;[Atan2]&quot;&lt;br /&gt;
   Endif&lt;br /&gt;
Endif&lt;br /&gt;
Return&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/02/14/neobook-tip-atan2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Contributed by Sam Cox:</p>

<p>Here is a NeoBook ATAN2 subroutine based on a definition found via Google. </p>

<p>DEFINITION FROM GOOGLE</p>

<p>CODE </p>

<p>atan2(y,x) :=<br />
case 1: x > 0<br />
   atan(y/x)<br />
case 2: x < 0<br />
   sign(y)*(pi - atan(abs(y/x)))<br />
case 3: x = y = 0<br />
   0<br />
case 4: x = 0<br />
   sign(y)*pi/2</p>


<p>ATAN2 SUBROUTINE USAGE</p>

<p>SetVar "[Args]" "Yvalue,Xvalue"<br />
Gosub "Atan2"<br />
CODE </p>

<p>:ATAN2<br />
..ATAN2 INPUT: [Args] = "Y,X"<br />
..ATAN2 OUTPUT: [Atan2] = angle in radians = atan(y/x) adjusted for quadrant</p>

<p>..uncomment the next line if you haven't defined [pi] elsewhere<br />
..SetVar "[pi]" "3.141592654"</p>

<p>StrParse "[Args]" "," "[Arg]" "[Argc]"<br />
If "[Arg1]" "<" "0"<br />
   SetVar "[SignY]" "-1"<br />
Else<br />
   SetVar "[SignY]" "1"<br />
Endif<br />
If "[Arg2]" "=" "0"<br />
   If "[Arg1]" "=" "0"<br />
       ..case 3<br />
       SetVar "[Atan2]" "0"<br />
   Else<br />
       ..case 4<br />
       Math "[SignY]*0.50*[pi]" "9" "[Atan2]"<br />
   Endif<br />
Else<br />
   If "[Arg2]" ">" "0"<br />
       ..case 1<br />
       Math "Atan([Arg1]/[Arg2])" "9" "[Atan2]"<br />
   Else<br />
       ..case 2<br />
       Math "[SignY]*([pi]-Atan(Abs([Arg1]/[Arg2])))" "9" "[Atan2]"<br />
   Endif<br />
Endif<br />
Return</p><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/02/14/neobook-tip-atan2">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/02/14/neobook-tip-atan2#comments</comments>
		</item>
				<item>
			<title>Neobook Tip: Transition Effects</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/02/07/neobook-tip-transition-effects</link>
			<pubDate>Sat, 07 Feb 2009 17:13:59 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">NeoBook Tips</category>			<guid isPermaLink="false">74@http://clickcoders.org/blog/</guid>
						<description>&lt;p&gt;Contributed by Sam Cox:&lt;/p&gt;

&lt;p&gt;With the action commands HideObject and ShowObject, you can select the display effect and speed at run time. Here is the list of effects from which you can select.&lt;/p&gt;

&lt;p&gt;SetVar &quot;[Effect0]&quot; &quot;None&quot;&lt;br /&gt;
SetVar &quot;[Effect1]&quot; &quot;Wipe Up&quot;&lt;br /&gt;
SetVar &quot;[Effect2]&quot; &quot;Wipe Down&quot;&lt;br /&gt;
SetVar &quot;[Effect3]&quot; &quot;Wipe Left&quot;&lt;br /&gt;
SetVar &quot;[Effect4]&quot; &quot;Wipe Right&quot;&lt;br /&gt;
SetVar &quot;[Effect5]&quot; &quot;Dissolve&quot;&lt;br /&gt;
SetVar &quot;[Effect6]&quot; &quot;Slide Up&quot;&lt;br /&gt;
SetVar &quot;[Effect7]&quot; &quot;Slide Down&quot;&lt;br /&gt;
SetVar &quot;[Effect8]&quot; &quot;Slide Left&quot;&lt;br /&gt;
SetVar &quot;[Effect9]&quot; &quot;Slide Right&quot;&lt;br /&gt;
SetVar &quot;[Effect10]&quot; &quot;Explode&quot;&lt;br /&gt;
SetVar &quot;[Effect11]&quot; &quot;Implode&quot;&lt;br /&gt;
SetVar &quot;[Effect12]&quot; &quot;Weave Horizontal&quot;&lt;br /&gt;
SetVar &quot;[Effect13]&quot; &quot;Weave Vertical&quot;&lt;br /&gt;
SetVar &quot;[Effect14]&quot; &quot;Split Horizontal&quot;&lt;br /&gt;
SetVar &quot;[Effect15]&quot; &quot;Split Vertical&quot;&lt;br /&gt;
SetVar &quot;[Effect16]&quot; &quot;Circle&quot;&lt;br /&gt;
SetVar &quot;[Effect17]&quot; &quot;Grow&quot;&lt;br /&gt;
SetVar &quot;[Effect18]&quot; &quot;Blocks&quot;&lt;br /&gt;
SetVar &quot;[Effect19]&quot; &quot;Checkerboard&quot;&lt;br /&gt;
SetVar &quot;[Effect20]&quot; &quot;Block Dissolve&quot;&lt;br /&gt;
SetVar &quot;[Effect21]&quot; &quot;Fade&quot;&lt;/p&gt;

&lt;p&gt;To select an effect and speed at random, you can use the following code&lt;/p&gt;

&lt;p&gt;Random &quot;10&quot; &quot;[RandomSpeed]&quot;&lt;br /&gt;
Random &quot;21&quot; &quot;[RandomEffectNumber]&quot;&lt;br /&gt;
SetVar &quot;[RandomEffect]&quot; &quot;[Effect[RandomEffectNumber]]&quot;&lt;/p&gt;

&lt;p&gt;The [RandomSpeed] and [RandomEffect] variables are be used like this:&lt;/p&gt;

&lt;p&gt;HideObject &quot;ObjectName&quot; &quot;[RandomEffect]&quot; &quot;[RandomSpeed]&quot;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/02/07/neobook-tip-transition-effects&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Contributed by Sam Cox:</p>

<p>With the action commands HideObject and ShowObject, you can select the display effect and speed at run time. Here is the list of effects from which you can select.</p>

<p>SetVar "[Effect0]" "None"<br />
SetVar "[Effect1]" "Wipe Up"<br />
SetVar "[Effect2]" "Wipe Down"<br />
SetVar "[Effect3]" "Wipe Left"<br />
SetVar "[Effect4]" "Wipe Right"<br />
SetVar "[Effect5]" "Dissolve"<br />
SetVar "[Effect6]" "Slide Up"<br />
SetVar "[Effect7]" "Slide Down"<br />
SetVar "[Effect8]" "Slide Left"<br />
SetVar "[Effect9]" "Slide Right"<br />
SetVar "[Effect10]" "Explode"<br />
SetVar "[Effect11]" "Implode"<br />
SetVar "[Effect12]" "Weave Horizontal"<br />
SetVar "[Effect13]" "Weave Vertical"<br />
SetVar "[Effect14]" "Split Horizontal"<br />
SetVar "[Effect15]" "Split Vertical"<br />
SetVar "[Effect16]" "Circle"<br />
SetVar "[Effect17]" "Grow"<br />
SetVar "[Effect18]" "Blocks"<br />
SetVar "[Effect19]" "Checkerboard"<br />
SetVar "[Effect20]" "Block Dissolve"<br />
SetVar "[Effect21]" "Fade"</p>

<p>To select an effect and speed at random, you can use the following code</p>

<p>Random "10" "[RandomSpeed]"<br />
Random "21" "[RandomEffectNumber]"<br />
SetVar "[RandomEffect]" "[Effect[RandomEffectNumber]]"</p>

<p>The [RandomSpeed] and [RandomEffect] variables are be used like this:</p>

<p>HideObject "ObjectName" "[RandomEffect]" "[RandomSpeed]"</p><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/02/07/neobook-tip-transition-effects">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/02/07/neobook-tip-transition-effects#comments</comments>
		</item>
				<item>
			<title>Photoshop Tutorial :: Watermark your Photos FAST</title>
			<link>http://clickcoders.org/blog/blog1.php/2009/01/26/photoshop-tutorial-watermark-your-photos</link>
			<pubDate>Mon, 26 Jan 2009 18:42:59 +0000</pubDate>			<dc:creator>Wrangler</dc:creator>
			<category domain="main">Photoshop Tutorials</category>			<guid isPermaLink="false">73@http://clickcoders.org/blog/</guid>
						<description>&lt;div class=&quot;youtube center&quot;&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px&quot; data=&quot;http://www.youtube.com/v/iuIQSPMHk2U&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/iuIQSPMHk2U&quot; /&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://clickcoders.org/blog/blog1.php/2009/01/26/photoshop-tutorial-watermark-your-photos&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<div class="youtube center"><object type="application/x-shockwave-flash" style="width:425px; height:350px" data="http://www.youtube.com/v/iuIQSPMHk2U"><param name="movie" value="http://www.youtube.com/v/iuIQSPMHk2U" /></object></div><div class="item_footer"><p><small><a href="http://clickcoders.org/blog/blog1.php/2009/01/26/photoshop-tutorial-watermark-your-photos">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://clickcoders.org/blog/blog1.php/2009/01/26/photoshop-tutorial-watermark-your-photos#comments</comments>
		</item>
			</channel>
</rss>
