<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>David Harris&apos;s Technology Blog - Flex</title>
			<link>http://www.harrisfamily.net.nz/devblog/index.cfm</link>
			<description>ColdFusion, Flex and the Universe...</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 06:21:50 -0500</pubDate>
			<lastBuildDate>Tue, 23 Jun 2009 19:32:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>harrisfamily.net.nz@gmail.com</managingEditor>
			<webMaster>harrisfamily.net.nz@gmail.com</webMaster>
			
			<item>
				<title>Adobe Community Road Show Coming to Auckland!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/6/23/Adobe-Community-Road-Show-Coming-to-Auckland</link>
				<description>
				
				This Thursday &lt;a&gt;http://www.cfug.org.nz/&lt;/a&gt; and &lt;a&gt;http://www.fxug.org.nz/&lt;/a&gt; are hosting an Adobe Roadshow event with &lt;a&gt;http://www.markszulc.com/blog/2009/06/22/flash-catalyst-builder-cf-tour-headed-to-auckland-nz/,Mark Szulc&lt;/a&gt;.

Come along to hear more about Flash Builder, Flash Catalyst and CF9!

I will attempt to broadcast the meeting on &lt;a&gt;http://experts.na3.acrobat.com/nzcfug/&lt;/a&gt;, all going well!

Related Links:

&lt;a&gt;http://groups.adobe.com/posts/1b5f77b054&lt;/a&gt;

&lt;a&gt;http://nzroadshow.eventbrite.com/&lt;/a&gt;

&lt;a&gt;http://labs.adobe.com/&lt;/a&gt;

See you there! 
				</description>
				
				<category>FXUG</category>				
				
				<category>Adobe</category>				
				
				<category>CFUG</category>				
				
				<category>ColdFusion</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 23 Jun 2009 19:32:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/6/23/Adobe-Community-Road-Show-Coming-to-Auckland</guid>
				
			</item>
			
			<item>
				<title>AIR Widget: Snow Reports to your desk top!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/6/15/AIR-Widget-Snow-Reports-to-you-desk-top</link>
				<description>
				
				The last while I&apos;ve had the fun of developing an AIR app for one our clients.

A pretty simple little widget to let you know the Snow conditions on the Ski fields in New Zealand.

So, if you wish you where here skiing, download this widget to make you green!

&lt;a&gt;http://www.summitlager.co.nz/widget.html&lt;/a&gt;

I made use of &lt;a&gt;http://code.google.com/p/flexcairngorm/&lt;/a&gt; and a little &lt;a&gt;http://www.degrafa.org/&lt;/a&gt; in there too!

Thanks to the design team for making it look so cool.

Enjoy! 
				</description>
				
				<category>Flex</category>				
				
				<category>AIR</category>				
				
				<pubDate>Mon, 15 Jun 2009 18:59:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/6/15/AIR-Widget-Snow-Reports-to-you-desk-top</guid>
				
			</item>
			
			<item>
				<title>Simple Example of Randomizing the order of an array in ActionScript</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/4/16/Simple-Example-of-Randomizing-the-order-of-an-array-in-ActionScript</link>
				<description>
				
				Just got asked this by a work mate and after asking Mr Google and looking at the Array Documentation came up with this (Flex based) example, so thought I would share :-)

&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;vertical&quot;
&gt;
&lt;mx:Script&gt;
&lt;![CDATA[
private function myExample() : void
{
//can be an array of anything you like, but using letters here

var myArray	: Array	= ( &quot;a,b,c,d,e,f,g,h,j,k,l&quot; ).split(&quot;,&quot;);

//sort the array using my function

myArray.sort( myFunction );

debug.text = myArray.toString() + &quot;\n&quot; + debug.text;
}

//This function takes in 2 args, but we never use them...

private function myFunction( a : Object , b : Object ) : int
{
return ( Math.round( Math.random() * 10 ) - 5);// return a random value above, below or on 0
}
]]&gt;
&lt;/mx:Script&gt;

