<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Wtrflash&#039;s Blog</title>
	<atom:link href="http://wtrflash.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wtrflash.wordpress.com</link>
	<description>Wouter Saelens Webanimation Blog</description>
	<lastBuildDate>Wed, 26 May 2010 11:56:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='wtrflash.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/181581fab7c3b9cd8fd5363e80c3e152?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Wtrflash&#039;s Blog</title>
		<link>http://wtrflash.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://wtrflash.wordpress.com/osd.xml" title="Wtrflash&#039;s Blog" />
	<atom:link rel='hub' href='http://wtrflash.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Comic Generator ~ Project</title>
		<link>http://wtrflash.wordpress.com/2010/05/15/comic-generator-project/</link>
		<comments>http://wtrflash.wordpress.com/2010/05/15/comic-generator-project/#comments</comments>
		<pubDate>Fri, 14 May 2010 22:18:48 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=44</guid>
		<description><![CDATA[My first problem with the Comic Generator was browsing a file. I knew that I could use FileReference but because you don&#8217;t have the whole path you can&#8217;t &#8220;access&#8221; it &#8230; But that wasn&#8217;t true. Here the code for File Browsing in AS3: private function browseImages(evt:MouseEvent) { fileRef = new FileReference(); fileRef.browse([fileFilter]); fileRef.addEventListener(Event.SELECT, onImageSelect); } [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=44&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My first problem with the Comic Generator was browsing a file.<br />
I knew that I could use FileReference but because you don&#8217;t have the whole path you can&#8217;t &#8220;access&#8221; it &#8230;<br />
But that wasn&#8217;t true.<br />
Here the code for File Browsing in AS3:</p>
<blockquote><p>private function browseImages(evt:MouseEvent) {<br />
fileRef = new FileReference();<br />
fileRef.browse([fileFilter]);<br />
fileRef.addEventListener(Event.SELECT, onImageSelect);<br />
}</p>
<p>private function onImageSelect(evt:Event):void {<br />
trace(fileRef.name);<br />
fileRef.upload(new URLRequest(&#8220;http://localhost/ComicGen/upload.php&#8221;));<br />
fileRef.addEventListener(Event.COMPLETE, onCompleted);<br />
}<br />
private function onCompleted(evt:Event){<br />
MovieClip(this.parent).addMyChild(new DrawObject(&#8220;uploads/&#8221;+fileRef.name));<br />
}</p>
</blockquote>
<p>The next difficulty was writing the XML file. After long hours spend on surfing on the net. I finally found something that could help me:</p>
<p>*WRITE XML:</p>
<blockquote>
<div id="_mcePaste">public function saveBtnPress(event:MouseEvent)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">controlSideBar();</div>
<div id="_mcePaste">removeAllLeftColumn();</div>
<div id="_mcePaste">var l=0;</div>
<div id="_mcePaste">var ix:XML = new XML(&lt;comic&gt;&lt;/comic&gt;);</div>
<div id="_mcePaste">var i :int =0;</div>
</blockquote>
<div id="_mcePaste">The variables which I use along the whole method.</div>
<blockquote>
<div>for (i;i&lt;paginas.length;i++)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">if(!(paginas[i]==undefined)){</div>
<div id="_mcePaste">var iy:XML=new XML(&lt;pagina&gt;&lt;/pagina&gt;);</div>
<div id="_mcePaste">iy.PageNumber = i;</div>
<div id="_mcePaste">var workspace=paginas[i];</div>
<div id="_mcePaste">for(var j=0;j&lt;workspace.numChildren;j++)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">var iz:XML=new XML(&lt;strip&gt;&lt;/strip&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;scaley&gt;{workspace.getChildAt(j).scaleY}&lt;/scaley&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;scalex&gt;{workspace.getChildAt(j).scaleX}&lt;/scalex&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;breedte&gt;{workspace.getChildAt(j).width}&lt;/breedte&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;hoogte&gt;{workspace.getChildAt(j).height}&lt;/hoogte&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;rotatie&gt;{workspace.getChildAt(j).rotation}&lt;/rotatie&gt;);</div>
<div id="_mcePaste">if(workspace.getChildAt(j).name==&#8221;Text0&#8243; || workspace.getChildAt(j).name==&#8221;undefined&#8221; ){</div>
<div id="_mcePaste">iz.appendChild(&lt;naam&gt;{workspace.getChildAt(j).name}&lt;/naam&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;textt&gt;{workspace.getChildAt(j).getChildByName(&#8220;tekst&#8221;).text}&lt;/textt&gt;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">else{</div>
<div id="_mcePaste">iz.appendChild(&lt;naam&gt;{workspace.getChildAt(j).name}&lt;/naam&gt;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">iz.appendChild(&lt;ix&gt;{workspace.getChildAt(j).x}&lt;/ix&gt;);</div>
<div id="_mcePaste">iz.appendChild(&lt;iy&gt;{workspace.getChildAt(j).y}&lt;/iy&gt;);</div>
<div id="_mcePaste">/**if (workspace.getChildAt(j).toString() == &#8220;[object DrawObject]&#8220;) {</div>
<div id="_mcePaste">z.appendChild(DrawObject(workspace.getChildAt(j)).CorrectPad);</div>
<div id="_mcePaste">if(DrawObject(workspace.getChildAt(j)).CorrectPad.substr(0,5)==&#8221;Textb&#8221;){</div>
<div id="_mcePaste">z.appendChild(TextField(DrawObject(workspace.getChildAt(j)).getChildAt(1)).text)</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}**/</div>
</blockquote>
<div>Foreach page and each object &#8230; save the X, Y, rotation, &#8230; etc. in the XML file.</div>
<blockquote>
<div id="_mcePaste">iy.appendChild(iz);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">ix.appendChild(iy);</div>
<div id="_mcePaste">l++;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">trace(&#8220;DIT IS X: &#8220;+ix.toString());</div>
<div id="_mcePaste">var myURLRequest:URLRequest = new URLRequest(&#8220;http://localhost/ComicGen/home.php?comic=&#8221;+comicnumber+&#8221;&amp;xmlpage=&#8221;+ix.toString());</div>
<div id="_mcePaste">navigateToURL(myURLRequest);</div>
<div id="_mcePaste">}</div>
</blockquote>
<p>Navigate to the URL with the comic XML in the GET &#8230; (I couldn&#8217;t find anything to give it with POST that worked)</p>
<blockquote><p>public function saveBtnPress(event:MouseEvent)		{			controlSideBar();			removeAllLeftColumn();			var l=0;			var ix:XML = new XML(&lt;comic&gt;&lt;/comic&gt;);			var i :int =0;			for (i;i&lt;paginas.length;i++)			{					if(!(paginas[i]==undefined)){					var iy:XML=new XML(&lt;pagina&gt;&lt;/pagina&gt;);					iy.PageNumber = i;					var workspace=paginas[i];					for(var j=0;j&lt;workspace.numChildren;j++)					{							var iz:XML=new XML(&lt;strip&gt;&lt;/strip&gt;);							iz.appendChild(&lt;scaley&gt;{workspace.getChildAt(j).scaleY}&lt;/scaley&gt;);							iz.appendChild(&lt;scalex&gt;{workspace.getChildAt(j).scaleX}&lt;/scalex&gt;);							iz.appendChild(&lt;breedte&gt;{workspace.getChildAt(j).width}&lt;/breedte&gt;);							iz.appendChild(&lt;hoogte&gt;{workspace.getChildAt(j).height}&lt;/hoogte&gt;);							iz.appendChild(&lt;rotatie&gt;{workspace.getChildAt(j).rotation}&lt;/rotatie&gt;);							if(workspace.getChildAt(j).name==&#8221;Text0&#8243; || workspace.getChildAt(j).name==&#8221;undefined&#8221; ){								iz.appendChild(&lt;naam&gt;{workspace.getChildAt(j).name}&lt;/naam&gt;);								iz.appendChild(&lt;textt&gt;{workspace.getChildAt(j).getChildByName(&#8220;tekst&#8221;).text}&lt;/textt&gt;);							}							else{								iz.appendChild(&lt;naam&gt;{workspace.getChildAt(j).name}&lt;/naam&gt;);							}							iz.appendChild(&lt;ix&gt;{workspace.getChildAt(j).x}&lt;/ix&gt;);							iz.appendChild(&lt;iy&gt;{workspace.getChildAt(j).y}&lt;/iy&gt;);							/**if (workspace.getChildAt(j).toString() == &#8220;[object DrawObject]&#8220;) {								z.appendChild(DrawObject(workspace.getChildAt(j)).CorrectPad);								if(DrawObject(workspace.getChildAt(j)).CorrectPad.substr(0,5)==&#8221;Textb&#8221;){									z.appendChild(TextField(DrawObject(workspace.getChildAt(j)).getChildAt(1)).text)								}							}**/							iy.appendChild(iz);											}					ix.appendChild(iy);					l++;				}			}			trace(&#8220;DIT IS X: &#8220;+ix.toString());			var myURLRequest:URLRequest = new URLRequest(&#8220;http://localhost/ComicGen/home.php?comic=&#8221;+comicnumber+&#8221;&amp;xmlpage=&#8221;+ix.toString());			navigateToURL(myURLRequest);		}</p>
</blockquote>
<p>My last big problem was to give a variable from PHP to flash. On internet there was a simple solution. Just add &#8220;Flashvars=&#8221;comic=something&#8221;" between the SWF tags and put some code in AS3:</p>
<p>PHP:</p>
<blockquote><p>&lt;object width=&#8221;700&#8243; height=&#8221;550&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;somefilename.swf&#8221;&gt;<br />
&lt;embed src=&#8221;CG2.swf&#8221; flashvars=&#8221;comic=&lt;?php echo $nummerstr ?&gt;&#8221; width=&#8221;700&#8243; height=&#8221;550&#8243;&gt;<br />
&lt;/embed&gt;<br />
&lt;/object&gt;</p>
</blockquote>
<p>AS3:</p>
<blockquote><p>stage.loaderInfo.parameters.comic</p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=44&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/05/15/comic-generator-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash and Videos</title>
		<link>http://wtrflash.wordpress.com/2010/05/06/flash-and-videos/</link>
		<comments>http://wtrflash.wordpress.com/2010/05/06/flash-and-videos/#comments</comments>
		<pubDate>Thu, 06 May 2010 14:25:21 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=42</guid>
		<description><![CDATA[This tutorial will teach you how to play video in Flash using the AS3 FLVPlayback component. *edit: another tutorial for making videos in Flash without the FLVPlayback component. It&#8217;s a super tutorial and everything is explained from start to finish. New to me where the NetConnection and NetStream classes. ... ncConnection = new NetConnection(); ncConnection.addEventListener(NetStatusEvent.NET_STATUS, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=42&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.republicofcode.com/tutorials/flash/as3flvplayback/">This tutorial</a> will teach you how to play <strong>video in Flash using  the AS3 FLVPlayback component</strong>.</p>
<p>*edit: <a href="http://www.thetechlabs.com/tutorials/audionvideo/how-to-build-a-as3-videoplayer/">another tutorial</a> for making videos in Flash <strong>without the FLVPlayback component.</strong></p>
<p>It&#8217;s a super tutorial and everything is explained from start to finish.<br />
New to me where the <a href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/NetConnection.html">NetConnection</a> and <a href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html">NetStream</a> classes.</p>
<blockquote>
<pre>...
ncConnection = new NetConnection();
ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
ncConnection.connect(null);
nsStream = new NetStream(ncConnection);
nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nsStream.client = this;
nsStream.bufferTime = BUFFER_TIME;
...</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=42&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/05/06/flash-and-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Sound in Flash</title>
		<link>http://wtrflash.wordpress.com/2010/05/01/sound-in-flash/</link>
		<comments>http://wtrflash.wordpress.com/2010/05/01/sound-in-flash/#comments</comments>
		<pubDate>Sat, 01 May 2010 20:54:59 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=40</guid>
		<description><![CDATA[Playing sounds using ActionScript 3.0 is not as simple as we hoped it to be as it requires using more than one class to perform even the simplest of tasks relating to sound such as pausing or changing the sound volume. This tutorial will teach you all the basics you need to learn how to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=40&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Playing sounds using ActionScript 3.0 is not as simple as we hoped it to  be as it requires using more than one class to perform even the  simplest of tasks relating to sound such as pausing or changing the  sound volume. <a href="http://www.republicofcode.com/tutorials/flash/as3sound/">This tutorial</a> will teach you all the basics you need to  learn how to start playing local and external sounds in Flash.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=40&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/05/01/sound-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic content with PHP, XML and JSON</title>
		<link>http://wtrflash.wordpress.com/2010/04/24/dynamic-content-with-php-xml-and-json/</link>
		<comments>http://wtrflash.wordpress.com/2010/04/24/dynamic-content-with-php-xml-and-json/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 09:12:30 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=53</guid>
		<description><![CDATA[Working with the URLRequest en URLRequestMethod.POST var request:URLRequest = new URLRequest(&#8220;http:// server/your.php&#8221;); request.method = URLRequestMethod.POST; // or GET // Parameters object var obj:URLVariables = new URLVariables(); obj.name = &#8220;Davy De Winne&#8221;; obj.password = &#8220;123456&#8243;; request.data = obj; var request:URLRequest = new URLRequest(&#8220;http://server/your.php&#8221;);request.method = URLRequestMethod.POST; // or GET// Parameters objectvar obj:URLVariables = new URLVariables();obj.name = &#8220;Davy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=53&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Working with the URLRequest en URLRequestMethod.POST</div>
<blockquote>
<div>var request:URLRequest = new URLRequest(&#8220;http://</div>
<div id="_mcePaste">server/your.php&#8221;);</div>
<div id="_mcePaste">request.method = URLRequestMethod.POST; // or GET</div>
<div id="_mcePaste">// Parameters object</div>
<div id="_mcePaste">var obj:URLVariables = new URLVariables();</div>
<div id="_mcePaste">obj.name = &#8220;Davy De Winne&#8221;;</div>
<div id="_mcePaste">obj.password = &#8220;123456&#8243;;</div>
<div id="_mcePaste">request.data = obj;</div>
</blockquote>
<blockquote><p>var request:URLRequest = new URLRequest(&#8220;http://server/your.php&#8221;);request.method = URLRequestMethod.POST; // or GET// Parameters objectvar obj:URLVariables = new URLVariables();obj.name = &#8220;Davy De Winne&#8221;;obj.password = &#8220;123456&#8243;;request.data = obj;</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=53&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/04/24/dynamic-content-with-php-xml-and-json/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweens and Transitions</title>
		<link>http://wtrflash.wordpress.com/2010/04/17/tweens-and-transitions/</link>
		<comments>http://wtrflash.wordpress.com/2010/04/17/tweens-and-transitions/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 05:32:10 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=51</guid>
		<description><![CDATA[The 5th assignment was about tweens and transitions. A simple chapter, but here a few examples: *Tweens Tutorial about tweens Adobe LiveDocs *Transitions TransitionManager tutorial Example of transitions<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=51&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The 5th assignment was about tweens and transitions. A simple chapter, but here a few examples:</p>
<p>*Tweens</p>
<ol>
<li><a href="http://www.zedia.net/actionscript-3-tweens-tutorial/">Tutorial</a> about tweens</li>
<li><a href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/transitions/Tween.html">Adobe LiveDocs</a></li>
</ol>
<p>*Transitions</p>
<ol>
<li>TransitionManager <a href="http://www.republicofcode.com/tutorials/flash/as3transitionmanager/">tutorial</a></li>
<li><a href="http://www.flashandmath.com/advanced/billboard/index.html">Example</a> of transitions</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=51&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/04/17/tweens-and-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>External images</title>
		<link>http://wtrflash.wordpress.com/2010/04/13/external-images/</link>
		<comments>http://wtrflash.wordpress.com/2010/04/13/external-images/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 18:06:07 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=49</guid>
		<description><![CDATA[While surfing on the net I found a tutorial about loading external images into your flash AS3-document with FileReference. And with this I made the assignments<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=49&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While surfing on the net I found <a href="http://www.newgrounds.com/bbs/topic/827299">a tutorial</a> about loading external images into your flash AS3-document with FileReference. And with this I made the assignments</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=49&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/04/13/external-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Comic Generator ~ Pre ~</title>
		<link>http://wtrflash.wordpress.com/2010/04/09/project-comic-generator-%c2%a0pre/</link>
		<comments>http://wtrflash.wordpress.com/2010/04/09/project-comic-generator-%c2%a0pre/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 16:47:22 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=36</guid>
		<description><![CDATA[These are a few links (examples of Comic Generators): http://stripgenerator.com/ http://www.comicstripgenerator.com/ http://www.oynayacam.com/games/oyun/1925/Flash-Comic-Generator-Free-Game.html http://rokcomics.ning.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=36&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are a few links (examples of Comic Generators):</p>
<ul>
<li><a href="http://stripgenerator.com/">http://stripgenerator.com/</a></li>
<li><a href="http://www.comicstripgenerator.com/">http://www.comicstripgenerator.com/</a></li>
<li><a href="http://www.oynayacam.com/games/oyun/1925/Flash-Comic-Generator-Free-Game.html">http://www.oynayacam.com/games/oyun/1925/Flash-Comic-Generator-Free-Game.html</a></li>
<li><a href="http://rokcomics.ning.com/">http://rokcomics.ning.com/</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=36&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/04/09/project-comic-generator-%c2%a0pre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Memory game :: &#8220;addChild&#8221;</title>
		<link>http://wtrflash.wordpress.com/2010/03/23/memory-game-addchild/</link>
		<comments>http://wtrflash.wordpress.com/2010/03/23/memory-game-addchild/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 05:03:01 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=24</guid>
		<description><![CDATA[I knew I had to use addChild in AS3 (Memory Game) but I didn&#8217;t know how to implement it. &#8230;..addChild(&#8230;); To figure it out, I used this link , and this thread to see how you can call and create a child movieclip. Also pressing F1 can help! =)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=24&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I knew I had to use addChild in AS3 (Memory Game) but I didn&#8217;t know how to implement it.</p>
<blockquote><p>&#8230;..addChild(&#8230;);</p></blockquote>
<p>To figure it out, I used <a href="http://www.flashandmath.com/intermediate/children/index.html" target="_self">this link</a> , and <a href="http://www.flashfocus.nl/forum/showthread.php?t=58277" target="_self">this thread</a> to see how you can call and create a child movieclip.<br />
Also pressing F1 can help! =)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=24&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/03/23/memory-game-addchild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Loading and Styling text</title>
		<link>http://wtrflash.wordpress.com/2010/03/21/loading-and-styling-text/</link>
		<comments>http://wtrflash.wordpress.com/2010/03/21/loading-and-styling-text/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 21:49:42 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=13</guid>
		<description><![CDATA[For this chapter I used again &#8220;republic of code&#8220;. It&#8217;s well explained and there are many code examples. //TextLoader from external var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void { trace(e.target.data); } myTextLoader.load(new URLRequest(&#8220;myText.txt&#8221;)); Also a tutorial on YouTube helped me to understand loading text into flash. Styling was slightly more difficult  the first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=13&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For this chapter I used again &#8220;<a title="Loading and Styling text" href="http://www.republicofcode.com/tutorials/flash/as3externaltext/" target="_self">republic of code</a>&#8220;. It&#8217;s well explained and there are many code examples.</p>
<blockquote>
<ol></ol>
</blockquote>
<blockquote>
<ol>
<li>//TextLoader from external</li>
<li>var myTextLoader:URLLoader = new URLLoader();</li>
<li>myTextLoader.addEventListener(Event.COMPLETE, onLoaded);</li>
<li>function onLoaded(e:Event):void {</li>
<li>trace(e.target.data);</li>
<li>}</li>
<li>myTextLoader.load(new URLRequest(&#8220;myText.txt&#8221;));</li>
</ol>
</blockquote>
<p>Also a tutorial on <a href="http://www.youtube.com/watch?v=ueAaI35wSsc" target="_self">YouTube</a> helped me to understand loading text into flash.<br />
Styling was slightly more difficult  <a href="http://www.actionscript.org/forums/showthread.php3?t=164416" target="_self">the first site</a> I realy could use was a forum.<br />
After a while surfing on the net it was clear (thanks to <a href="http://snipplr.com/view/4096/as3-adding-text-styles-to-a-textfield-using-a-new-object/" target="_self">Snipplr</a> and <a href="http://blog.0tutor.com/post.aspx?id=114&amp;titel=Create-and-style-textfields-with-AS3">otutor</a>).</p>
<ol>
<blockquote>
<li>/Creating the textfield object and naming it &#8221;myTextField&#8221;</li>
<li>var myTextField:TextField = new TextField();</li>
<li>//Here we add the new textfield instance to the stage with addchild()</li>
<li>addChild(myTextField);</li>
<li>//Here we define some properties for our text field, starting with giving it some text to contain.</li>
<li>//A width, x and y coordinates.</li>
<li>myTextField.text = &#8221;some text here!&#8221;;</li>
<li>myTextField.width = 250;</li>
<li>myTextField.x = 25;</li>
<li>myTextField.y = 25;</li>
<li>//Here are some great properties to define, first one is to make sure the text is not selectable, then adding a border.</li>
<li>myTextField.selectable = false;</li>
<li>myTextField.border = true;</li>
<li>//This last property for our textfield is to make it autosize with the text, aligning to the left.</li>
<li>myTextField.autoSize = TextFieldAutoSize.LEFT;</li>
<li>//This is the section for our text styling, first we create a TextFormat instance naming it myFormat</li>
<li>var myFormat:TextFormat = new TextFormat();</li>
<li>//Giving the format a hex decimal color code</li>
<li>myFormat.color = 0xAA0000;</li>
<li>//Adding some bigger text size</li>
<li>myFormat.size = 24;</li>
<li>//Last text style is to make it italic.</li>
<li>myFormat.italic = true;</li>
<li>//Now the most important thing for the textformat, we need to add it to the myTextField with setTextFormat.</li>
<li>myTextField.setTextFormat(myFormat);</li>
</blockquote>
</ol>
<p>I made the assignment and everything went well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=13&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/03/21/loading-and-styling-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
		<item>
		<title>Events and event listeners</title>
		<link>http://wtrflash.wordpress.com/2010/03/10/5/</link>
		<comments>http://wtrflash.wordpress.com/2010/03/10/5/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:47:47 +0000</pubDate>
		<dc:creator>wtrflash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wtrflash.wordpress.com/?p=5</guid>
		<description><![CDATA[For the exercices on &#8220;Events and event listeners&#8221; I used this site , it&#8217;s a good tutorial: F.ex: yButton.addEventListener(MouseEvent.CLICK, myClickReaction); function myClickReaction (e:MouseEvent):void{ trace(&#8220;I was clicked!&#8221;); } But I needed more info about mouse events so I searched a while and saw a good site where it&#8217;s explained. After these tutorials I took a look at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=5&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For the exercices on &#8220;Events and event listeners&#8221; I used <a class="aligncenter" style="display:inline!important;" title="Events" href="http://www.republicofcode.com/tutorials/flash/as3events/" target="_self">this site</a> , it&#8217;s a good tutorial:<br />
F.ex:</p>
<ol>
<blockquote>
<li>yButton.addEventListener(MouseEvent.CLICK, myClickReaction);</li>
<li></li>
<li>function myClickReaction (e:MouseEvent):void{</li>
<li>trace(&#8220;I was clicked!&#8221;);</li>
<li>}</li>
</blockquote>
</ol>
<p>But I needed more info about mouse events so I searched a while and saw <a title="Eventlistener Mouse" href="http://www.flashvalley.com/fv_tutorials/mouse_events_in_actionscript_3.0/" target="_self">a good site</a> where it&#8217;s explained.<br />
After these tutorials I took a look at <a title="Tutorial" href="http://www.lynda.com">Lynda.com</a>.<br />
I learned more about &#8220;Events and event listeners&#8221; and made the assignment of &#8220;E and EL&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wtrflash.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wtrflash.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wtrflash.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wtrflash.wordpress.com&amp;blog=12332317&amp;post=5&amp;subd=wtrflash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wtrflash.wordpress.com/2010/03/10/5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38cf8e2c6a281efce1aceba3b36484b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wtrflash</media:title>
		</media:content>
	</item>
	</channel>
</rss>
