<?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>Alex Cook &#187; flash</title>
	<atom:link href="http://www.propellingsolutions.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.propellingsolutions.com</link>
	<description>User Experience Design, Flex Development, &#38; Entreprenuership</description>
	<lastBuildDate>Mon, 06 Sep 2010 01:48:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex/AS3/Flash 9 Casting Problems</title>
		<link>http://www.propellingsolutions.com/2009/07/flexas3flash-9-casting-problems/</link>
		<comments>http://www.propellingsolutions.com/2009/07/flexas3flash-9-casting-problems/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 21:41:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.propellingsolutions.com/?p=71</guid>
		<description><![CDATA[Today I noticed something particularly annoying about ActionScript 3/Flex/Flash: Casting.
I know of two ways to cast something from one type to another:
1.  var myvar:Type1 = mything as Type1; // does not work

OR
2.  var myvar:Type1 = Type1 (mything); // works!

I was using the &#8220;as&#8221; keyword, and I couldn&#8217;t figure out why it wouldn&#8217;t cast my string [...]]]></description>
			<content:encoded><![CDATA[<p>Today I noticed something particularly annoying about ActionScript 3/Flex/Flash: Casting.</p>
<p>I know of two ways to cast something from one type to another:</p>
<p><strong>1.  var myvar:Type1 = mything as Type1; </strong>// does not work<strong><br />
</strong></p>
<p>OR</p>
<p><strong>2.  var myvar:Type1 = Type1 (mything); </strong>// works!<strong><br />
</strong></p>
<p>I was using the &#8220;as&#8221; keyword, and I couldn&#8217;t figure out why it wouldn&#8217;t cast my string to a number.  I finally drilled down, and replaced it with usage #2 above, and it fixed my issue.</p>
<p>So annoying!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.propellingsolutions.com/2009/07/flexas3flash-9-casting-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash and Flex Communication</title>
		<link>http://www.propellingsolutions.com/2009/02/flash-and-flex-communication/</link>
		<comments>http://www.propellingsolutions.com/2009/02/flash-and-flex-communication/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 05:34:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.propellingsolutions.com/?p=48</guid>
		<description><![CDATA[I assume it&#8217;s because I didn&#8217;t search for the right terms, but I couldn&#8217;t find anything good about communicating between Flash 9/10 and Flex.
I found some posts on LocalConnection, and this post&#8230; but the issue with LocalConnection is that you can only have on instance open at once.  So, if you build something and a [...]]]></description>
			<content:encoded><![CDATA[<p>I assume it&#8217;s because I didn&#8217;t search for the right terms, but I couldn&#8217;t find anything good about communicating between Flash 9/10 and Flex.</p>
<p>I found some posts on LocalConnection, and <a href="http://frankieloscavio.blogspot.com/2008/04/flash-to-flex-bridge-communication-both.html">this post</a>&#8230; but the issue with LocalConnection is that you can only have on instance open at once.  So, if you build something and a user opens two tabs of it, it will fail to connect to the second instance.  Blarg!</p>
<p>The solution is actually simple: good old events. I tried this earlier but failed to add the &#8220;.content.add&#8221; piece.</p>
<p><a href="http://www.propellingsolutions.com/examples/flashandflex">Check out this example, and download the code.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.propellingsolutions.com/2009/02/flash-and-flex-communication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>swapChildren fix in Flex 3</title>
		<link>http://www.propellingsolutions.com/2009/02/swapchildren-fix-in-flex-3/</link>
		<comments>http://www.propellingsolutions.com/2009/02/swapchildren-fix-in-flex-3/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 20:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.propellingsolutions.com/?p=20</guid>
		<description><![CDATA[I&#8217;m working on a project right now and swapChildren is just not working as expected.  Looked around a bit, and I just decided to remove the two children and add copies of them instead:


var tmpThis:Canvas= EV.target as Canvas;
var tmpHighest:Canvas= highestPanel;

removeChild (highestPanel);
removeChild (EV.target as Canvas);

addChild(tmpHighest);
addChild(tmpThis);

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a project right now and swapChildren is just not working as expected.  Looked around a bit, and I just decided to remove the two children and add copies of them instead:</p>
<pre lang="ActionScript 3" line="1">

var tmpThis:Canvas= EV.target as Canvas;
var tmpHighest:Canvas= highestPanel;

removeChild (highestPanel);
removeChild (EV.target as Canvas);

addChild(tmpHighest);
addChild(tmpThis);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.propellingsolutions.com/2009/02/swapchildren-fix-in-flex-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog launch</title>
		<link>http://www.propellingsolutions.com/2008/11/blog-launch/</link>
		<comments>http://www.propellingsolutions.com/2008/11/blog-launch/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 23:44:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[amfphp]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.propellingsolutions.com/?p=5</guid>
		<description><![CDATA[And&#8230; it&#8217;s official!
I&#8217;ve tried about 10 times to start a blog.  Each time I always run out of time to work on it, I get way to many spam messages&#8230; ehh whatever.
Now I&#8217;m going to do it.  This blog is mainly going to be about Flex, Flash, amf-php, and the web.  I&#8217;m also going to [...]]]></description>
			<content:encoded><![CDATA[<h2><strong>And&#8230; it&#8217;s official!</strong></h2>
<p>I&#8217;ve tried about 10 times to start a blog.  Each time I always run out of time to work on it, I get way to many spam messages&#8230; ehh whatever.</p>
<p>Now I&#8217;m going to do it.  This blog is mainly going to be about Flex, Flash, amf-php, and the web.  I&#8217;m also going to talk about entreprenuership, (dealing with) people, and whatever else is on my mind.</p>
<p>Here&#8217;s what&#8217;s on the table for my first two blog posts:</p>
<h3>1.  amf-php authentication sample application</h3>
<p>I told some people in the amf-php community that I&#8217;d post my sample application online.  That was July.  Well now I&#8217;m really going to do it!  Coming by Friday 11/28/08.</p>
<h3><strong>2.  using svn to auto-publish to your dev server, and backup your database&#8230;</strong></h3>
<p>This is a neat trick we use in-house to manage multiple-team-member web projects.  This trick is thanks to Tom Petr at Schedr (www.schedr.com).  I&#8217;ll do this in January.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.propellingsolutions.com/2008/11/blog-launch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
