<?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>David Flatley &#187; Adobe AIR</title>
	<atom:link href="http://www.davidflatley.com/category/ria-info/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidflatley.com</link>
	<description>A RIA developer's late night ramblings and other nonsense</description>
	<lastBuildDate>Mon, 22 Mar 2010 15:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Flex 4 released today &#8211; tons of new material for learning</title>
		<link>http://www.davidflatley.com/2010/03/22/flex-4-released-today-tons-of-new-material-for-learning/</link>
		<comments>http://www.davidflatley.com/2010/03/22/flex-4-released-today-tons-of-new-material-for-learning/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 15:04:59 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Coolness]]></category>
		<category><![CDATA[adobe flex 4]]></category>
		<category><![CDATA[developer connection]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[learn flex in a week]]></category>
		<category><![CDATA[tour de flex]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=239</guid>
		<description><![CDATA[If you haven&#8217;t seen already, Adobe released Flash Builder 4 and Flex 4 SDK today. If you&#8217;re a student or you&#8217;re unemployed, or possibly an unemployed student event, you can get yourself a free copy of Flash Builder. Along with the release are endless heaps of new material to get you up-to-speed with the latest [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t seen already, Adobe released <a href="http://www.adobe.com/products/flashbuilder/" target="_blank">Flash Builder 4 and Flex 4 SDK</a> today. If you&#8217;re a student or you&#8217;re unemployed, or possibly an unemployed student event, you can get yourself a <a href="http://www.adobe.com/devnet/flex/free/" target="_blank">free copy of Flash Builder</a>. Along with the release are endless heaps of new material to get you up-to-speed with the latest and greatest of Flex. Below is a list of some of the best new resources to get you up and running with Flex 4 in no time.<br />
<span id="more-239"></span></p>
<ol>
<li><a href="https://www.adobe.com/devnet/flex/videotraining/" target="_blank">Learn Flex in a Week</a> video series on the Developer Connection site is being updated. These were an immense help for catching up with the latest incarnation of Flex.</li>
<li><a href="http://www.adobe.com/devnet/flex/tourdeflex/" target="_blank">Tour de Flex</a> has tons of new and updated samples. Any source code you could imagine is in Tour de Flex, it&#8217;s like your personal Flex library you carry with you. You might even run across <a href="https://www.adobe.com/devnet/flex/tourdeflex/web/#sampleId=31202;illustIndex=0;docIndex=0" target="_blank">one particular sample</a> to wow you <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  created by yours truly. Many thanks to my colleague <a href="http://devgirl.wordpress.com/2010/03/22/major-tour-de-flex-updates-for-flex-4/" target="_blank">Holly Schinsky</a>, who works tirelessly on Tour de Flex and a zillion other things all at once, and to Adobe Evangelist <a href="http://gregsramblings.com/" target="_blank">Greg Wilson</a> for the opportunity to help out with the project!</li>
<li><a href="http://www.adobe.com/devnet/flex/testdrive/?devcon=f8" target="_blank">Flex Test Drive</a> on the Adobe Developer Connection is a great way to get into Flex if you&#8217;re brand new. This series walks you through the process of building a Flex 4 application in one hour, and is accompanied by video and written tutorials.</li>
<li>I built the <a href="http://www.adobe.com/devnet/flex/samples/flex4_sparkinc/" target="_blank">Spark Intranet Sample app</a> and tutorial on the Developer Connection site and just updated it for the Flex 4 release.  This is another good one to learn to connect Flex 4 to data, explore the Spark framework and new MXML specification, and see more about the new Flash Builder features. I can neither confirm nor deny that there are more Flex 4 sample apps to come very soon, and they may or may not be fairly intense so as to satisfy your inner geek <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ol>
<p>If you&#8217;re a Flex 3 developer just getting into Flex 4, you&#8217;ll see there&#8217;s a slight learning curve to the new Spark architecture. A good place to start is <a href="http://www.adobe.com/devnet/flex/articles/flex4_sparkintro.html" target="_blank">Deepa Subramaniam&#8217;s article</a> on the Developer Connection. That&#8217;ll give you the background you need to understand Spark versus MX components and how/when/where to use them. </p>
<p>With all this new material at hand, the learning curve is tiny compared to the benefits you&#8217;ll get by updating to Flex 4. With the Spark framework, you&#8217;re able to take things to a whole new level. </p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe+flex+4' rel='tag' target='_self'>adobe flex 4</a>, <a class='technorati-link' href='http://technorati.com/tag/developer+connection' rel='tag' target='_self'>developer connection</a>, <a class='technorati-link' href='http://technorati.com/tag/flash+builder' rel='tag' target='_self'>flash builder</a>, <a class='technorati-link' href='http://technorati.com/tag/learn+flex+in+a+week' rel='tag' target='_self'>learn flex in a week</a>, <a class='technorati-link' href='http://technorati.com/tag/tour+de+flex' rel='tag' target='_self'>tour de flex</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2010/03/22/flex-4-released-today-tons-of-new-material-for-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4 animate properties</title>
		<link>http://www.davidflatley.com/2010/01/25/flex-4-animate-properties/</link>
		<comments>http://www.davidflatley.com/2010/01/25/flex-4-animate-properties/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 02:19:54 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[adobe flex 4]]></category>
		<category><![CDATA[animate class]]></category>
		<category><![CDATA[animate properties]]></category>
		<category><![CDATA[gumbo]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=213</guid>
		<description><![CDATA[I came across a situation while doing a Flex 4 upgrade for an Adobe Developer Center sample app where I wanted to use some the Spark animate properties classes. This is SO cool because it gives you truly granular control over every aspect of a component you want to animate. In the sample I&#8217;m upgrading, [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a situation while doing a Flex 4 upgrade for an <a href="http://www.adobe.com/devnet/flex/"  target="_blank">Adobe Developer Center</a> sample app where I wanted to use some the Spark animate properties classes.</p>
<p>This is SO cool because it gives you truly granular control over every aspect of a component you want to animate. In the sample I&#8217;m upgrading, there is an extended TileGroup component that has three columns and two rows of charts for an enterprise dashboard application. When a user clicks a button to zoom in on any given chart, I wanted to make use of some of the new Spark effects to really create a 3D look and feel quickly (without delving too much into custom layouts). Actually, the layout I made is a custom TileGroup, but I wanted to point out some ways you can use the <a href="http://help.adobe.com/en_US/Flex/4.0/langref/spark/effects/Animate.html"  target="_blank">Animate</a> class to make sweet transitions on any property of a component in your own apps for simple animation, without having to create custom layouts.</p>
<p><span id="more-213"></span></p>
<p>This super simple test was to find out if I could use the Animate class to move the entire TileGroup to a new X,Y and increase its horizontalGap and verticalGap at the same time. In other words, could I use the Animate class to create my whole animation in one shot, truly custom? I watched <a href="http://tv.adobe.com/watch/codedependent/animate-effect-in-flex-4"  target="_blank">Chet Haase  on Adobe TV&#8217;s Codedependent</a> on animating properties, and it worked great, but I needed it running in ActionScript.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Parallel</span> id=<span style="color: #ff0000;">&quot;par&quot;</span> duration=<span style="color: #ff0000;">&quot;1000&quot;</span> target=<span style="color: #ff0000;">&quot;{t}&quot;</span><span style="color: #7400FF;">&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Animate</span> <span style="color: #7400FF;">&gt;</span></span>
				<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SimpleMotionPath</span> property=<span style="color: #ff0000;">&quot;horizontalGap&quot;</span> </span>
<span style="color: #000000;">									valueFrom=<span style="color: #ff0000;">&quot;15&quot;</span> valueTo=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
				<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SimpleMotionPath</span> property=<span style="color: #ff0000;">&quot;verticalGap&quot;</span> </span>
<span style="color: #000000;">									valueFrom=<span style="color: #ff0000;">&quot;15&quot;</span> valueTo=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Animate</span><span style="color: #7400FF;">&gt;</span></span>
			<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Move</span> xTo=<span style="color: #ff0000;">&quot;{t.width/2}&quot;</span> yTo=<span style="color: #ff0000;">&quot;{t.height/2}&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Parallel</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TileGroup</span> id=<span style="color: #ff0000;">&quot;t&quot;</span> horizontalGap=<span style="color: #ff0000;">&quot;15&quot;</span> verticalGap=<span style="color: #ff0000;">&quot;15&quot;</span> direction=<span style="color: #ff0000;">&quot;ltr&quot;</span> </span>
<span style="color: #000000;">				 width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Button</span> click=<span style="color: #ff0000;">&quot;par.play()&quot;</span> label=<span style="color: #ff0000;">&quot;Button One&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Button</span> click=<span style="color: #ff0000;">&quot;handleClick(event)&quot;</span> label=<span style="color: #ff0000;">&quot;Button Two&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TileGroup</span><span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>The above code is the MXML that worked great for my test, and here&#8217;s the AS3 equivalent:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>fx:Script<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span>
&nbsp;
			<span style="color: #0066CC;">import</span> spark.<span style="color: #006600;">effects</span>.<span style="color: #006600;">Scale</span>;
			<span style="color: #0066CC;">import</span> spark.<span style="color: #006600;">effects</span>.<span style="color: #006600;">Move</span>;
			<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">effects</span>.<span style="color: #006600;">Parallel</span>;
			<span style="color: #0066CC;">import</span> spark.<span style="color: #006600;">effects</span>.<span style="color: #006600;">Animate</span>;
			<span style="color: #0066CC;">import</span> spark.<span style="color: #006600;">effects</span>.<span style="color: #006600;">animation</span>.<span style="color: #006600;">MotionPath</span>;
			<span style="color: #0066CC;">import</span> spark.<span style="color: #006600;">effects</span>.<span style="color: #006600;">animation</span>.<span style="color: #006600;">SimpleMotionPath</span>;
			<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;
&nbsp;
			<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> handleClick<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
			<span style="color: #66cc66;">&#123;</span>
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> p:Parallel = <span style="color: #000000; font-weight: bold;">new</span> Parallel<span style="color: #66cc66;">&#40;</span>t<span style="color: #66cc66;">&#41;</span>;
				p.<span style="color: #0066CC;">duration</span> = <span style="color: #cc66cc;">1000</span>; 
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> s:SimpleMotionPath = <span style="color: #000000; font-weight: bold;">new</span> SimpleMotionPath<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				s.<span style="color: #006600;">valueFrom</span> = t.<span style="color: #006600;">horizontalGap</span>;
				s.<span style="color: #006600;">valueTo</span> = <span style="color: #cc66cc;">200</span>;
				s.<span style="color: #006600;">property</span> = <span style="color: #ff0000;">&quot;horizontalGap&quot;</span>;
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> s2:SimpleMotionPath = <span style="color: #000000; font-weight: bold;">new</span> SimpleMotionPath<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				s2.<span style="color: #006600;">valueFrom</span> = t.<span style="color: #006600;">verticalGap</span>;
				s2.<span style="color: #006600;">valueTo</span> = <span style="color: #cc66cc;">200</span>;
				s2.<span style="color: #006600;">property</span> = <span style="color: #ff0000;">&quot;verticalGap&quot;</span>; 
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> v:Vector.<span style="color: #66cc66;">&lt;</span>MotionPath<span style="color: #66cc66;">&gt;</span> = <span style="color: #000000; font-weight: bold;">new</span> Vector.<span style="color: #66cc66;">&lt;</span>MotionPath<span style="color: #66cc66;">&gt;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				v.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span> s <span style="color: #66cc66;">&#41;</span>;
				v.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span> s2 <span style="color: #66cc66;">&#41;</span>;
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> a:Animate = <span style="color: #000000; font-weight: bold;">new</span> Animate<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				a.<span style="color: #006600;">motionPaths</span> = v;
&nbsp;
				<span style="color: #000000; font-weight: bold;">var</span> m:Move = <span style="color: #000000; font-weight: bold;">new</span> Move<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				m.<span style="color: #006600;">xTo</span> = t.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">2</span>;
				m.<span style="color: #006600;">yTo</span> = t.<span style="color: #0066CC;">height</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">2</span>;
&nbsp;
				p.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> a <span style="color: #66cc66;">&#41;</span>;
				p.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> m <span style="color: #66cc66;">&#41;</span>;
				p.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>fx:Script<span style="color: #66cc66;">&gt;</span></pre></td></tr></table></div>

<p>Thanks to <a href="http://graphics-geek.blogspot.com/" target="_blank">Chet</a> too for spotting what my tired eyes didn&#8217;t see <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  sheesh, it&#8217;s been one of those days.</p>
<p>This sample is not very exciting, except for the fact that it gives you the idea how you can animate any property over time. If I wanted to (and I have for my project) animate the x, y, z, width, and height at the same time using the Animate class, you could easily create a very specific animation this way.</p>
<p>For my purposes, I used the <a href="http://help.adobe.com/en_US/Flex/4.0/langref/spark/effects/animation/SimpleMotionPath.html" target="_blank">SimpleMotionPath</a> to specify certain properties to change, and since the Animate class&#8217;s Interpolator is set to NumberInterpolator by default, it worked out great to fill in the steps for the &#8220;tween&#8221; automatically for me. I&#8217;d like to get to the point where I come up with my own Flat-terpolator for some other project one day just to see what I can create, but for now, this worked out fine.</p>
<p>You can download the FXP for this sample and try it out yourself <a href="http://www.davidflatley.com/wp-content/uploads/2010/01/Test.fxp"  target="_blank">here</a>. Once you see how this works, you can imagine the possibilities afforded to Flex 4 that will allow you to make some truly amazing animations. Mine&#8217;s turning out to be pretty cool, but you&#8217;ll have to wait until the ADC releases it <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  In the meantime, you can get started on <a href="http://www.adobe.com/devnet/flex/samples/flex4_sparkinc/?devcon=f5" target="_blank">this one</a> to catch up on Flex 4 and Flash Builder.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe+flex+4' rel='tag' target='_self'>adobe flex 4</a>, <a class='technorati-link' href='http://technorati.com/tag/animate+class' rel='tag' target='_self'>animate class</a>, <a class='technorati-link' href='http://technorati.com/tag/animate+properties' rel='tag' target='_self'>animate properties</a>, <a class='technorati-link' href='http://technorati.com/tag/gumbo' rel='tag' target='_self'>gumbo</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2010/01/25/flex-4-animate-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Shibuya-beta) Adobe&#8217;s Try/Buy service for AIR applications</title>
		<link>http://www.davidflatley.com/2009/10/10/shibuya-beta-adobes-trybuy-service-for-air-applications/</link>
		<comments>http://www.davidflatley.com/2009/10/10/shibuya-beta-adobes-trybuy-service-for-air-applications/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 13:54:12 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Coolness]]></category>
		<category><![CDATA[PXL Info]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[licensing]]></category>
		<category><![CDATA[shibuya]]></category>
		<category><![CDATA[try/buy service]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=187</guid>
		<description><![CDATA[Ok so it takes me a while to catch up on the blogging. MAX is over and the secrets are out. One thing I was particularly happy about was the new Shibuya Beta program, where Flex developers could incorporate Adobe&#8217;s licensing framework and start selling AIR apps. My colleague Holly Schinsky and I were invited [...]]]></description>
			<content:encoded><![CDATA[<p>Ok so it takes me a while to catch up on the blogging. <a href="http://max.adobe.com/" target="_blank">MAX</a> is over and the secrets are out. One thing I was particularly happy about was the new <a href="http://labs.adobe.com/technologies/shibuya/" target="_blank">Shibuya Beta program</a>, where Flex developers could incorporate Adobe&#8217;s licensing framework and start selling AIR apps.</p>
<p>My colleague <a href="http://devgirl.wordpress.com/" target="_blank">Holly Schinsky</a> and I were invited to be part of the super early beta program before MAX, which was extremely cool. This is huge for AIR developers because we now have a fully supported means of monetizing our applications. In the early days of Apollo (AIR&#8217;s beta name) I had come up with the idea for <a href="http://software.pxldesigns.com/attest/" target="_blank">Attest</a> (mock exam software for Adobe&#8217;s Flex certification) while studying myself. There was nothing on the market and I had compiled heaps of data while studying, so I thought it would make for a nice side project.</p>
<p><a href="http://www.davidflatley.com/wp-content/uploads/2009/10/shibuya.jpg"><img class="alignnone size-full wp-image-236" title="Adobe's Shibuya Beta Program" src="http://www.davidflatley.com/wp-content/uploads/2009/10/shibuya.jpg" alt="" width="300" height="79" /></a></p>
<p><span id="more-187"></span><br />
Attest was originally built in Apollo, but at the time it was beta and not ready to use as a release version of a commercial app. So I ended up going with C# to build a desktop app. Of course, there were one or two voices of dissent who asked why I didn&#8217;t use AIR at the time, I would have thought it was pretty apparent. Enough rambling, the point is that now, years later <a href="http://software.pxldesigns.com/attestpro/" target="_blank">Attest PRO</a> utilizes the Shibuya licensing, and makes life a lot easier for us at <a href="http://www.pxldesigns.com/" target="_blank">PXL Designs</a>. Holly and I are still going to support the free version of <strong>Attest</strong> going forward, but for the upgraded, beefier version you now have <strong>Attest PRO</strong> available.</p>
<p>For the AIR developers out there, it couldn&#8217;t be any simpler to incorporate the Shibuya framework. It is still in beta, so there&#8217;s things to tweak and work out, but overall you have creative license to build any trial version of your application that you want.</p>
<ul>
<li>Time-based: If you want a 10 min or 10 day trial for example</li>
<li>Feature-based: Turn off any features you want during the trial period</li>
</ul>
<p>To get the license up and running is cake, there&#8217;s really nothing to it. You&#8217;ll know from the server whether an app is licensed or trial, and be able to turn on/off features wherever you like. For example, check the license, if it&#8217;s trial, set a boolean on your model and enable/disable certain buttons, or views, etc.</p>
<p>Keep in mind, the number of developers for the beta program is restricted for the time being. I&#8217;m not sure how many developers they&#8217;ll take right now, but it&#8217;s definitely something to read up on. Once Shibuya is a full-fledged product, there&#8217;s going to be tons of AIR apps for sale out there. For now, you can dream about writing AIR applications that make <a href="http://www.cnn.com/2009/US/02/17/flatulence.fight/index.html?iref=newssearch" target="_blank">fart noises and becoming a millionaire</a> (ok maybe not, hopefully you&#8217;ll want to actually build something with real purpose).</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe+air' rel='tag' target='_self'>adobe air</a>, <a class='technorati-link' href='http://technorati.com/tag/flex' rel='tag' target='_self'>flex</a>, <a class='technorati-link' href='http://technorati.com/tag/licensing' rel='tag' target='_self'>licensing</a>, <a class='technorati-link' href='http://technorati.com/tag/shibuya' rel='tag' target='_self'>shibuya</a>, <a class='technorati-link' href='http://technorati.com/tag/try%2Fbuy+service' rel='tag' target='_self'>try/buy service</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2009/10/10/shibuya-beta-adobes-trybuy-service-for-air-applications/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updates on MezzyShredder.com</title>
		<link>http://www.davidflatley.com/2009/09/29/updates-on-mezzyshredder-com/</link>
		<comments>http://www.davidflatley.com/2009/09/29/updates-on-mezzyshredder-com/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 01:33:31 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Coolness]]></category>
		<category><![CDATA[Electric Mayhem]]></category>
		<category><![CDATA[Intense Nonsense]]></category>
		<category><![CDATA[PXL Info]]></category>
		<category><![CDATA[Attest]]></category>
		<category><![CDATA[cf united]]></category>
		<category><![CDATA[lockjaw]]></category>
		<category><![CDATA[Mezzy Shredder]]></category>
		<category><![CDATA[war horse]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=147</guid>
		<description><![CDATA[Updates on MezzyShredder.com]]></description>
			<content:encoded><![CDATA[<p>Where have I been again? I don&#8217;t remember sometimes&#8230;oh wait, working constantly! Inundated with work and slacking off on the blogging again. I was at <a href="http://cfunited.com/2009/" target="_blank">CF United</a>, and that was very cool. Learned heaps, caught up with old friends, drank beer, learned more, played golf, drank more beer, and so on. </p>
<p>Besides that, I&#8217;ve just been insanely busy (what&#8217;s new) pitching gigs, winning some, losing some, running away fast from others, and working secretly on <a href="http://software.pxldesigns.com/attest" target="_blank">Attest</a> in the wee hours on top of everything else. Check out the <a href="http://blog.pxldesigns.com" target="_blank">PXL Blog for more (much much more soon)</a>, even if you&#8217;re not looking to get Flex certified or not interested in Attest, you&#8217;ll be very interested in some of the <a href="http://max.adobe.com/" target="_blank">Adobe MAX</a> goodness next week &#8211; mwahahha! Shhh, say no more&#8230;say no more, wink wink, nudge nudge, does she go aye?</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ona-RhLfRfc&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ona-RhLfRfc&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<p>On top of that, I&#8217;ve been updating <a href="http://www.mezzyshredder.com" target="_blank">MezzyShredder.com</a> with new content, many a late night. He joined a new band, formerly called <a href="http://www.myspace.com/lockjaw2007" target="_blank">LOCKJAW</a>, currently called <a href="http://www.myspace.com/warhorsethrash" target="_blank">War Horse</a>. I defy even <a href="http://www.yngwiemalmsteen.com/" target="_blank">Yngwie Malmsteen</a> to play faster or better than this man <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><span id="more-147"></span></p>
<p>Besides his band&#8217;s demo and performances, he&#8217;s teamed up with artist Scythen Hade and released their first album on iTunes called <a href="http://studio.tunecore.com/music/elementsoftime" target="_blank">Elements of Time</a>. </p>
<p><a href='http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?id=323757681&#038;s=143441'><br />
				<img height='15' width='61' alt='Mezzy Shredder and Scythen Hade' src='http://ax.itunes.apple.com/images/badgeitunes61x15dark.gif' /> Check out the NEW Mezzy Shredder and Scythen Hade album entitled &#8216;Elements of Time&#8217; on iTunes!</a> I know of a few people who will be happy to finally get their hands on a real album instead of eating up my bandwidth listening to songs.</p>
<p>War Horse is actually highly likely to go tour next year in Europe, which would be insanely cool! I&#8217;ve posted new pics, songs, videos, and there&#8217;s a ton more coming soon. They&#8217;re currently recording their demo album and Mezzy is going to send much more material, so keep an eye out (or ear open) for updates.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Attest' rel='tag' target='_self'>Attest</a>, <a class='technorati-link' href='http://technorati.com/tag/cf+united' rel='tag' target='_self'>cf united</a>, <a class='technorati-link' href='http://technorati.com/tag/lockjaw' rel='tag' target='_self'>lockjaw</a>, <a class='technorati-link' href='http://technorati.com/tag/Mezzy+Shredder' rel='tag' target='_self'>Mezzy Shredder</a>, <a class='technorati-link' href='http://technorati.com/tag/war+horse' rel='tag' target='_self'>war horse</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2009/09/29/updates-on-mezzyshredder-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What economic crisis? Surely not for RIA developers!</title>
		<link>http://www.davidflatley.com/2009/05/02/what-economic-crisis-surely-not-for-ria-developers/</link>
		<comments>http://www.davidflatley.com/2009/05/02/what-economic-crisis-surely-not-for-ria-developers/#comments</comments>
		<pubDate>Sat, 02 May 2009 16:44:50 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coolness]]></category>
		<category><![CDATA[Intense Nonsense]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[enonomy]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Mezzy Shredder]]></category>
		<category><![CDATA[ria]]></category>
		<category><![CDATA[wicked society]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=123</guid>
		<description><![CDATA[To say I&#8217;ve been busy is an understatement. Where to start? They tell me there&#8217;s an economic meltdown going on. My question is, where? If you&#8217;re an RIA developer, especially a Flex developer, I can&#8217;t imagine you&#8217;re having a tough time finding gigs. Unless there&#8217;s just so many of us now that there&#8217;s actually competition? [...]]]></description>
			<content:encoded><![CDATA[<p>To say I&#8217;ve been busy is an understatement. Where to start? They tell me there&#8217;s an economic meltdown going on. My question is, where? If you&#8217;re an RIA developer, especially a Flex developer, I can&#8217;t imagine you&#8217;re having a tough time finding gigs. Unless there&#8217;s just so many of us now that there&#8217;s actually competition?</p>
<p>My thorough lack of writing on my FUN blog parallels my thorough lack of sleep. It&#8217;s tough running a company on your own, especially when it&#8217;s a teeny tiny RIA firm and you&#8217;re completely lost when keeping records in QuickBooks. So what have I been up to? For starters, I updated a bunch of stuff on <a href="http://www.mezzyshredder.com/" target="_blank">MezzyShredder.com</a>. Added tons of videos of him playing with his band <a href="http://www.myspace.com/wickedsocietynj" target="_blank">Wicked Society</a> ( <a href="http://www.bandgmusic.com/html/wicked_society.html" target="_blank">signed on a B &#038; G Music label</a> ) and <a href="http://www.youtube.com/profile?user=mezzyshredder&#038;view=videos" target="_blank">YouTube</a>. So if you&#8217;re into Black Label Society-style music, go check out Mezzy shredding like none other!</p>
<p><span id="more-123"></span></p>
<p>So far this year, I&#8217;ve reconnected with some very cool clients from the past, lost some projects, won others, wrote articles on the <a href="http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html" target="_blank">Adobe Dev center about Flex and Ant</a>, part II is in review right now, coming soon. </p>
<p>I had the chance to team up with <a href="http://www.adobe.com/devnet/flex/tourdeflex/" target="_blank">Tour de Flex</a> developer <a href="http://devgirl.wordpress.com/" target="_blank">Holly Schinsky</a> to get <a href="http://software.pxldesigns.com/attest/" target="_blank">Attest 1.5</a> out the door. Holly&#8217;s completely awesome to work with, and we plan on teaming up on some more killer projects in the near future. There&#8217;s also a ton of things planned for new versions of Attest, and some of it will be a lot of fun. You&#8217;ll see&#8230;</p>
<p>Just like 2008, not one of the projects I&#8217;ve worked on so far this year were ones that I pitched for, but rather, they just keep finding me. Who needs a sales department when you&#8217;re a Flex developer? I&#8217;ve actually passed a bunch of projects off to others in the community when I can, and was thinking about creating another job site type deal purely for Flex. Everyday my inbox is filled with projects I won&#8217;t be working on, and it would be great to find a way to post them for the community, for those who are located closer, or a better match for the position in general. It seems to me that the Washington, DC &#8211; Richmond, VA area is loaded with projects for Flexers, but there are definitely larger communities out there in other states. So if you&#8217;re a Flexer around there, give me a yell. I&#8217;d like to hear from others in the area.</p>
<p>I often have to turn down projects and on top of that there were others I lost, like a Microsoft Silverlight project where the MS guys came inches away from going with Flex rather than Silverlight. When the big guys made the decision it had to be Silverlight, there went that project. By the way, call me when your RIA falls apart <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Other projects were shipped overseas, but still the fact remains that there&#8217;s always work for Flex developers &#8211; knock on wood.</p>
<p>Now for some reason, a <a href="http://www.google.com/#q=flatley&#038;hl=en&#038;start=10&#038;sa=N&#038;fp=OlAWEoQSgPM" target="_blank">Google search for the name &#8220;flatley&#8221;</a> puts me on page two. Considering the competition with Michael Flatley, the Lord of the Dance, that&#8217;s not too shabby. So it doesn&#8217;t hurt to get your name out there. I&#8217;m coming after your title Mr. Lord of the Dance, and I&#8217;m River dancing all the way to the first results page! <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The point is, I&#8217;ve watched the Flex community grow from the beginning, and it&#8217;s growing fast, which is awesome! If you&#8217;re in the DC &#8211; Richmond area, I think we can eventually make this another hot spot for crazy RIA projects with a large community of developers to match. Especially the ones that pay you in government cheese, like Mr. Jones says, but Flexers will never have to worry about their kids eating all the food in the fridge <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/QDFZ243XMVU&#038;hl&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/QDFZ243XMVU&#038;hl&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<p>Many other awesome projects are in the works currently at PXL Designs, some I&#8217;ll keep on the down low because they&#8217;re top secret for the time being. Others are supposed to debut soon. Whenever you see the Capital One Card Lab commercials on TV, think of all the late nights and countless ramblings I had to pull to get that one out the door. I was the architect on this project, consulting through an agency, and worked with a great team, pulled countless weekends and late nights to get it finished. <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/yosTIwbFjzM&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/yosTIwbFjzM&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<p>I found time to add a mini shopping cart to Peekaboopaperie.com for quick orders where a customer may not want to customize their own baby announcement. <a href="http://www.peekaboopaperie.com" target="_blank"><img src="http://www.davidflatley.com/wp-content/uploads/2009/05/peekaboo_minicart-300x275.jpg" alt="PeekabooPaperie Mini Shopping Cart" title="PeekabooPaperie Mini Shopping Cart" width="300" height="275" class="right" /></a></p>
<p>This year, I think I&#8217;m even going to have time to venture out to <a href="http://cfunited.com/2009/" target="_blank">CF United</a> in Leesburg, VA, so I might see you there. If you&#8217;re from the area, give me a holler if you&#8217;re going and make sure to download the Bump app for the iPhone, this is extra cool and lazy <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/iZudLSKaBgM&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/iZudLSKaBgM&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<p>These are a handful of the reasons I&#8217;ve been missing my blog duties, but I&#8217;m going to make a concerted effort to get back into it&#8230;even if it has to be late night ramblings <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe' rel='tag' target='_self'>adobe</a>, <a class='technorati-link' href='http://technorati.com/tag/enonomy' rel='tag' target='_self'>enonomy</a>, <a class='technorati-link' href='http://technorati.com/tag/flex' rel='tag' target='_self'>flex</a>, <a class='technorati-link' href='http://technorati.com/tag/Mezzy+Shredder' rel='tag' target='_self'>Mezzy Shredder</a>, <a class='technorati-link' href='http://technorati.com/tag/ria' rel='tag' target='_self'>ria</a>, <a class='technorati-link' href='http://technorati.com/tag/wicked+society' rel='tag' target='_self'>wicked society</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2009/05/02/what-economic-crisis-surely-not-for-ria-developers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Buy American&#8230;but don&#8217;t pay for Attest 1.5 though</title>
		<link>http://www.davidflatley.com/2009/03/05/buy-americanbut-dont-pay-for-attest-15-though/</link>
		<comments>http://www.davidflatley.com/2009/03/05/buy-americanbut-dont-pay-for-attest-15-though/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 04:11:05 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Actual RIA info]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Coolness]]></category>
		<category><![CDATA[Intense Nonsense]]></category>
		<category><![CDATA[Nonsense]]></category>
		<category><![CDATA[PXL Info]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[attest 1.5]]></category>
		<category><![CDATA[flex 3/air cert]]></category>
		<category><![CDATA[flex certification]]></category>
		<category><![CDATA[study material]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=93</guid>
		<description><![CDATA[If you want the Flex 3/AIR certification, you want to study with Attest 1.5]]></description>
			<content:encoded><![CDATA[<p>Ok that&#8217;s an excuse, but a good one! I finally bought myself a Fender FSR Highway One Stratocaster HSS <img size-medium wp-image-94" title="Fender Highway One Strat HSS - wahooo!" src="http://www.davidflatley.com/wp-content/uploads/2009/03/picture-004-225x300.jpg" alt="Fender Highway One Strat HSS - wahooo!" width="225" height="300" class="right" />made in the USA of course <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Needless to say, I got NO work done the rest of the day&#8230;well no RIA work anyway. Man this is one sexy guitar!</p>
<p>Sorry, I had to share my euphoria though. With this thing in the office, I&#8217;ll have a hard time getting any work done. Anyway, I&#8217;ve been working my rump off on a bunch of different things but mostly I&#8217;ve been cranking on Attest 1.5.  It&#8217;s built in Adobe AIR (see <a title="PXL Blog ~ Attest 1.5" href="http://blog.pxldesigns.com/2009/02/update-on-attest-20coolness-on-the-way/" target="_blank">PXL blog</a> for the full scoop). This is current being tweaked and tested, and will be available shortly. The coolest news is that it&#8217;s free for non-commerical use. If you want to get certified in Flex 3/AIR, you&#8217;ll want to download this AIR app when it&#8217;s finally released.  I&#8217;ve taken a way longer time getting it out than I had originally planned on, but with my work load, and being a one man show so far, it&#8217;s been tough.</p>
<p><span id="more-93"></span><br />
I&#8217;ve also been working on my first Ruby on Rails app for a client, amongst heaps of other things, and I have to say I really dig RoR.  Ruby&#8217;s syntax takes some getting used to for me because I&#8217;ve always worked with C-based languages. It reminds me more of Basic, but I like the whole set up and how easy it is to get a database connected site up and running fast. There will definitely be more Rails apps created at PXL in the future. For this release of Attest 1.5 (not calling it 2.0 yet) I wanted to set up the questions and answers with a RESTful webservice built with RoR. But that&#8217;ll probably come in the future (not that it makes a difference for end users) but I&#8217;d like to create it <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  For now though, Attest is done differently than version 1.0.</p>
<p>When I had originally built it, it was done in Adobe Apollo but I couldn&#8217;t monetize the app. Many things happened since the first release, and with the economy sucking turd I don&#8217;t want to charge for regular devs like myself going forward.  So I&#8217;m going to give the full version for nada, unless you happen to be a large telecom who&#8217;s spying on my transmissions as I write this blog post (I&#8217;m looking at you Comcast, and I&#8217;m not laughing) then you&#8217;re going to pay for it! I&#8217;m all for Buy American, and that&#8217;s what ocurred to me after I got the Fender&#8230;it&#8217;s a small thing but I did technically help out the economy and my greedy guitar lust <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  by buying this fine mama jamma! Attest, however, is made in the USA and you, the every day shmoe like myself  will no longer pay for it.</p>
<p>Onward and upwards, if you&#8217;re a developer like me, and you want to add yet another credential to your resume, study with Attest 1.5, take the exam for $150 bucks, and get it behind you. There was a discussion on the <a href="http://www.linkedin.com/groupAnswers?discussionID=1746698&amp;commentID=1993806&amp;viewQuestionAndAnswers=&amp;gid=65596&amp;trk=view_disc" target="_blank">Adobe Flex Developers group</a> on LinkedIn yesterday about just that&#8230;should I bother to get certified in Flex 3 or not?  I&#8217;m pretty biased obviously but I added my two cents regardless.  If you&#8217;re interested in taking the cert exam, if you&#8217;re looking for study material to gauge your readiness, enjoy Attest 1.5.  It&#8217;s another contribution to the community at large and will be available before the end of March. My apologies for being so late on this release.</p>
<p>The plan is to finish up what I have first, then I have some great Flex/AIR developers who have enlisted to help out on some  pre-release testing, and it&#8217;s on track to be released before the end of March.  Until then, relax your mind a bit&#8230;maybe buy yourself the Fender you always wanted, or <a href="http://www.telegraph.co.uk/news/newstopics/howaboutthat/4927224/Pink-dolphin-appears-in-US-lake.html" target="_blank">read the news</a><br />
<img alt="" src="http://www.telegraph.co.uk/telegraph/multimedia/archive/01358/pink_dolphin_1358282c.jpg" title="Pink Dolphin" class="alignright" width="460" height="288" /></p>
<p>and wonder if the folks at MXC (Most Extreme Elimination Challenge) <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/SdPWfFsrgf4&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/SdPWfFsrgf4&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<p>had advance knowledge of angry pink dolphins.  And look for Attest 1.5 on the <a href="http://blog.pxldesigns.com" target="_blank">PXL blog</a> in a few short weeks.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe+air' rel='tag' target='_self'>adobe air</a>, <a class='technorati-link' href='http://technorati.com/tag/attest+1.5' rel='tag' target='_self'>attest 1.5</a>, <a class='technorati-link' href='http://technorati.com/tag/flex+3%2Fair+cert' rel='tag' target='_self'>flex 3/air cert</a>, <a class='technorati-link' href='http://technorati.com/tag/flex+certification' rel='tag' target='_self'>flex certification</a>, <a class='technorati-link' href='http://technorati.com/tag/study+material' rel='tag' target='_self'>study material</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2009/03/05/buy-americanbut-dont-pay-for-attest-15-though/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not only were there plans for the Photobucket AS3 lib&#8230;</title>
		<link>http://www.davidflatley.com/2008/06/02/not-only-were-there-plans-for-the-photobucket-as3-lib/</link>
		<comments>http://www.davidflatley.com/2008/06/02/not-only-were-there-plans-for-the-photobucket-as3-lib/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 00:54:55 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Mashups]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[google code]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[photobucket api]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=52</guid>
		<description><![CDATA[They&#8217;re basically done! http://code.google.com/p/photobucketas3lib/ I just got finished working it into MyStylez today for easy drag/drop functionality while building MySpace layouts. The AS3 library itself is extremely well done and easy to use, took me no time at all. Great job Photobucket gang! Going forward, I know which api I&#8217;ll be using for online image [...]]]></description>
			<content:encoded><![CDATA[<p>They&#8217;re basically done! <a href="http://code.google.com/p/photobucketas3lib/">http://code.google.com/p/photobucketas3lib/</a> I just got finished working it into <a href="http://www.mystylez.com" target="_blank">MyStylez</a> today for easy drag/drop functionality while building MySpace layouts. The AS3 library itself is extremely well done and easy to use, took me no time at all. Great job Photobucket gang!</p>
<p>Going forward, I know which api I&#8217;ll be using for online image sharing <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I know some other AS developers, like Quentin, who commented on the last post were searching too and we didn&#8217;t see anything up on Google code yet, so we planned on maybe starting up a project. The guys at Photobucket beat us to it. So that was an easy job for us, can&#8217;t beat that!</p>
<p><span id="more-52"></span></p>
<p>Updating MyStylez with the Photobucket api for drag and drop went well easier than I had planned, that&#8217;s because I thought I&#8217;d be creating a brand new library to work with the api. Ahh a pleasant surprise! Nice work again! </p>
<p>So I guess you can call MyStylez a true mashup now that it uses Photobucket and Flickr. It has nothing to do with the MySpace api because there&#8217;s no fun to be had there. I think the MySpace api is just for apps that run purely on MySpace. Exciting&#8230;ehem.</p>
<p>If you were looking, like Quentin and myself, to mash up AIR with Photobucket, now you have something to do. You&#8217;ll enjoy working with the library. I&#8217;d like to try out a bunch of other methods on the api but that would entail having a creative brain wave on some new AIR app. I&#8217;ll keep you posted <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0059134091956430";
google_ad_slot = "6465988174";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/actionscript' rel='tag' target='_self'>actionscript</a>, <a class='technorati-link' href='http://technorati.com/tag/adobe+air' rel='tag' target='_self'>adobe air</a>, <a class='technorati-link' href='http://technorati.com/tag/flex' rel='tag' target='_self'>flex</a>, <a class='technorati-link' href='http://technorati.com/tag/google+code' rel='tag' target='_self'>google code</a>, <a class='technorati-link' href='http://technorati.com/tag/library' rel='tag' target='_self'>library</a>, <a class='technorati-link' href='http://technorati.com/tag/photobucket+api' rel='tag' target='_self'>photobucket api</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2008/06/02/not-only-were-there-plans-for-the-photobucket-as3-lib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Any plans out there for an AS3 Photobucket library?</title>
		<link>http://www.davidflatley.com/2008/05/01/any-plans-out-there-for-an-as3-photobucket-library/</link>
		<comments>http://www.davidflatley.com/2008/05/01/any-plans-out-there-for-an-as3-photobucket-library/#comments</comments>
		<pubDate>Thu, 01 May 2008 05:47:47 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[flickr api]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[photobucket]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=50</guid>
		<description><![CDATA[I&#8217;ve been working with the AS3 Flickr library trying to make MyStylez cooler with some Flickr + AIR drag and drop goodies and was thinking I&#8217;d eventually try to work in the Photobucket API too. I haven&#8217;t seen any ActionScript library projects yet, but then again I&#8217;ve been sitting in the dark for two weeks [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with the <a href="http://code.google.com/p/as3flickrlib/">AS3 Flickr library</a> trying to make <a href="http://www.mystylez.com">MyStylez</a> cooler with some Flickr + AIR drag and drop goodies and was thinking I&#8217;d eventually try to work in the <a href="http://blog.photobucket.com/blog/2008/04/photobucket-api.html">Photobucket API</a> too.</p>
<p>I haven&#8217;t seen any ActionScript library projects yet, but then again I&#8217;ve been sitting in the dark for two weeks writing code and staying away from the sun&#8230;very healthy indeed. You may have noticed I didn&#8217;t exactly go to town on the blogging either, pardon my absense <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  as I&#8217;ve been wholly absorbed with so much code flying through my neurons I feel like my head could split.</p>
<p>Does anyone know of any plans to crank out an AS3 lib for the Photobucket API? If so, I might want to jump on that one.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0059134091956430";
google_ad_slot = "6465988174";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/actionscript' rel='tag' target='_self'>actionscript</a>, <a class='technorati-link' href='http://technorati.com/tag/adobe+air' rel='tag' target='_self'>adobe air</a>, <a class='technorati-link' href='http://technorati.com/tag/flex+3' rel='tag' target='_self'>flex 3</a>, <a class='technorati-link' href='http://technorati.com/tag/flickr+api' rel='tag' target='_self'>flickr api</a>, <a class='technorati-link' href='http://technorati.com/tag/open+source' rel='tag' target='_self'>open source</a>, <a class='technorati-link' href='http://technorati.com/tag/photobucket' rel='tag' target='_self'>photobucket</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2008/05/01/any-plans-out-there-for-an-as3-photobucket-library/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Adobe AIR Beta 3 &#8211; descriptor file porting</title>
		<link>http://www.davidflatley.com/2007/12/13/adobe-air-beta-3-descriptor-file-porting/</link>
		<comments>http://www.davidflatley.com/2007/12/13/adobe-air-beta-3-descriptor-file-porting/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 02:35:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[airspace]]></category>
		<category><![CDATA[beta 2]]></category>
		<category><![CDATA[beta 3]]></category>
		<category><![CDATA[PXL Designs]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=19</guid>
		<description><![CDATA[I ported AirSpace today from AIR Beta 2 to Beta 3 and overall it wasn&#8217;t that bad. Heh! First off, I originally used Rich Tretola&#8217;s UpdateManager class for AirSpace&#8217;s updates before, and it looks like he updated his entry for Beta 3 already. Wish I knew this before I upgraded mine Oh well, it&#8217;s done [...]]]></description>
			<content:encoded><![CDATA[<p><!-- google_ad_section_start -->I ported <a href="http://www.airspaceprofile.com">AirSpace</a> today from AIR Beta 2 to Beta 3 and overall it wasn&#8217;t that bad. Heh! First off, I originally used <a href="http://blog.everythingflex.com/2007/10/01/air-update-manager/">Rich Tretola&#8217;s UpdateManager class </a>for AirSpace&#8217;s updates before, and it looks like he updated his entry for Beta 3 already. Wish I knew this before I upgraded mine <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Oh well, it&#8217;s done now. If you want a cool way to update your apps, that one works like a charm.</p>
<p>Nothing massive changed, its all pretty easy, but rather than chase all the new stuff down, I figured I&#8217;d post in case someone else runs into issues.</p>
<p>The first issue I had, was to remove references to Shell.shell and replace with nativeWindow inside the ActionScript. At least that&#8217;s one thing the new compiler was griping about and is now fixed. Referencing the application descriptor file from within the code had a few minor changes. The first thing I did after installing Beta 3 for AIR and Flex 3, was just create a new AIR project for AirSpace. That way, I had a new descriptor file to play with and seemed easier than chasing down any artifacts in the old one.<!-- google_ad_section_end --></p>
<p><span id="more-19"></span></p>
<p>I had the version number and appID in the OLD descriptor file (Beta 2) right at the root node:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;application appid=<span style="color: #ff0000;">&quot;AirSpace&quot;</span> version=<span style="color: #ff0000;">&quot;1.0.0.5&quot;</span> xmlns=<span style="color: #ff0000;">&quot;http://ns.adobe.com/air/application/1.0.M4&quot;</span><span style="color: #7400FF;">&gt;</span>&lt;/application<span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>In the new descriptor file, it&#8217;s laid out differently. I just put it all in together like so:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;id<span style="color: #7400FF;">&gt;</span></span>com.pxldesigns.airspace <span style="color: #000000;">&lt;/id<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;filename<span style="color: #7400FF;">&gt;</span></span>AirSpace <span style="color: #000000;">&lt;/filename<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;name<span style="color: #7400FF;">&gt;</span></span>AirSpace<span style="color: #000000;">&lt;/name<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;version<span style="color: #7400FF;">&gt;</span></span>1.0.1.5<span style="color: #000000;">&lt;/version<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;description<span style="color: #7400FF;">&gt;</span></span>AirSpace is a MySpace Style Editor created with Adobe AIR <span style="color: #000000;">&lt;/description<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;copyright<span style="color: #7400FF;">&gt;</span></span>PXL Designs, LLC<span style="color: #000000;">&lt;/copyright<span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>Big deal, right? So then I was no longer getting errors when trying to build the release version with my nifty self signed certificate, the one that warns people going to install it that I could have built a horrible nasty app that pops up ads 24-7 and eats up all the ram. Ha, kidding! I wouldn&#8217;t build such a thing&#8230;mental note.</p>
<p>Referencing the new app version from inside the MXML or ActionScript is slightly different, and I use this in a few places for AirSpace. Still no biggy, like I said, it would have saved some time if I remembered to check Rich&#8217;s code first, none the less, I figured it out quick enough.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> appXml:<span style="color: #0066CC;">XML</span> = NativeApplication.<span style="color: #006600;">nativeApplication</span>.<span style="color: #006600;">applicationDescriptor</span>;
<span style="color: #808080; font-style: italic;">// use of name space from the descriptor file</span>
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> ns:Namespace = appXml.<span style="color: #006600;">namespace</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> currentVersion:<span style="color: #0066CC;">String</span> = appXml.<span style="color: #006600;">ns</span>::<span style="color: #0066CC;">version</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">// &lt;version&gt;&lt;/version&gt; in the app descriptor</span></pre></td></tr></table></div>

<p>Next step, Shell.shell.exit(); became nativeWindow.close(); now. The compiler no longer liked references to Shell.shell, so that fixed my problem.</p>
<p>I thought I&#8217;d need to change some File refs because the compiler tossed up errors at first for this line:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> file:File = File.<span style="color: #006600;">applicationDirectory</span>.<span style="color: #006600;">resolvePath</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;index.html&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>but after running &#8220;Project &#8211;&gt; Clean..&#8221; a few times, the compiler stopped griping. Dunno about that one yet, it works fine for me, I haven&#8217;t had time to check if there&#8217;s any massive changes with files and directories yet again, but after cleaning this wasn&#8217;t an issue for me anymore.</p>
<p>The only thing that gave me a headache was resigning my certificate and getting that up and running again. After &#8220;cleaning&#8221; a few zillion times, and creating the new app descriptor file, I created a new certificate by opening a command prompt, changing directories to &#8220;C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\bin&#8221; and running the ole adt command:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">adt -certificate -cn yourCertName <span style="color: #cc66cc;">1024</span>-RSA ..<span style="color: #66cc66;">/</span>newCertName.<span style="color: #006600;">pfx</span> yourCertPassword</pre></td></tr></table></div>

<p>Then packaged everything right in FlexBuilder 3 &#8220;Project &#8211;&gt; Export Release Build&#8221; and browsing for the new cert, and entering the password. Whoopie, done!</p>
<p>The moral of this story? First, always check Rich&#8217;s blog before making a move <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  save yourself the trouble of porting to Beta 3 by just creating a new AIR project (complete with new descriptor file) import your files, update your new desriptor file and pop out your self signed cert to notify the world that you haven&#8217;t yet purchased a Thawte cert like me because I&#8217;m too cheap.</p>
<p></p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/adobe' rel='tag' target='_self'>adobe</a>, <a class='technorati-link' href='http://technorati.com/tag/adobe+air' rel='tag' target='_self'>adobe air</a>, <a class='technorati-link' href='http://technorati.com/tag/airspace' rel='tag' target='_self'>airspace</a>, <a class='technorati-link' href='http://technorati.com/tag/beta+2' rel='tag' target='_self'>beta 2</a>, <a class='technorati-link' href='http://technorati.com/tag/beta+3' rel='tag' target='_self'>beta 3</a>, <a class='technorati-link' href='http://technorati.com/tag/PXL+Designs' rel='tag' target='_self'>PXL Designs</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2007/12/13/adobe-air-beta-3-descriptor-file-porting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Some AirSpace Goodies</title>
		<link>http://www.davidflatley.com/2007/12/06/some-airspace-goodies/</link>
		<comments>http://www.davidflatley.com/2007/12/06/some-airspace-goodies/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 21:19:31 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>

		<guid isPermaLink="false">http://www.davidflatley.com/?p=10</guid>
		<description><![CDATA[Now that I have a little more time once again to continue working on AirSpace I want to tighten up a few things with the app. Since this blog is pretty new and I did promise to write some useful tidbits, it probably wouldn&#8217;t hurt to reiterate exactly what AirSpace is. I had a few [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I have a little more time once again to continue working on <a href="http://www.airspaceprofile.com">AirSpace</a> I want to tighten up a few things with the app. Since this blog is pretty new and I did promise to write some useful tidbits, it probably wouldn&#8217;t hurt to reiterate exactly what AirSpace is. I had a few friends, family members and clients asking if I could help them style their <!-- google_ad_section_start -->MySpace<!-- google_ad_section_end --> profiles&#8230;{shudder}. No&#8230;please no!</p>
<p>Wasn&#8217;t exactly looking forward to that as I never really bothered with MySpace before, but when I had the idea to write an Adobe AIR application with Flex that&#8217;ll let them do the styling themselves I knew I was on to something. So far, there&#8217;s been heaps upon piles of suggestions to improve on AirSpace, many of which are current in the latest version 1.0.0.5. Some cool ideas were pre-made styles, which is going to take a while to create, but there&#8217;s a layout browser built into the app now. You can edit styles, save them to your machine and reopen them for a later date, swap them out on a whim and so on. Currently, there&#8217;s also a &#8220;practice template&#8221;. When you start up AirSpace, you&#8217;ll see a generic MySpace page to the right. You can check out your style edits as you go and apply them to your actual MySpace page when you&#8217;re ready. Here&#8217;s more info on my other <a href="http://www.pxldesigns.com/pxlblog/index.php?itemid=30">blog</a>.</p>
<p>For example, I think the Tables styles are still a bit buggy, this is probably due to overwritting some bit of CSS in the final output. Maybe I can jump back on that today. In the meantime, a few developers were asking for details on how I got certain things working so I figured I&#8217;d share a bit of code (useful once again).</p>
<p><span id="more-10"></span></p>
<p>The overall app has a HDivideBox with an Accordion on the left side that holds all the custom components (basically just forms with inputs and combo boxes), and an HTML control on the right side to show the practice page and later to get you logged into your MySpace account and apply your style edits.</p>
<p>Throughout the app, whenever you make changes to styles, you hit the save button in each view (child of the accordion) and AirSpace is just appending all the values of the input text fields and combo boxes into a big string that&#8217;ll output the CSS later. It doesn&#8217;t do anything with it just yet other than hold that formatted string, and at the same time it&#8217;s building an XML template which is the overall data store for the app. Those same values you entered are being plopped into this XML which becomes an XMLList and ultimately all the views and their children are bound to that same XMLList. That way, any updates to the template and the whole app&#8217;s aware of what&#8217;s going on instantly. I love Flex <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So a few developer friends were asking how I&#8217;m handling updating the binding of data throughout the app. Here&#8217;s the basic set up. The Accordion doesn&#8217;t instantiate it&#8217;s children when the creationComplete fires, unless you change it&#8217;s creation policy to &#8220;all&#8221; like so.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Accordion</span> id=<span style="color: #ff0000;">&quot;leftPane&quot;</span> width=<span style="color: #ff0000;">&quot;40%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span> change=<span style="color: #ff0000;">&quot;handleChange(event)&quot;</span> creationPolicy=<span style="color: #ff0000;">&quot;all&quot;</span><span style="color: #7400FF;">&gt;</span><span style="color: #7400FF;">&lt;/mx:accordion</span><span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>Now the Accordion knows to instantiate all it&#8217;s children right away, that solved that problem. Now I know they&#8217;re all created regardless of whether the user clicked on each view or not.</p>
<p>Provided the user opens AirSpace and does nothing else with it besides hitting the Generate Code button, the app is going to call all those children and demand their two strings created from the components within them. It wants a string formatted for CSS, and it wants my internal use XML string to pass along to the XMLList that everything binds to.</p>
<p>Hitting the Generate Code button will do the following:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> generateCode<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">// clear old code and xml</span>
	myCode = <span style="color: #ff0000;">&quot;&quot;</span>;
	generatedCode.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;&quot;</span>;
	myCodeXMLStr = <span style="color: #ff0000;">&quot;&quot;</span>;
&nbsp;
	<span style="color: #808080; font-style: italic;">// myCodeXML gets written here:</span>
&nbsp;
	myCode = <span style="color: #ff0000;">&quot;&lt;style type=&quot;</span>\<span style="color: #ff0000;">&quot;&gt;&lt;/style&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	myCodeXMLStr = <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	myCodeXMLStr += <span style="color: #ff0000;">&quot;&lt;template&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	myCodeXMLStr += <span style="color: #ff0000;">&quot;&lt;templateinfo&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>backgroundFormComponent <span style="color: #66cc66;">!</span>= <span style="color: #000000; font-weight: bold;">null</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp;; backgroundFormComponent.<span style="color: #006600;">backgroundCode</span> <span style="color: #66cc66;">!</span>= <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		myCode += backgroundFormComponent.<span style="color: #006600;">backgroundCode</span> + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
		myCodeXMLStr += backgroundFormComponent.<span style="color: #006600;">myCodeXMLStr</span> + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>contactTableFormComponent <span style="color: #66cc66;">!</span>= <span style="color: #000000; font-weight: bold;">null</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; contactTableFormComponent.<span style="color: #006600;">contactTableCode</span> <span style="color: #66cc66;">!</span>= <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		myCode += contactTableFormComponent.<span style="color: #006600;">contactTableCode</span> + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
		myCodeXMLStr += contactTableFormComponent.<span style="color: #006600;">myCodeXMLStr</span> + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">// continues on</span></pre></td></tr></table></div>

<p>This is only part of the generateCode() function. It&#8217;s going to clear all the other vars with their strings, run through each child view in the Accordion (we know definitely is instantiated already) and ask for their formatted CSS string to add to myCode for the user&#8217;s final output, and their formatted XML string to add to myCodeXMLStr for later binding.</p>
<p>Once any changes have been made, the myCodeXMLStr, representing the internally used <!-- google_ad_section_start -->XML<!-- google_ad_section_end --> code, is updated, then cast as a bindable XMLList again and a new event is triggered. I extended flash.events.Event to let the rest of the app know it needs to update it&#8217;s views. I could have probably cut out the new event entirely and just had everything directly bind to the XMLList data, but it was the Thanksgiving and I only had so much time <img src='http://www.davidflatley.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  so I can always update it later, but for now it works great. Here&#8217;s the extended Event class that passes along the new XMLList to each view, and from that point, their components update to reflect the changes.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">package events
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> LayoutEvent <span style="color: #0066CC;">extends</span> Event
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> myXMLInfo:<span style="color: #0066CC;">XML</span>;
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> LayoutEvent<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>,myXMLInfo:<span style="color: #0066CC;">XML</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
			<span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">myXMLInfo</span> = myXMLInfo;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #0066CC;">public</span> override <span style="color: #000000; font-weight: bold;">function</span> clone<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:Event<span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">new</span> LayoutEvent<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>,myXMLInfo<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>That&#8217;s basically how I&#8217;m keeping all the data and user edits bound and passing it along to the zillion form controls to accept and display changes to any other part of the app. More improvements to come in the future, but although I won&#8217;t post all the code, I figured this would be useful for the idea behind AirSpace, as people were asking for it.</p>
<p></p>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.davidflatley.com/2007/12/06/some-airspace-goodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