&lt;mx:Button
label=&quot;Make me Random&quot;
click=&quot;myExample();&quot;
/&gt;

&lt;mx:TextArea
id	= &quot;debug&quot;
height=&quot;100%&quot;
/&gt;

&lt;/mx:Application&gt;
&lt;/code&gt; 
				</description>
				
				<category>Action Script</category>				
				
				<category>Flash</category>				
				
				<category>Flex</category>				
				
				<pubDate>Thu, 16 Apr 2009 15:10:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2009/4/16/Simple-Example-of-Randomizing-the-order-of-an-array-in-ActionScript</guid>
				
			</item>
			
			<item>
				<title>A couple of Flex Podcasts</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/4/21/A-couple-of-Flex-Podcasts</link>
				<description>
				
				Today I listened to the &lt;a&gt;http://www.coldfusionweekly.com/,ColdFusion Weekly&lt;/a&gt; podcast.

The topic was &lt;a&gt;http://www.coldfusionweekly.com/index.cfm?event=showArchive#3-07,Flex Frameworks Roundtable&lt;/a&gt;

Peter and Matt got together the different &quot;voices&quot; of the Flex Frameworks out there and got them talking.

Speaking personally the saying, &quot;If all you have is a hammer, then everything is a nail&quot; rings true for my experience with frameworks.
I tend to find once I get my head-space in a particular framework I find myself approaching all the problems I need to solve within that framework.

In ColdFusion, &quot;Fusebox&quot; was that framework for me for a while, and currently &quot;Cairngorm&quot; is the Flex one.

While it is not a bad thing to actually learn a tool/framework well, it&apos;s great to listen to well respected members of the various framework communities flesh out what problems their favorite framework is trying to solve, and how.

A couple of the things that stuck with me are:

- the less &quot;boiler plate&quot; code you have to write to add functionality to an Application, the better

- MVC is not a framework, but applications should be MVC, no matter what framework/approach you take [that&apos;s a *whole* other blog post I&apos;ve been thinking about for a while now!]


At the end of the day, no matter what framework/style/approach you take, if you are going to create a non-trivial application, there is still a lot of work to do!
Even if you use one of the plethora of code-gen tools out there, you will still have a lot of leg work!

Near the end of the podcast (64mins) there is some great talking about what these guys would like to see in Flex/Framework in the future.

Well done Matt and Peter for setting this up, and thank you!

I also listened to this one, which is great for a more in-depth on Cairngorm:
&lt;a&gt;http://www.theflexshow.com/blog/index.cfm/2008/4/9/The-Flex-Show--Episode-41-Universal-Mind-Cairngorm-Extensions-w-Thomas-Burleson,www.theflexshow.com: Universal-Mind-Cairngorm-Extensions-w-Thomas-Burleson&lt;/a&gt;

Enjoy! 
				</description>
				
				<category>Adobe</category>				
				
				<category>Frameworks</category>				
				
				<category>OpenSource</category>				
				
				<category>General</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 21 Apr 2008 20:25:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/4/21/A-couple-of-Flex-Podcasts</guid>
				
			</item>
			
			<item>
				<title>Simple Effects on a Form - Flex Example - the next version</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/11/Simple-Effects-on-a-Form--Flex-Example--the-next-version</link>
				<description>
				
				In my &lt;a&gt;http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/10/Simple-Effects-on-a-Form--Flex-Example,previous post&lt;/a&gt; I had an example on simple effects in Forms.

As was quickly pointed out in the comments, if you click on the &quot;Toggle Form&quot; button quickly so unexpected behavior happens.

Try it if you like:

