Dec 08

I just upgraded my flash builder to 4.6 and I’m trying to learn how to use the new features of this SDK.

devgirl.org has a basic tutorial on using SplitViewNavigator with an ArrayCollection. Unfortunately when I tried to run it , there was a bug. The bug can be fixed with the following change.

In leftView.xml, replace the following:

(this.parentDocument as Sample).rightNav.activeView.data=list.selectedItem;

…with this

var splitNavigator:SplitViewNavigator = navigator.parentNavigator as SplitViewNavigator;

splitNavigator.getViewNavigatorAt(1).activeView.data=list.selectedItem;

Download the corrected code here

SplitViewTest1

 

Sep 25

I got an android phone a few months ago and I’m totally pleased with it. I’ve decided try my hand at a little Java development. I’ve walked through the examples but I’ve found that working through my own projects is the best way for me to really learn a language.

So, I decided to make a scorecard for a board game named Maori.

The object of the game Maori is to get the most points by building islands on your game board. Your game board is a 5 by 5 square mostly filled with empty water spaces. Each turn you get a chance to acquire a single tile that may have a boat, a land mass or nothing on it. Each land mass may have items on it that are worth points when certain criteria are met .

While the game is pretty simple,  and tallying the final points is not hard. I have ‘lost my place’ on the final tally in the past. This mobile app will be a hand tool so can just count it up and forget it.

Before I do any Java coding, I’d like to practice doing something I don’t do enough of at work. Planning the work. I’ll talk more about that next time….

Sep 18

Cleaning up the site again.  :-)