ArrayCollection column counts

As part of an example of trying to read data from SharePoint and display it in a Flex/Flash application, I needed to see if I could create pie charts from the data.  After figuring out how to get the list data as an xml output, then cleaning up the data to insert it into a ArrayCollection, the next step was to count the number of times a particular value was used in a particular column.  If I was using SQL, it would be  a straight forward grouping and count.  The work around was to filter out the unique values and Continue reading ArrayCollection column counts

Orientation change with MXML

I have been banging my head on the wall trying to figure out how to detect the device orientation on the BlackBerry PlayBook.  I initially tried to use the accelerometer function.  Unfortunately, the listener would continue to activate and determining the exact orientation was a little iffy.  So, a slight move of the device would set off the listener and the redrawing of the screen would keep going until the accelerometer stopped.  This was not a good way to test for orientation, it will be a great way to make a game that required moving the PlayBook around a lot.  Continue reading Orientation change with MXML

mx and qnx happliy playing together

I’m in the processing of updating the Meetup Search application for the BlackBerry PlayBook.  Last night I was busy trying to rearrange the search form options and realized that the mx:UIComponent was not returning width or height back in order to determine where to place the next component.  The qnx library used for the PlayBook require that an application be either completely in AS3 or use the mx:UIComponent to add the qnx fields; button, textinput, toggle switch, etc…   When developing the Meetup Search, I figured that using the mx tags, it would be easier to control the layout and possibly Continue reading mx and qnx happliy playing together

Simple Countdown Timer

After creating the simple Egg Timer application, I made some changes to make it a little more flexible. The original Egg Timer was just a 1 or 2 minute timer that just showed the time elapsing. The new Countdown Timer does the same, but also adds 15 second and 10 second markers to the timer and allows for selection of different time periods. I also made changes to a simple clock counter that I created. The original clock counter would count up from a specific time. I made a change to set it to count down or up. Adding the Continue reading Simple Countdown Timer