<?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>CodeBasic.net &#124; Malaysia&#039;s Web Developer cum Designer</title>
	<atom:link href="http://codebasic.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://codebasic.net</link>
	<description></description>
	<lastBuildDate>Sat, 06 Mar 2010 04:28:05 +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>COLSPAN and ROWSPAN Tutorial</title>
		<link>http://codebasic.net/colspan-and-rowspan-tutorial/</link>
		<comments>http://codebasic.net/colspan-and-rowspan-tutorial/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 04:28:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[COLSPAN]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[rows]]></category>
		<category><![CDATA[ROWSPAN]]></category>
		<category><![CDATA[span a column]]></category>
		<category><![CDATA[table cell]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=321</guid>
		<description><![CDATA[Every webmaster also know that table cells can be spanned more than one column or row. The attribute of ROWSPAN is used to make cell span multiple rows. If let say ROWSPAN=&#8221;3&#8243; it will only span a column vertically across three rows.
&#60;table border=&#8221;1&#8243; cellspacing=&#8221;2&#8243; cellpadding=&#8221;2&#8243; width=&#8221;200px&#8221;&#62;
&#60;tbody&#62;
&#60;tr&#62;
&#60;td&#62;Codebasic.net&#60;/td&#62;
&#60;td rowspan=&#8221;2&#8243;&#62;spanned&#60;/td&#62;
&#60;td&#62;myLengLui.com&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;imDavidLee.com&#60;/td&#62;
&#60;td&#62;LifeTechie.com&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;LimPek.com&#60;/td&#62;
&#60;td&#62;innoDesigner.com&#60;/td&#62;
&#60;td&#62;PenangBlogger.com&#60;/td&#62;
&#60;/tr&#62;
&#60;/tbody&#62;&#60;/table&#62;



Codebasic.net
spanned
myLengLui.com


imDavidLee.com
LifeTechie.com


LimPek.com
innoDesigner.com
PenangBlogger.com



The COLSPAN attribute is to make a cell span [...]]]></description>
			<content:encoded><![CDATA[<p>Every webmaster also know that table cells can be spanned more than one column or row. The attribute of <strong>ROWSPAN</strong> is used to make cell span multiple rows. If let say ROWSPAN=&#8221;3&#8243; it will only span a column vertically across three rows.</p>
<div style="border: 2px dotted skyblue; width: 350px; background-color: #d4ffff; font-size: 12px;"><span style="color: #993300;">&lt;table</span> <span style="color: #0000ff;">border</span>=&#8221;1&#8243; <span style="color: #0000ff;">cellspacing</span>=&#8221;2&#8243; <span style="color: #0000ff;">cellpadding</span>=&#8221;2&#8243; <span style="color: #0000ff;">width</span>=&#8221;200px&#8221;&gt;<br />
<span style="color: #993300;">&lt;tbody&gt;<br />
&lt;tr&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>Codebasic.net<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td </span>rowspan=&#8221;2&#8243;&gt;spanned<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>myLengLui.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;</span><br />
<span style="color: #993300;">&lt;tr&gt;<br />
&lt;td&gt;</span>imDavidLee.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>LifeTechie.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;<br />
&lt;tr&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>LimPek.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>innoDesigner.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;td&gt;</span>PenangBlogger.com<span style="color: #993300;">&lt;/td&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;</span><br />
<span style="color: #993300;">&lt;/tbody&gt;</span><span style="color: #993300;">&lt;/table&gt;</span></div>
<table border="1" cellspacing="2" cellpadding="2" width="200px">
<tbody>
<tr>
<td>Codebasic.net</td>
<td rowspan="2">spanned</td>
<td>myLengLui.com</td>
</tr>
<tr>
<td>imDavidLee.com</td>
<td>LifeTechie.com</td>
</tr>
<tr>
<td>LimPek.com</td>
<td>innoDesigner.com</td>
<td>PenangBlogger.com</td>
</tr>
</tbody>
</table>
<p>The <strong>COLSPAN </strong>attribute is to make a cell span multiple columns. It spans the columns and will make your table cell span horizontally.</p>
<p><span id="more-321"></span></p>
<div style="border: 2px dotted skyblue; width: 250px; background-color: #d4ffff; font-size: 12px;"><span style="color: #993300;">&lt;table</span> <span style="color: #0000ff;">border</span>=&#8221;1&#8243; <span style="color: #0000ff;">cellpadding</span>=&#8221;2&#8243; <span style="color: #0000ff;">cellspacing</span>=&#8221;2&#8243; <span style="color: #0000ff;">width</span>=&#8221;200px&#8221;&gt;<br />
<span style="color: #993300;">&lt;tr&gt;<br />
&lt;th</span> <span style="color: #0000ff;">colspan</span>=&#8221;2&#8243;&gt;Codebasic.net<span style="color: #993300;">&lt;/th&gt;</span><br />
<span style="color: #993300;">&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td</span> <span style="color: #0000ff;">width</span>=&#8221;20%&#8221;&gt;imDavidLee.com<span style="color: #993300;">&lt;/td&gt;</span><span style="color: #993300;">&lt;td&gt;</span>LifeTechie.com<span style="color: #993300;">&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</span></div>
<table border="1" cellspacing="2" cellpadding="2" width="200px">
<tbody>
<tr>
<th colspan="2">Codebasic.net</th>
</tr>
<tr>
<td width="20%">imDavidLee.com</td>
<td>LifeTechie.com</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/colspan-and-rowspan-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Find Length of String In Javascript?</title>
		<link>http://codebasic.net/how-to-find-length-of-string-in-javascript/</link>
		<comments>http://codebasic.net/how-to-find-length-of-string-in-javascript/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 01:40:41 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Check String Length]]></category>
		<category><![CDATA[Find Length of String]]></category>
		<category><![CDATA[mystring.length]]></category>
		<category><![CDATA[String Length]]></category>
		<category><![CDATA[String Length With Javascript]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=317</guid>
		<description><![CDATA[While working with strings, most probably we will need to find a length of string, count of charachers and etc. In JavaScript we can make use of the string related function as the [variable].length
So, here we go!! I decided to share some really basic source code. Here’s the  example shows in an alert dialog [...]]]></description>
			<content:encoded><![CDATA[<p>While working with strings, most probably we will need to find a length of string, count of charachers and etc. In JavaScript we can make use of the string related function as the <strong>[variable].length</strong></p>
<p>So, here we go!! I decided to share some really basic source code. Here’s the  example shows in an alert dialog box with the length of the string <strong>&#8220;My Name is David&#8221;</strong></p>
<div style="border: 2px dotted skyblue; width: 250px; background-color: #d4ffff; font-size: 12px;"><strong>var </strong>mystring = &#8220;My Name is David&#8221;;<br />
<strong>alert</strong>( mystring.<strong>length </strong>);</div>
<p><script type="text/javascript">// <![CDATA[
 function test(){ var mystring = "My Name is David"; alert( mystring.length ); }
// ]]&gt;</script></p>
<input onclick="test()" type="button" value="Check Length" />
<p><span id="more-317"></span></p>
<p>Besides, you also can try to do this -&gt; <strong>&#8220;My Name is David&#8221;.length ,</strong> which is what the example button above is doing in the onclick event handler.</p>
<p><span style="text-decoration: underline;"><strong>Why Web Developer Need To Know This?</strong></span></p>
<p>This technique is very useful when validating a form where a textfield should not be empty.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/how-to-find-length-of-string-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Mouse Pointer Using CSS</title>
		<link>http://codebasic.net/change-mouse-pointer-using-css/</link>
		<comments>http://codebasic.net/change-mouse-pointer-using-css/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 01:29:09 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[Change Mouse Pointer]]></category>
		<category><![CDATA[CSS Change Cursor]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[Custom Cursor CSS]]></category>
		<category><![CDATA[Mouse Pointer]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=313</guid>
		<description><![CDATA[There are certain scenarios where you want to change the mouse cursor when you hover over a link. By the way, when you do such a thing you put some javascript in the onclick event and with that you want to give the user a feeling that he/she’s clicking on a hyperlink.
Do you know how [...]]]></description>
			<content:encoded><![CDATA[<p>There are certain scenarios where you want to change the mouse cursor when you hover over a link. By the way, when you do such a thing you put some javascript in the onclick event and with that you want to give the user a feeling that he/she’s clicking on a hyperlink.</p>
<p>Do you know how to <strong>change mouse pointer</strong> using CSS? Well, it&#8217;s simple and easy. This is the basic cursor type that we normally used:</p>
<p><strong>i) default</strong> &#8211; Display the normal mouse pointer icon<strong></strong></p>
<p><strong>ii) wait</strong> &#8211; The mouse icon to represent &#8220;processing&#8221;</p>
<p><strong>iii) crosshair</strong> &#8211; A plus symbol</p>
<p><strong>iv) text</strong> &#8211; An &#8220;I&#8221; shaped icon that is displayed when selecting text</p>
<p><strong>v) pointer </strong>- A hand icon that you see when you hover</p>
<p><strong>vi) help</strong> &#8211; A question mark</p>
<p><strong>x) move</strong> &#8211; A cross mark</p>
<p><span id="more-313"></span></p>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#</span>&#8221; <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong>cursor: default</strong>;font-family:Arial;font-size:12&#8243;</span>&gt;cursor: default<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong>cursor: hand</strong>;font-family:Arial;font-size:12&#8243;</span>&gt;cursor: hand<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=&#8221;<span style="color: #0000ff;">#</span>&#8221; <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong>cursor: help</strong>;font-family:Arial;font-size:12&#8243;</span>&gt;cursor: help<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=&#8221;<span style="color: #0000ff;">#&#8221;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong>cursor: crosshair;</strong>font-family:Arial;font-size:12</span>&#8220;&gt;cursor: crosshair<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221; </span><span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<span style="color: #0000ff;"><strong>cursor: text</strong>;</span>font-family:Arial;font-size:12&#8243;</span>&gt;cursor: text<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong><span style="color: #0000ff;">cursor: wait</span></strong>;font-family:Arial;font-size:12&#8243;</span>&gt;cursor: wait<span style="color: #008000;">&lt;/a&gt;</span></div>
<div style="border: 1px dotted #99ccff; background-color: #d5e9fd; text-align: left;"><span style="color: #008000;">&lt;a</span> <span style="color: #ff0000;">href</span>=<span style="color: #0000ff;">&#8220;#&#8221;</span> <span style="color: #ff0000;">style</span>=<span style="color: #0000ff;">&#8220;<strong>cursor: Move</strong>;font-family:Arial;font-size:12&#8243;</span>&gt;cursor: Move<span style="color: #008000;">&lt;/a&gt;</span></div>
<p style="text-align: left;"><strong><span style="text-decoration: underline;">Sample Testing:</span></strong></p>
<p style="text-align: left;"><a style="cursor: default;font-family:Arial;font-size:12" href="#">cursor: default</a></p>
<p style="text-align: left;"><a style="cursor: hand;font-family:Arial;font-size:12" href="#">cursor: hand</a></p>
<p style="text-align: left;"><a style="cursor: help;font-family:Arial;font-size:12" href="#">cursor: help</a></p>
<p style="text-align: left;"><a style="cursor: crosshair;font-family:Arial;font-size:12" href="#">cursor: crosshair</a></p>
<p style="text-align: left;"><a style="cursor: text;font-family:Arial;font-size:12" href="#">cursor: text</a></p>
<p style="text-align: left;"><a style="cursor: wait;font-family:Arial;font-size:12" href="#">cursor: wait</a></p>
<p style="text-align: left;"><a style="cursor: Move;font-family:Arial;font-size:12" href="#">cursor: Move</a></p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/change-mouse-pointer-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Remove Blank Space In Text Field</title>
		<link>http://codebasic.net/javascript-remove-blank-space-in-text-field/</link>
		<comments>http://codebasic.net/javascript-remove-blank-space-in-text-field/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 03:32:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Remove Blank Space In Text Field]]></category>
		<category><![CDATA[Remove Spaces In Text Field]]></category>
		<category><![CDATA[string.join()]]></category>
		<category><![CDATA[string.split()]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=310</guid>
		<description><![CDATA[This tutorial will help you to remove spaces in a text field using Javascript. Any spaces keyed in by the user will be removed when they click on the button or anywhere outside the text field.

This string.split() is to find all the substrings in a string that are separated by one or more characters. Then, [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will help you to <strong>remove spaces in a text field</strong> using Javascript. Any spaces keyed in by the user will be removed when they click on the button or anywhere outside the text field.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/javascript_remove_space.gif" border="0" alt="javascript_remove_space" /></p>
<p>This <strong>string.split()</strong> is to find all the substrings in a string that are separated by one or more characters. Then, i used <strong>string.join() </strong>to join a sequence of strings.</p>
<p><strong><span style="text-decoration: underline;">My Sample of Codes:</span></strong></p>
<p>You can try to copy and paste into a notepad and save it as .html to test and see the result.</p>
<p><span id="more-310"></span></p>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #993300;">&lt;script</span> <span style="color: #0000ff;">language</span>=&#8221;javascript&#8221; <span style="color: #0000ff;">type</span>=&#8221;text/javascript&#8221;&gt;</div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><strong>function </strong>removeSpace(string) {</div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF">
<p><strong>return </strong><span style="color: #0000ff;">string</span>.<span style="color: #0000ff;">split</span>(&#8217; &#8216;).<span style="color: #0000ff;">join</span>(&#8221;);</p>
<p>}<span style="color: #993300;"> </span></p>
<p><span style="color: #993300;">&lt;/script&gt;</span></div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #ff6600;">&lt;form&gt;</span><span style="color: #ff6600;"> </span></div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #ff6600;">&lt;input</span> <span style="color: #0000ff;">type</span>=&#8221;text&#8221; <span style="color: #0000ff;">onblur</span>=&#8221;<span style="color: #0000ff;">this.value</span>=removeSpace(<span style="color: #0000ff;">this.value</span>);&#8221;&gt;</div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF">
<p><span style="color: #ff6600;">&lt;input</span> <span style="color: #0000ff;">type</span>=&#8221;button&#8221; <span style="color: #0000ff;">value</span>=&#8221;Remove Space&#8221;&gt;</p>
<p><span style="color: #ff6600;">&lt;/form&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/javascript-remove-blank-space-in-text-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert String to Lowercase In Javascript</title>
		<link>http://codebasic.net/convert-string-to-lowercase-in-javascript/</link>
		<comments>http://codebasic.net/convert-string-to-lowercase-in-javascript/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 01:26:46 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Convert String]]></category>
		<category><![CDATA[Format   Text To Lowercase]]></category>
		<category><![CDATA[JavaScript toLowerCase]]></category>
		<category><![CDATA[String to Lowercase]]></category>
		<category><![CDATA[toLowerCase]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=305</guid>
		<description><![CDATA[Now you can learn how to convert to lower case letters by using toLowerCase() functions in JavaScript. So, in order to convert a string to lower case, then you need to call the toLowerCase() method on the string.

The toLowerCase() method will return a lower case string into a new text field called &#8220;output&#8221;.
Sample Code of [...]]]></description>
			<content:encoded><![CDATA[<p>Now you can learn how to convert to lower case letters by using <strong>toLowerCase()</strong> functions in JavaScript. So, in order to convert a string to lower case, then you need to call the <strong>toLowerCase()</strong> method on the string.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/tolowercase.gif" border="0" alt="tolowercase" /></p>
<p>The <strong>toLowerCase() </strong>method will return a lower case string into a new text field called &#8220;output&#8221;.</p>
<p><span style="text-decoration: underline;"><strong>Sample Code of Converting String to Lowercase</strong></span></p>
<p>Place this code inside the head section.</p>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #993300;">&lt;script&gt;</span><br />
<strong>function </strong>toLowercase() {<strong> </strong></div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><strong>document</strong>.<span style="color: #008000;">form</span>.<span style="color: #008000;">output</span>.<strong>value </strong>= <strong>document</strong>.<span style="color: #008000;">form</span>.<span style="color: #008000;">input</span>.<strong>value</strong>.<span style="color: #0000ff;">toLowerCase</span><span style="color: #0000ff;">()</span>;</div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF">
<p>}<br />
<span style="color: #993300;">&lt;/script&gt; </span></div>
<p>Place this code inside the body section.</p>
<p><span id="more-305"></span></p>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #ff6600;">&lt;form</span> name=<span style="color: #008000;">&#8220;form&#8221;</span>&gt;<br />
<span style="color: #ff6600;">&lt;input</span> name=<span style="color: #008000;">&#8220;input</span>&#8221; type=<span style="color: #008000;">&#8220;text&#8221;</span> value=<span style="color: #008000;">&#8220;im CodeBasic.net&#8221;</span> size=<span style="color: #008000;">&#8220;20&#8243;</span>&gt;&lt;br&gt;<span style="color: #ff6600;"> </span></div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #ff6600;">&lt;input </span>type=<span style="color: #008000;">&#8220;button&#8221; </span>value=<span style="color: #008000;">&#8220;To Lowercase&#8221; </span>onClick=&#8221;toLowercase();&#8221;&gt;&lt;br&gt;</div>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF">
<p><span style="color: #ff6600;">&lt;input</span> name=<span style="color: #008000;">&#8220;output&#8221;</span> type=<span style="color: #008000;">&#8220;text&#8221;</span> value=&#8221;" size=<span style="color: #008000;">&#8220;20&#8243;</span>&gt;</p>
<p><span style="color: #ff6600;">&lt;/form&gt;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/convert-string-to-lowercase-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Flash Based Text Scroller</title>
		<link>http://codebasic.net/simple-flash-based-text-scroller/</link>
		<comments>http://codebasic.net/simple-flash-based-text-scroller/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 03:43:56 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[dynamic textbox]]></category>
		<category><![CDATA[flash scrolling   text]]></category>
		<category><![CDATA[Flash Text Scroller]]></category>
		<category><![CDATA[Scroll textbox]]></category>
		<category><![CDATA[Scrollbar in Flash]]></category>
		<category><![CDATA[Scrolling text in Flash]]></category>
		<category><![CDATA[Text Scroller]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=301</guid>
		<description><![CDATA[Do you know how to create a flash based text scroller to scroll a few lines of text?
This tutorial will help you to create the text scroller by just following the simple instructions:
Step 1: Create a dynamic textbox.

Step 2: Set the textbox to Multiline, and name the instance as &#8217;scroller&#8217;.


Step 3: Right click on the [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know how to create a flash based text scroller to scroll a few lines of text?</p>
<p>This tutorial will help you to create the text scroller by just following the simple instructions:</p>
<p><strong>Step 1:</strong> Create a dynamic textbox.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/text_scroller01.gif" border="0" alt="text_scroller01" /></p>
<p><strong>Step 2:</strong> Set the textbox to <strong>Multiline</strong>, and name the instance as &#8217;scroller&#8217;.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/text_scroller02.gif" border="0" alt="text_scroller02" /></p>
<p><span id="more-301"></span></p>
<p><strong>Step 3:</strong> Right click on the dynamic text and choose <strong>Scrollable</strong>.</p>
<p><strong>Step 4:</strong> Create 2 arrow key button to scroll up/down.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/text_scroller03-1.gif" border="0" alt="text_scroller03" /></p>
<p><strong>Step 5: </strong>Place this Actionscript into the button.</p>
<p><strong>Scroll Up</strong></p>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #0000ff;">on</span>(<span style="color: #0000ff;">release</span>){</p>
<p>scroller.<span style="color: #0000ff;">scroll</span>=scroller.<span style="color: #0000ff;">scroll</span>-1;</p>
<p>}</p></div>
<p><strong>Scroll Down</strong></p>
<div style="background-color:#D5E9FD; border:1px dotted #99CCFF"><span style="color: #0000ff;">on</span>(<span style="color: #0000ff;">release</span>){</p>
<p>scroller.<span style="color: #0000ff;">scroll</span>=scroller.<span style="color: #0000ff;">scroll</span>+1;</p>
<p>}</p></div>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/simple-flash-based-text-scroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Motion Guide Tween Tutorial</title>
		<link>http://codebasic.net/basic-motion-guide-tween-tutorial/</link>
		<comments>http://codebasic.net/basic-motion-guide-tween-tutorial/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 23:59:54 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Create Motion Guide]]></category>
		<category><![CDATA[Flash Animation Motion Guide]]></category>
		<category><![CDATA[Flash Motion Guide]]></category>
		<category><![CDATA[motion guide]]></category>
		<category><![CDATA[Motion Guide in Flash]]></category>
		<category><![CDATA[motion guide tutorial]]></category>
		<category><![CDATA[Motion Guide Tweening]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=299</guid>
		<description><![CDATA[This Flash tutorial will show you how to use a motion guide to move an object.
 Step 1: Draw an object on layer 1 and convert it into movie clip.
 Step 2: Then, select the Tween in the Properties to Motion.

 Step 3: Then, click on frame 30 and insert keyframe. Here, move the object [...]]]></description>
			<content:encoded><![CDATA[<p>This Flash tutorial will show you how to use a <strong>motion guide</strong> to move an object.</p>
<p><strong> Step 1:</strong> Draw an object on layer 1 and convert it into movie clip.</p>
<p><strong> Step 2: </strong>Then, select the Tween in the Properties to Motion.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/motion_guide1.gif" border="0" alt="motion_guide1" /></p>
<p><strong> Step 3:</strong> Then, click on frame 30 and insert keyframe. Here, move the object to another location. For this tutorial, I&#8217;m going to be using simple circle.</p>
<p><span id="more-299"></span></p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/motion_guide3.gif" border="0" alt="motion_guide3" /></p>
<p><strong> Step 4:</strong> Right click on the layer 1, choose “<strong>Add Motion Guide</strong>”. Next, choose the pen tool to draw the curve.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/motion_guide2.gif" border="0" alt="motion_guide2" /></p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/basic-motion-guide-tween-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Bitmap Images to Vector in Flash</title>
		<link>http://codebasic.net/convert-bitmap-images-to-vector-in-flash/</link>
		<comments>http://codebasic.net/convert-bitmap-images-to-vector-in-flash/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 03:07:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[bitmap image to vector graphics]]></category>
		<category><![CDATA[bitmap images]]></category>
		<category><![CDATA[bitmap to vector]]></category>
		<category><![CDATA[Bitmap to Vector Conversion]]></category>
		<category><![CDATA[convert bitmap to vector]]></category>
		<category><![CDATA[vector graphics]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=296</guid>
		<description><![CDATA[Do you know that you can convert your bitmap image to vector graphics using Flash? This is good tutorial for you since you can learn how to convert bitmap to vector in order to achieve a cool look and minimize your file size.

[bitmap image]

[vector graphic]
Steps On How To Convert A Bitmap To Vector
Just follow these [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know that you can convert your <strong>bitmap image to vector graphics </strong>using Flash? This is good tutorial for you since you can learn how to convert bitmap to vector in order to achieve a cool look and minimize your file size.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/bitmap_image.gif" border="0" alt="bitmap_image" /><br />
[bitmap image]</p>
<p style="text-align: center;"><img class="aligncenter" src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/vector_graphic.gif" border="0" alt="vector_graphic" /><br />
[vector graphic]</p>
<p><span style="text-decoration: underline;"><strong>Steps On How To Convert A Bitmap To Vector</strong></span></p>
<p>Just follow these simple steps and you will learn how to convert bitmap into vector:<span style="text-decoration: underline;"><strong><br />
</strong></span></p>
<p><span style="text-decoration: underline;"><strong><span id="more-296"></span></strong></span>1.Import your bitmap image into your Flash, go to <strong>File -&gt; Import -&gt; Import to Stage</strong></p>
<p>2.Select your bitmap.</p>
<p>3.Then, convert it into vector graphics, go to <strong>Modify -&gt; Bitmap -&gt; Trace Bitmap.</strong></p>
<p>4.You can adjust the settings to optimize your image for size and quality.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/trace_bitmap.gif" border="0" alt="trace_bitmap" /></p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/convert-bitmap-images-to-vector-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Xmas Snowing Effect Using Flash</title>
		<link>http://codebasic.net/creating-xmas-snowing-effect-using-flash/</link>
		<comments>http://codebasic.net/creating-xmas-snowing-effect-using-flash/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 01:29:34 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Christmas Snowing]]></category>
		<category><![CDATA[Flash Snowing Effect]]></category>
		<category><![CDATA[Xmas Snowing]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=291</guid>
		<description><![CDATA[This tutorial will help you how to write the Actionscript to create snow animation effects. It also specifies the properties to be set, the frames to be selected etc. Just follow the necessary steps and I will explain each step in detail.

Steps 1: Create a snow particle. Click the Oval tool from your toolbox and [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will help you how to write the Actionscript to create snow animation effects. It also specifies the properties to be set, the frames to be selected etc. Just follow the necessary steps and I will explain each step in detail.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/showing_flash_01.gif" border="0" alt="showing_flash_01" /></p>
<p><strong>Steps 1: </strong>Create a snow particle. Click the<strong> Oval tool </strong>from your toolbox and set the color to white from your color palette.</p>
<p><strong>Steps 2: </strong>Then convert it to movie clip by right clicking on the circle.</p>
<p><strong>Steps 3:</strong> Select your movie clip and go to the Properties panel and type the word <strong>“snow”</strong> in &lt;Instance Name&gt;.</p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/snowing_flash_02.gif" border="0" alt="snowing_flash_02" /></p>
<p><strong>Steps 4:</strong> After that, right click on your movie clip and select Actions. Copy and paste your code into Actions dialog box.</p>
<p><span id="more-291"></span></p>
<div style="border: 1px dotted #00ff7f; background-color: #d4fed4; width: 380px;"><span style="color: #0000ff;">onClipEvent (load)</span> {</p>
<p style="padding-left: 30px;"><span style="color: #808080;">//this is to specify the size of the movie stage, if you set the value of width and height to higher then the distance between each snow particle will be greater.</span></p>
<p style="padding-left: 30px;">movWidth = 380;</p>
<p style="padding-left: 30px;">movHeight = 400;</p>
<p style="padding-left: 30px;"><span style="color: #808080;">// use the Math.random() function to create a random speed of snow particle. The variable i takes a random value between 1 and 2 for the speed of the falling snow.</span></p>
<p style="padding-left: 30px;">i = 1+<span style="color: #0000ff;">Math.random()</span>*2;</p>
<p style="padding-left: 30px;">m = -<span style="color: #0000ff;">Math.PI</span>+<span style="color: #0000ff;">Math.random()</span>*<span style="color: #0000ff;">Math.PI;</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._xscale </span>= <span style="color: #0000ff;">this._yscale</span> = 50+<span style="color: #0000ff;">Math.random()</span>*100; <span style="color: #808080;">//to make sure that x and y dimensions scale evenly</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._alpha </span>= 75+<span style="color: #0000ff;">Math.random()</span>*100; <span style="color: #808080;">//to set the alpha (transparency) value between 75 and 100.</span></p>
<p style="padding-left: 30px;"><span style="color: #808080;">// randomly position the snow particles on your movie</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._x</span> = -10+<span style="color: #0000ff;">Math.random()</span>*movWidth;</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._y</span> = -10+<span style="color: #0000ff;">Math.random()</span>*movHeight;</p>
<p>}</p>
<p><span style="color: #0000ff;">onClipEvent (enterFrame)</span> {</p>
<p style="padding-left: 30px;"><span style="color: #808080;">// convert the value from m into radians so that movie moves horizontally</span></p>
<p style="padding-left: 30px;">radian += (m/180)*<span style="color: #0000ff;">Math.PI</span>;</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._x</span> -= <span style="color: #0000ff;">Math.cos</span>(radian);</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._y</span> += i;</p>
<p style="padding-left: 30px;"><span style="color: #808080;">//set the conditions so that the snow particle will disappear from the screen and appear and repeat the process over again</span></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">if </span>(<span style="color: #0000ff;">this._y</span>&gt;=movHeight) {</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._y</span> = -5;</p>
<p>}</p>
<p><span style="color: #0000ff;">if </span>(<span style="color: #0000ff;">(this._x</span>&gt;=movieWidth) || (<span style="color: #0000ff;">this._x</span>&lt;=0)) {</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._x</span> = -10+<span style="color: #0000ff;">Math.random()</span>*movWidth;</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">this._y</span> = -5;</p>
<p>}</p>
<p>}</p></div>
<p><strong>Steps 5:</strong> Right click on the first frame in your movie and select Actions. Copy and paste the following code into the Actions dialog box.</p>
<div style="border: 1px dotted #00ff7f; background-color: #d4fed4; width: 380px;"><span style="color: #0000ff;">for </span>(m=0; m&lt;50; m++) {</p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">duplicateMovieClip</span>(<span style="color: #0000ff;">this.snow</span>, &#8220;snow&#8221;+m, m);</p>
<p>}</p></div>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/creating-xmas-snowing-effect-using-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Create A Simple Flash Countdown Timer</title>
		<link>http://codebasic.net/how-to-create-a-simple-flash-countdown-timer/</link>
		<comments>http://codebasic.net/how-to-create-a-simple-flash-countdown-timer/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 08:35:30 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[countdown animation]]></category>
		<category><![CDATA[Countdown Timer]]></category>
		<category><![CDATA[flash countdown timer]]></category>
		<category><![CDATA[Simple Countdown Timer]]></category>

		<guid isPermaLink="false">http://codebasic.net/?p=289</guid>
		<description><![CDATA[Today, I will be teaching you how to make a flash countdown timer. This is very useful because in our daily life, there are counts up or down timers.

In this tutorial, you will see how to create a countdown animation using the shape tween effect.
Step 1
Select the Text Tool, click on the stage, and in [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I will be teaching you how to make a <strong>flash countdown timer</strong>. This is very useful because in our daily life, there are counts up or down timers.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="150" height="150" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="my_flash/Countdown.swf" /><embed type="application/x-shockwave-flash" width="150" height="150" src="my_flash/Countdown.swf"></embed></object></p>
<p>In this tutorial, you will see how to create a <strong>countdown animation</strong> using the shape tween effect.</p>
<p><strong>Step 1</strong></p>
<p>Select the <strong>Text Tool</strong>, click on the stage, and in <strong>Properties Panel</strong> below the scene to choose the options like it is shown on the picture below.</p>
<p><strong>Step 2</strong></p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/countdown_timer.gif" border="0" alt="countdown_timer" /></p>
<p>While the number is still selected, then right click and select break apart to make the number become shape.</p>
<p><span id="more-289"></span></p>
<p><strong>Step 3</strong></p>
<p><img src="http://i268.photobucket.com/albums/jj20/imdavidlee1983/countdown_timer2.gif" border="0" alt="countdown_timer2" /></p>
<p>Click on first frame, and in the<strong> Properties Panel</strong>, select the<strong> Tween Shape.</strong></p>
<p><strong>Step 4</strong></p>
<p>After done for the first numbers, try to repeat steps for number 9,8,7….0 in an equivalent way like you have done the previous number.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebasic.net/how-to-create-a-simple-flash-countdown-timer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
