<?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>Flex-Flash-Air-ActionScript-JS &#187; Array</title>
	<atom:link href="http://blog.totusinfo.com/tag/array/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.totusinfo.com</link>
	<description>totusinfo team</description>
	<lastBuildDate>Wed, 24 Feb 2010 09:38:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>cs4 sort an array using action script</title>
		<link>http://blog.totusinfo.com/cs4-sort-an-array-using-action-script/</link>
		<comments>http://blog.totusinfo.com/cs4-sort-an-array-using-action-script/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 15:51:30 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[push]]></category>
		<category><![CDATA[sortOn]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=930</guid>
		<description><![CDATA[

var array:Array = new Array(  );
array.push({id: 2, alphabet: &#34;d&#34;});
array.push({id: 4, alphabet: &#34;a&#34;});
array.push({id: 3, alphabet: &#34;c&#34;});
array.push({id: 1, alphabet: &#34;b&#34;});

array.sortOn(&#34;id&#34;);

for (var i:int = 0; i &#60; array.length; i++) {
  trace(array[i].alphabet + &#34;\t&#34; + array[i].id);
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/cs4-sort-an-array-using-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CS4 array map with action script</title>
		<link>http://blog.totusinfo.com/cs4-array-map-with-action-script/</link>
		<comments>http://blog.totusinfo.com/cs4-array-map-with-action-script/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 17:37:23 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[ArrayUtils]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=839</guid>
		<description><![CDATA[This code show how to use map with Array.

var originalArray:Array = new Array(1,2,3,4,5);

function getDouble(elem:*, i:int, a:Array):Number {
	return elem * 2;
}

var multipliedArray:Array = originalArray.map(getDouble);
trace('output: ', originalArray);
// output: 1,2,3,4,5
trace('output: ', multipliedArray);
// output: 1,4,6,8,10

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/cs4-array-map-with-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CS4 array some with action script</title>
		<link>http://blog.totusinfo.com/cs4-array-some-with-action-script/</link>
		<comments>http://blog.totusinfo.com/cs4-array-some-with-action-script/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 17:09:11 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[some]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=833</guid>
		<description><![CDATA[This code show how to use Array, some also works with cs3


var languages:Array = [&#34;English&#34;, &#34;Telugu&#34;, &#34;Hindi&#34;];

trace(languages.some(elemlength));

function elemlength(elem:*, i:int, a:Array):Boolean {
	trace(elem.length);
	return (elem.length) &#60; 6;
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/cs4-array-some-with-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CS4 forEach with action script</title>
		<link>http://blog.totusinfo.com/cs4-foreach-with-action-script/</link>
		<comments>http://blog.totusinfo.com/cs4-foreach-with-action-script/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 16:56:52 +0000</pubDate>
		<dc:creator>druva</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[utils]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[forEach]]></category>

		<guid isPermaLink="false">http://blog.totusinfo.com/?p=831</guid>
		<description><![CDATA[This code show how to use Array, forEach also works with cs3


var languages:Array = [&#34;English&#34;, &#34;Telugu&#34;, &#34;Hindi&#34;];
languages.forEach(printArray);

function printArray(element:*, i:int, a:Array):void {
	trace(&#34;languages[&#34;+ i + &#34;] = &#34;+ element);
}

]]></description>
		<wfw:commentRss>http://blog.totusinfo.com/cs4-foreach-with-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
