<?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>Armindo Cachada&#039;s Blog: Struts 2, Adobe Flex and ATG &#187; actionscript</title>
	<atom:link href="http://www.spltech.co.uk/blog/category/adobe-flex/actionscript-adobe-flex/feed" rel="self" type="application/rss+xml" />
	<link>http://www.spltech.co.uk/blog</link>
	<description>In this blog I talk about Struts 2, Adobe Flex, JBOSS, ATG and other technologies.</description>
	<lastBuildDate>Sun, 14 Feb 2010 15:33:41 +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>Generating a random number in actionscript 3</title>
		<link>http://www.spltech.co.uk/blog/adobe-flex/actionscript-adobe-flex/generating-a-random-number-in-actionscript-3</link>
		<comments>http://www.spltech.co.uk/blog/adobe-flex/actionscript-adobe-flex/generating-a-random-number-in-actionscript-3#comments</comments>
		<pubDate>Sat, 05 Sep 2009 12:13:38 +0000</pubDate>
		<dc:creator>Armindo Cachada</dc:creator>
				<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.spltech.co.uk/blog/?p=63</guid>
		<description><![CDATA[Generating a random number in actionscript 3 is very similar to java.
To generate a random number betwen 0 and 100:

var number:Number = Math.round(Math.random() * 100);

Where Math.random() generates a random number between 0 and 1 and Math.round(), rounds the result to the nearest integer.
If you want to generate a number within a given range [start, end]:

var [...]]]></description>
		<wfw:commentRss>http://www.spltech.co.uk/blog/adobe-flex/actionscript-adobe-flex/generating-a-random-number-in-actionscript-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
