<?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>Ahad Bokhari &#187; &#187; Fl Experiments</title>
	<atom:link href="http://blogspot.fluidnewmedia.com/category/web-design/fl-experiments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogspot.fluidnewmedia.com</link>
	<description>— fragments of personal interest...</description>
	<lastBuildDate>Fri, 13 Jan 2012 10:41:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The power of the Away3D Engine</title>
		<link>http://blogspot.fluidnewmedia.com/2008/05/the-power-of-the-away3d-engine/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/05/the-power-of-the-away3d-engine/#comments</comments>
		<pubDate>Thu, 08 May 2008 17:06:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D Flash]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Fl Experiments]]></category>
		<category><![CDATA[Inspire Me]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=264</guid>
		<description><![CDATA[This small example was inspired by FlashMagazine&#8217;s tutorial on the Away3D engine.  3D is becoming the biggest rave in the flash world and has a bright future&#8230;Note that there are limitations on the flash player performance.  Click on the image for the popup.  Please be patient while it loads!  (Too lazy [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This small example was inspired by <a href="http://www.flashmagazine.com/tutorials/detail/create_the_earth_and_heavens_in_less_than_an_hour_with_away3d/">FlashMagazine&#8217;s</a> tutorial on the Away3D engine.  3D is becoming the biggest rave in the flash world and has a bright future&#8230;Note that there are limitations on the flash player performance.  Click on the image for the popup.  Please be patient while it loads!  (Too lazy to add a loader right now)</p>
<p><a href="http://www.blogspot.fluidnewmedia.com/wp-content/uploads/2008/05/away_screen.jpg" onclick="window.open(\'http://www.blogspot.fluidnewmedia.com/experiments/Away3D/Earth 3D/earth3D.html\',\'Away 3D Example\',\'resizable=yes,width=550,height=400\');return false;" title="away_screen.jpg" rel="thumbnail"><img src="http://blogspot.fluidnewmedia.com/wp-content/uploads/2008/05/away_screen.jpg" alt="away_screen.jpg" /></a></p>
<p>Links to resources in this example:<br />
<a href="http://away3d.com/downloads">Away3D</a><br />
<a href="http://planetpixelemporium.com/index.php">JHT&#8217;S Planetary Pixel Emporium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/05/the-power-of-the-away3d-engine/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Pakistan Transcended into Digital Code</title>
		<link>http://blogspot.fluidnewmedia.com/2008/04/pakistan-transcended-into-digital-code/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/04/pakistan-transcended-into-digital-code/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 12:47:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Fl Experiments]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=244</guid>
		<description><![CDATA[TAKE 1:  Particles (Actionscript) 
I have seen many particle experiments out there nowadays.  Some of the code that captures the essence of particle emulation and recursion is quite simple to concoct and implement.  I love particle coding and was looking to get my hands dirty in the Flash IDE.  Recently i [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>TAKE 1:  Particles (Actionscript) </strong></p>
<p>I have seen many particle experiments out there nowadays.  Some of the code that captures the essence of particle emulation and recursion is quite simple to concoct and implement.  I love particle coding and was looking to get my hands dirty in the Flash IDE.  Recently i found a  simple class authored by <a href="http://www.sebleedelisle.com/">SebDeelisle</a>.   All of us coders out there know the meaning of simplicity especially in code.  Yeah keep it simple you all then build from there.  Here is an example of some stars crescent shaoes  floating around looking for their maker &#8211; Ha!<br />
<span id="more-246"></span> </p>
<p>[kml_flashembed movie="/experiments/Step 7.swf" height="300" width="550" /]</p>
<p><strong>TAKE 2: Pointillism (Processing)</strong></p>
<p><a title="crickfan.jpg" href="http://blogspot.fluidnewmedia.com/wp-content/uploads/2008/04/crickfan.jpg" rel="thumbnail"><img src="http://blogspot.fluidnewmedia.com/wp-content/uploads/2008/04/crickfan.jpg" alt="crickfan.jpg" /></a></p>
<p>A basic image of some cricket fans with the ever so familiar crescent masks!</p>
<p><a title="crick_process.jpg" href="http://blogspot.fluidnewmedia.com/wp-content/uploads/2008/04/crick_process.jpg" rel="thumbnail"><img src="http://blogspot.fluidnewmedia.com/wp-content/uploads/2008/04/crick_process.jpg" alt="crick_process.jpg" width="457" height="352" /></a></p>
<p>The same cricket fans redone in processing with the code for pointillism attached.  Not the best rendering but at this moment I&#8217;ll gladly take it.<br />
/*<br />
* Pointillism<br />
* by Ahad Bokhari<br />
*<br />
* Mouse horizontal location controls size of dots.<br />
* Creates a simple pointillist effect using ellipses colored<br />
* according to pixels in an image.<br />
*<br />
* Created 5th April, 2008<br />
*/</p>
<p>PImage a;</p>
<p>void setup()<br />
{<br />
a = loadImage(&#8221;crick.jpg&#8221;);<br />
size(415,318);<br />
noStroke();<br />
background(255);<br />
smooth();<br />
}</p>
<p>void draw()<br />
{<br />
float pointillize = map(mouseX, 0, width, 2, 18);<br />
int x = int(random(a.width));<br />
int y = int(random(a.height));<br />
color pix = a.get(x, y);<br />
fill(pix, 126);<br />
ellipse(x, y, pointillize, pointillize);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/04/pakistan-transcended-into-digital-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gravitational Physics Experiment</title>
		<link>http://blogspot.fluidnewmedia.com/2008/03/gravitational-physics-experiment/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/03/gravitational-physics-experiment/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 10:09:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fl Experiments]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=199</guid>
		<description><![CDATA[I am intrigued by physics and how to apply it and make flash go baby go.  Over the next months i will be doing alot of experimentation with physics.  Here is a simple experiment with physics and gravity.  You should know about the attachMovie method and duplicateMovie functions in AS before playing [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I am intrigued by physics and how to apply it and make flash go baby go.  Over the next months i will be doing alot of experimentation with physics.  Here is a simple experiment with physics and gravity.  You should know about the attachMovie method and duplicateMovie functions in AS before playing around with this one.</p>
<p>By the way here are some great physics engines that you most definitely want to check out. (This file doesnt use those Engines).</p>
<ol>
<li><a href="http://www.cove.org/ape/index.htm">Cove Physics Engine</a></li>
<li><a href="http://www.fisixengine.com">Fizix Engine<br />
</a></li>
</ol>
<p>Be sure to check them out&#8230;.</p>
<p>[kml_flashembed movie="/experiments/physics_gravity.swf" height="325" width="500" /]</p>
<p><a href="http://fluidnewmedia.com/blogspot/experiments/physics_gravity.fla"><br />
Download Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/03/gravitational-physics-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Blend of Color</title>
		<link>http://blogspot.fluidnewmedia.com/2008/03/a-blend-of-color/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/03/a-blend-of-color/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 09:04:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fl Experiments]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=198</guid>
		<description><![CDATA[Another simple experiment using a for loop and attach movie&#8230;This time with more code in the ball_mc:Movieclip which is attached to the simple for loop.  Makes for a great effect and if you play around with it i am sure you can get something even more interesting.
[kml_flashembed movie="/experiments/color_for.swf" height="250" width="500" /]
As always you may download [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Another simple experiment using a for loop and attach movie&#8230;This time with more code in the ball_mc:Movieclip which is attached to the simple for loop.  Makes for a great effect and if you play around with it i am sure you can get something even more interesting.</p>
<p>[kml_flashembed movie="/experiments/color_for.swf" height="250" width="500" /]<br />
As always you may download the source files:<br />
<a href="http://fluidnewmedia.com/blogspot/experiments/for_color.fla">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/03/a-blend-of-color/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fractals:  Tree Experiment</title>
		<link>http://blogspot.fluidnewmedia.com/2008/02/fractals-tree-experiment/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/02/fractals-tree-experiment/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 07:15:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fl Experiments]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=168</guid>
		<description><![CDATA[[kml_flashembed movie="/experiments/Tree.swf" height="400" width="400" /]
Go ahead and click anywhere on the stage.
Download Source
]]></description>
			<content:encoded><![CDATA[<p></p><p>[kml_flashembed movie="/experiments/Tree.swf" height="400" width="400" /]</p>
<p>Go ahead and click anywhere on the stage.</p>
<p><a href="http://fluidnewmedia.com/blogspot/experiments/Particles1.fla">Download Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/02/fractals-tree-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A simple experiment using For loops and attachMovie</title>
		<link>http://blogspot.fluidnewmedia.com/2008/02/a-simple-experiment-using-for-loops-and-attachmovie/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/02/a-simple-experiment-using-for-loops-and-attachmovie/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 12:26:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fl Experiments]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=158</guid>
		<description><![CDATA[Just experimenting with Flash and its capabilities&#8230;I am always amazed how one can easily create particles and attach them at runtime using a simple for loop&#8230;Check it out.
[kml_flashembed movie="/experiments/Particles.swf" height="250" width="400" /]
Feel free to download the source files to see how simple it really is!
Download Source Files
Pretty Cool&#8230;yup..It gets better though.  Add a variable [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Just experimenting with Flash and its capabilities&#8230;I am always amazed how one can easily create particles and attach them at runtime using a simple for loop&#8230;Check it out.</p>
<p>[kml_flashembed movie="/experiments/Particles.swf" height="250" width="400" /]</p>
<p>Feel free to download the source files to see how simple it really is!<br />
<a href="http://fluidnewmedia.com/blogspot/experiments/Particles.fla">Download Source Files</a></p>
<p>Pretty Cool&#8230;yup..It gets better though.  Add a variable speed to the script and adjust it in the onEnterFrame function and you get something even cooler:</p>
<p>[kml_flashembed movie="/experiments/Particles1.swf" height="250" width="400" /]<br />
And the Source Files:<br />
<a href="http://fluidnewmedia.com/blogspot/experiments/Particles1.fla">Download Source Files<br />
</a></p>
<p><a href="http://fluidnewmedia.com/blogspot/experiments/Particles1.fla"></a></p>
<p>With a frame counter and Bitmap Cache turned on:</p>
<p>[kml_flashembed movie="/experiments/Particles_frame.swf" height="250" width="400" /]</p>
<p><a href="http://fluidnewmedia.com/blogspot/experiments/Particles1.fla"><img src="http://blogspot.fluidnewmedia.com/wp-includes/js/tinymce/plugins/emotions/images/smiley-cool.gif" alt="Cool" title="Cool" border="0" /><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/02/a-simple-experiment-using-for-loops-and-attachmovie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Randomize Text Effect</title>
		<link>http://blogspot.fluidnewmedia.com/2008/01/randomize-text-effect/</link>
		<comments>http://blogspot.fluidnewmedia.com/2008/01/randomize-text-effect/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 15:17:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fl Experiments]]></category>

		<guid isPermaLink="false">http://blogspot.fluidnewmedia.com/?p=132</guid>
		<description><![CDATA[Been working on some Randomize text effects in Actionscript&#8230;I havent quite figured out how to do so yet, but it wont stop me from trying new things with flash&#8230;I have seen these effects all over the net..Check the about www.simonrasmussen.com,  www.nebojsanikolic.co, and of course www.yugop.com.
The below effects are quite simple mask effects with an [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Been working on some Randomize text effects in Actionscript&#8230;<strike>I havent quite figured out how to do so yet, but it wont stop me from trying new things with flash&#8230;</strike>I have seen these effects all over the net..Check the about <a href="http://www.simonrasmussen.com">www.simonrasmussen.com</a>,  <a href="http://www.nebojsanikolic.com">www.nebojsanikolic.co</a>, and of course <a href="http://www.yugop.com/">www.yugop.com</a>.</p>
<p>The below effects are quite simple mask effects with an invisible button for the event handler&#8230;.</p>
<p>[kml_flashembed movie="/experiments/random_blog.swf" height="100" width="200" /]</p>
<p>The closest i have gotten to ActionScript verison is this code snippet here.</p>
<p><font color="#ff0000">////////</font></p>
<p>var $speed     = 50;<br />
var $string = &#8220;This is the text to unjumble&#8221;;</p>
<p>Array.prototype.randomize = function() {<br />
var i = this.length;<br />
if (i == 0) return;<br />
while (&#8211;i) {<br />
var j = Math.floor(Math.random()*(i+1));<br />
var tmp1 = this[i];<br />
var tmp2 = this[j];<br />
this[i] = tmp2;<br />
this[j] = tmp1;<br />
}<br />
return this;<br />
}</p>
<p>var $count = 1;<br />
var $max = $string.length;<br />
_root.animateInterval = setInterval(function() : Void {<br />
var $startnormaltext     = $string.substr(0, $count);<br />
var $endjumbledtext     = $string.substr($count, $max).split(&#8221;").randomize().join(&#8221;");<br />
trace($startnormaltext + $endjumbledtext);<br />
$count++;<br />
if ($count == $max) { clearInterval(_root.animateInterval) };<br />
}, $speed);</p>
<p><font color="#ff0000">////</font><font color="#ff0000">//////// </font></p>
]]></content:encoded>
			<wfw:commentRss>http://blogspot.fluidnewmedia.com/2008/01/randomize-text-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