&lt;div id=&quot;form2_20080311&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form2_20080311 = new SWFObject(&quot;/devblog/enclosures/formexample/FormLayout_complete.swf&quot;, &quot;form2_20080311&quot;, &quot;375&quot;, &quot;425&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form2_20080311.write(&quot;form2_20080311&quot;);&lt;/script&gt;

The issue seems to be that while the effect is playing, it will finish playing even if the &quot;advanced&quot; value has changed while it is playing.
(make sense?)

So to work round this, I have added a &amp;lt;mx:Move&gt; effect tag of my own and given it an ID.
In the moveEffect attributes of my tags now I have put the ID of my Move effect
Then in the Button tag, on the &quot;click&quot; event, rather than switch the &quot;advanced&quot; value in there, I am now calling a function.

What the function does is check if the effect is playing, and if it is NOT playing, it toggles the &quot;advanced&quot; attribute.

This means that even if the button is clicked rapidly you won&apos;t get the unexpected behaviour that was happening previously.

For a bit of fun, I put the &quot;Bounce.easeOut&quot; function in the &quot;easingFunction&quot; attribute of the move effect.

Have a Look:

&lt;div id=&quot;form3_20080311&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form3_20080311 = new SWFObject(&quot;/devblog/enclosures/formexample/FormLayout_v2.swf&quot;, &quot;form3_20080311&quot;, &quot;375&quot;, &quot;425&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form3_20080311.write(&quot;form3_20080311&quot;);&lt;/script&gt; 
				</description>
				
				<category>Flex</category>				
				
				<pubDate>Tue, 11 Mar 2008 20:12:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/11/Simple-Effects-on-a-Form--Flex-Example--the-next-version</guid>
				
			</item>
			
			<item>
				<title>Simple Effects on a Form - Flex Example</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/10/Simple-Effects-on-a-Form--Flex-Example</link>
				<description>
				
				Lately I have been working on a Flex application and I have been enjoying the ease that the Flex framework allows a developer like me to add some nice looking effects very simply.

In my example I have a form, and this form has a Advanced mode which, when selected, will display extra fields for the user to fill in.

As you can see in the first application below, when you click the &quot;Toggle Form&quot; button the extra fields are shown or hidden.

&lt;div id=&quot;form1_20080310&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form1_20080310 = new SWFObject(&quot;/devblog/enclosures/formexample/FormLayout.swf&quot;, &quot;form1_20080310&quot;, &quot;375&quot;, &quot;425&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form1_20080310.write(&quot;form1_20080310&quot;);&lt;/script&gt;

The way I have done this is to create a private bindable variable called &quot;advanced&quot; which the extra fields bind too. When you click the &quot;Toggle&quot; button this value is changed from true to false or vice-a-versa as required.

The attributes of the form items that bind to that value are &quot;visible&quot;, which controls if you can see the form field or not, and &quot;includeInLayout&quot; which lets Flex know if this field should be taken in to account when laying and rendering out the form.

By setting both of these to &quot;false&quot; the form field is hidden and the layout of the form changes.

Now, one thing about this is that the user gets know idea of the context of the fields.

EG: you start with &quot;First Name&quot;, &quot;Email&quot; and &quot;Password&quot;, and when you toggle to the advanced form, the &quot;Last Name&quot; field appears between the &quot;First Name&quot; and &quot;Email&quot; fields, and the 3 &quot;Address&quot; fields appear between the &quot;Email&quot; and &quot;Password&quot; Field.

So do give a feeling for the context I am going to add a &quot;moveEffect&quot; and a &quot;showEffect&quot; to each of the fields.

The Flex frame works ships with a library of these effects which are available to us. (See the docs for more info)
We can build our own effects sequences, but that is another example entirely!

In to the &quot;moveEffect&quot; I am going to put the &quot;Move&quot; effect.

The &quot;moveEffect&quot; kicks in then the &quot;x&quot; or &quot;y&quot; positional properties are changed, and &quot;Move&quot; will move the UI component to that position, rather than just jump it there (as it does in my first example)

The &quot;showEffect&quot; happens when the &quot;visible&quot; property of a UI component goes from &quot;false&quot; to &quot;true&quot;. I put &quot;Fade&quot; here so the UI component will fade in to view.

The application below is the finished result.

&lt;div id=&quot;form2_20080310&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form2_20080310 = new SWFObject(&quot;/devblog/enclosures/formexample/FormLayout_complete.swf&quot;, &quot;form2_20080310&quot;, &quot;375&quot;, &quot;425&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form2_20080310.write(&quot;form2_20080310&quot;);&lt;/script&gt;

NB: You can right click on the applciations to View and download the source. Enjoy! :-) 
				</description>
				
				<category>Adobe</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 10 Mar 2008 20:37:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/10/Simple-Effects-on-a-Form--Flex-Example</guid>
				
			</item>
			
			<item>
				<title>RIA conference In Queenstown, New Zealand - Web on the Piste - take2</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/1/RIA-conference-In-Queenstown-New-Zealand--Web-on-the-Piste--take2</link>
				<description>
				
				&lt;a&gt;http://www.shadocms.com,Straker&lt;/a&gt; have just announced that &lt;a&gt;http://www.webonthepiste.com,Web on the&lt;/a&gt; &lt;a&gt;http://en.wikipedia.org/wiki/Piste,Piste&lt;/a&gt; is happening again.

The conference is a deliberately smaller conference of only the low hundreds of attendees available.
This means you get get access to the speakers to talk to between sessions etc.

The years theme is &quot;Usability and Rich Internet Technologies&quot; and one of the speakers that has been secured at this stage is &lt;a&gt;http://www.rhjr.net/,Robert Hoekman Jr&lt;/a&gt;, author of the best selling book &quot;&lt;a&gt;http://www.rhjr.net/dto,Designing&lt;/a&gt; the &lt;a&gt;http://www.amazon.com/gp/product/032145345X/sr=8-1/qid=1152842482/ref=pd_bbs_1/104-1533809-8419167?ie=UTF8,Obvious&lt;/a&gt;&quot; with more speakers to come.

So it could be good.

Last year I organized &lt;strong&gt;User Groups on the Piste&lt;/strong&gt; which was a chance to get the Adobe Development community together to hang out and talk geek.
If you are coming this year, keep an ear out for this event, as I am hoping to organize (or help organize) something similar again.

New Zealand has 2 official Adobe User groups:

- &lt;a&gt;http://www.cfug.org.nz&lt;/a&gt;

- &lt;a&gt;http://www.fxug.org.nz&lt;/a&gt;

so WOTP is a good chance to get us all together in one place!

&lt;hr width = &quot;80%&quot; /&gt;
Disclaimer: at this stage I am currently employed by Straker, but only for one more week! ;-) 
				</description>
				
				<category>FXUG</category>				
				
				<category>Adobe</category>				
				
				<category>CFUG</category>				
				
				<category>General</category>				
				
				<category>Flex</category>				
				
				<pubDate>Sat, 01 Mar 2008 06:09:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/3/1/RIA-conference-In-Queenstown-New-Zealand--Web-on-the-Piste--take2</guid>
				
			</item>
			
			<item>
				<title>RSVPs open for Special New Zealand Flex User Group Meeting!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/2/13/RSVPs-open-for-Special-New-Zealand-Flex-User-Group-Meeting</link>
				<description>
				
				Just a follow up on a previous entry to let all interested know that the RSVP for Wellington and Auckland are open for the special FXUG meeting at the end of the month!

&lt;a&gt;http://nzfug.eventbrite.com&lt;/a&gt;

See you there! 
				</description>
				
				<category>FXUG</category>				
				
				<category>Adobe</category>				
				
				<category>CFUG</category>				
				
				<category>Flex</category>				
				
				<category>AIR</category>				
				
				<pubDate>Wed, 13 Feb 2008 05:17:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/2/13/RSVPs-open-for-Special-New-Zealand-Flex-User-Group-Meeting</guid>
				
			</item>
			
			<item>
				<title>New Zealand has an Adobe Ambassador!!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/2/4/New-Zealand-has-an-Adobe-Ambassador</link>
				<description>
				
				Just reading over my blog feeds this morning and I noticed &lt;a&gt;http://blog.xsive.co.nz/,Campbell Anderson&lt;/a&gt; has become an &lt;a&gt;http://blog.xsive.co.nz/archives/261,Adobe Ambassador&lt;/a&gt;!

Congratulations Campbell.

I have been on the receiving end of his help, and think Adobe (via &lt;a&gt;http://www.flexdaddy.info,Andrew Spaulding&lt;/a&gt;) have made a good choice in asking Campbell for this role.

Campbell&apos;s knowledge in Flex and willingness to share that knowledge has helped me out a few times my Flex forays.

So go along to &lt;a&gt;http://www.fxug.org.nz,NZ Flex User Group&lt;/a&gt; and congratulate the man in person!

[Edit] Does anyone know if there are other &quot;Adobe Ambassadors&quot; in New Zealand? Campbell is the first one I am aware of... 
				</description>
				
				<category>FXUG</category>				
				
				<category>Adobe</category>				
				
				<category>General</category>				
				
				<category>Flex</category>				
				
				<category>AIR</category>				
				
				<pubDate>Mon, 04 Feb 2008 05:32:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/2/4/New-Zealand-has-an-Adobe-Ambassador</guid>
				
			</item>
			
			<item>
				<title>NZ Flex User Group Meeting you won&apos;t want to miss!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/19/NZ-Flex-User-Group-Meeting-you-wont-want-to-miss</link>
				<description>
				
				At the end of February, the &lt;a&gt;http://www.fxug.org.nz,New Zealand Flex User Group&lt;/a&gt;, in association with the &lt;a&gt;http://www.cfug.org.nz,New Zealand ColdFusion User Group&lt;/a&gt; are having a special event!

Seats will be limited, so be ready to RSVP ASAP when you can!
The RSVP site will be announced soon! (promise) See &lt;a&gt;http://www.fxug.org.nz&lt;/a&gt; and &lt;a&gt;http://www.cfug.org.nz/fxug&lt;/a&gt; for more details!
I&apos;d suggest signing up on the Flex User Group&apos;s &lt;a&gt;http://groups.google.com/group/nzfxug,mailing list&lt;/a&gt; too! 
				</description>
				
				<category>FXUG</category>				
				
				<category>CFUG</category>				
				
				<category>Flex</category>				
				
				<category>AIR</category>				
				
				<pubDate>Sat, 19 Jan 2008 12:11:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/19/NZ-Flex-User-Group-Meeting-you-wont-want-to-miss</guid>
				
			</item>
			
			<item>
				<title>Flex takes on &quot;Second Life&quot; in the form of &quot;Small Worlds&quot;</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/19/Flex-takes-on-Second-Life-in-the-form-of-Small-Worlds</link>
				<description>
				
				The team at &lt;a&gt;http://www.getoutsmart.com/,OutSmart&lt;/a&gt; have resurfaced from 12 months of  self declared &quot;Stealth Mode&quot; according to this Blog: &lt;a&gt;http://blog.getoutsmart.com/archives/2008/01/09/nz-entrepreneurs-going-to-town-on-web/,nz-entrepreneurs-going-to-town-on-web&lt;/a&gt;


The result of this time is &quot;&lt;a&gt;http://www.smallworlds.com/beta/,Small Worlds&lt;/a&gt;&quot; which is an online world, powered by &lt;a&gt;http://www.adobe.com/products/flex/,Flex&lt;/a&gt;, produced by &lt;a&gt;http://www.getoutsmart.com/,OutSmart&lt;/a&gt;.


&quot;Small Worlds&quot; is 100% web based, and runs within the browser.


&lt;a&gt;http://blog.xsive.co.nz/,Campbell&lt;/a&gt; destroyed my evening last night by sending me an invite to Small Worlds.


The &quot;Small Worlds&quot; Game/application looks very sharp and the highlight was beating Nathan at a game of pool. I have never met Nathan in the real world, but I was informed he was one of the developers that worked on the pool game!


May last year they showed off early stages at the &lt;a&gt;http://www.fxug.org.nz,New Zealand Flex User Group&lt;/a&gt;, and then provided an open demo. See &lt;a&gt;http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/2/Outsmarts-3D-demo-for-all-to-see,this&lt;/a&gt; entry.


The related links below have links to other announcements and photos.


My email address is on the right, so feel free to email me if you want an invite!


&lt;strong&gt;Congratulations&lt;/strong&gt; and &lt;strong&gt;Well Done&lt;/strong&gt; to the team at OutSmart! We all look forward to seeing your &quot;Small Worlds&quot; grow!


Related Links:

&lt;a&gt;http://blog.digitalbackcountry.com/?p=1238&lt;/a&gt;&lt;br/&gt;
&lt;a&gt;http://blog.xsive.co.nz/archives/260&lt;/a&gt;&lt;br/&gt;
&lt;a&gt;http://www.flickr.com/photos/xsive&lt;/a&gt;&lt;br/&gt;
&lt;a&gt;http://blogs.zdnet.com/Stewart/?p=713&lt;/a&gt;&lt;br/&gt;


&lt;small&gt;Must.not.sign.in.to.Small.Worlds!&lt;/small&gt; 
				</description>
				
				<category>FXUG</category>				
				
				<category>Flex</category>				
				
				<pubDate>Sat, 19 Jan 2008 12:01:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/19/Flex-takes-on-Second-Life-in-the-form-of-Small-Worlds</guid>
				
			</item>
			
			<item>
				<title>Train + Flex2 + PaperVision =</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/16/Train--Flex2--PaperVision-</link>
				<description>
				
				It&apos;s been a while since I have looked at &lt;a&gt;http://blog.papervision3d.org/,PaperVision3D&lt;/a&gt;, so I have been using the train trip home to refresh and learn more.

In my &lt;a&gt;http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/8/PaperVision3D-is-good-for-cubes--a-geek-gift,Geek Gift&lt;/a&gt; entry I wanted to have it so that it was possible to click on a single Cube and spin that one, and not the whole lot.
Due to my approach and &quot;newbe&quot; to PV3D I never worked out how to do this.

In the new PV3D there have been lots of improvements to help people like me do stuff like that.

To show this I have added a hover event to each cube, and when your mouse hovers over a cube, that cube will spin.

If you click on a cube, filter effects are changed a bit, but that happens to all of the cubes

Hope you like it!

&lt;div id=&quot;form_20080116&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form_20080116 = new SWFObject(&quot;/devblog/examples/CubesCubesCubes_20080116.swf&quot;, &quot;viewer&quot;, &quot;350&quot;, &quot;350&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form_20080116.write(&quot;form_20080116&quot;);&lt;/script&gt; 
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 16 Jan 2008 17:56:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/16/Train--Flex2--PaperVision-</guid>
				
			</item>
			
			<item>
				<title>Binding of properties between sub components</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/12/15/Binding-of-properties-between-sub-components</link>
				<description>
				
				On the NZ Flex UG list, (another) David posted &lt;a&gt;http://groups.google.com/group/nzfxug/browse_thread/thread/70434dd8c0099af3,this question&lt;/a&gt;.

In the process of testing what he outlined, I created a simple example, which I have posted here.

The point of this example is to show how you can declare &quot;public&quot; variables in a component, and then access those variables as properties form the component that uses it...

The example consists of 2 files:

FormExample.mxml (Application File)

Code:

&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; &gt;
	
	&lt;mx:Panel&gt;
		&lt;!-- call in the MyForm component --&gt;
		&lt;local:MyForm
			id=&quot;myForm&quot;
			title=&quot;My Form&quot;
			xmlns:local=&quot;*&quot;
		/&gt;
		
		&lt;!-- 
			a button with the &quot;enabled&quot; property bound to the &quot;formValid&quot; property of the myForm component above
		--&gt;
		&lt;mx:Button 
			id=&quot;myButton&quot; 
			label=&quot;My Button: enabled is &apos;{myButton.enabled.toString()}&apos;&quot; 
			enabled=&quot;{myForm.formValid}&quot; 
		/&gt;
		
	&lt;/mx:Panel&gt;
	
&lt;/mx:Application&gt;
&lt;/code&gt;

MyForm.mxml (in the root folder of the project)

Code:

&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Panel xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;vertical&quot;&gt;

	&lt;mx:Script&gt;
		&lt;![CDATA[
			/*
				Create property and expose it by declaring it as &quot;public&quot;, 
				and let the compiler know to make if bindable using the [Bindable] meta tag
			*/
			[Bindable] public var formValid:Boolean = false;
		]]&gt;
	&lt;/mx:Script&gt;
	&lt;!-- Something to let us know if the &apos;form&apos; is currently Valid or Invalid --&gt;
	&lt;mx:Text text=&quot;Form is Currently {formValid == true ? &apos;Valid&apos; : &apos;Invalid&apos;}&quot; /&gt;
	
	&lt;!-- simple button to toggle the formValid status --&gt;
	&lt;mx:Button label=&quot;Toggle Form Valid&quot; click=&quot;formValid = !formValid;&quot; /&gt;

&lt;/mx:Panel&gt;
&lt;/code&gt;

Result:

&lt;div id=&quot;form_20071215&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form_20071215 = new SWFObject(&quot;/devblog/examples/FormExample.swf&quot;, &quot;viewer&quot;, &quot;220&quot;, &quot;170&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form_20071215.write(&quot;form_20071215&quot;);&lt;/script&gt;

Feel free to ask questions!

&lt;small&gt;PS: There can NEVER be enough Davids!&lt;/small&gt; 
				</description>
				
				<category>FXUG</category>				
				
				<category>Flex</category>				
				
				<pubDate>Sat, 15 Dec 2007 09:34:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/12/15/Binding-of-properties-between-sub-components</guid>
				
			</item>
			
			<item>
				<title>FlexBuilder2 + MacBook + Train ride equals...</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/11/19/FlexBuilder2--MacBook--Train-ride-equals</link>
				<description>
				
				On the ride home on the train tonight, while talking to a fellow commuter about the internet and life in general I was having a quick play with the drawing API to get used to the Mac and the differences on it VS XP.

This is what I came up with:

Click and Drag and see what happens...
&lt;div id=&quot;drawme_071120&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_071120 = new SWFObject(&quot;/devblog/examples/DrawMe.swf&quot;, &quot;viewer2&quot;, &quot;600&quot;, &quot;600&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_071120.write(&quot;drawme_071120&quot;);&lt;/script&gt; 
				</description>
				
				<category>Mac</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 19 Nov 2007 18:16:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/11/19/FlexBuilder2--MacBook--Train-ride-equals</guid>
				
			</item>
			
			<item>
				<title>Learn Flex and Air and win stuff!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/10/6/Learn-Flex-and-Air-and-win-stuff</link>
				<description>
				
				The &lt;a&gt;http://www.fxug.org.nz,New Zealand Flex User Group&lt;/a&gt; has announced a beginners competition to create an Air application using Flex!

If you have been wanting to find the time and motivation to learn &lt;a&gt;http://labs.adobe.com/technologies/air/,Air&lt;/a&gt; and &lt;a&gt;http://www.adobe.com/products/flex/,Flex&lt;/a&gt;, they are providing the motivation, so all you need is the time!

See &lt;a&gt;http://groups.google.com/group/nzfxug/web/1st-new-zealand-flex-user-group-flex-air-development-competition,here&lt;/a&gt; for all the details.

[Update] You need to live in New Zealand to enter too! 
				</description>
				
				<category>FXUG</category>				
				
				<category>Flex</category>				
				
				<category>AIR</category>				
				
				<pubDate>Sat, 06 Oct 2007 14:42:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/10/6/Learn-Flex-and-Air-and-win-stuff</guid>
				
			</item>
			</channel></rss>