Variable SampleDataEvent is not defined

Written by Nate on 17.04.2009 | Uncategorized

So a few coworkers of mine ran into a problem on an AIR project we are working on.  Our application involves a lot of music and sound generation which required us to use the new SampleDataEvent class in Flash Player 10.  Anyways, for some reason, 2 of my friends at work would get a random [...]

Flex and Web Analytics — Recording User Interaction

Written by Nate on 26.01.2009 | Flex, Web Analytics

In my Web Analytics class today, we discussed tracking user activity in a Flex application.  My professor who currently works at Entice Labs talked about how he implemented Web Analytics for a Flex landing page.  He recorded any mouse or keyboard events that the user performed while on the page and sent data back to the [...]

Creating a Custom Lifecycle for your Flex Components

Written by Nate on 16.01.2009 | Flex, Uncategorized

Currently, I am working on music rendering in Flex. This is not a trivial task to say the least, considering how screwed up music notation can actually be. Plus, to make things difficult, there are various dependencies with chords and other music notation such as accidentals, beams, ties, slurs, etc. and if you aren’t careful, [...]

My Web Analytics Class Expectations

Written by Nate on 06.01.2009 | Web Analytics

Right now, I am enrolled in a Web Analytics class at BYU.  From a web developer’s standpoint, most of us usually don’t enjoy the marketing side of the web.  Instead, we just prefer to code and leave the “other stuff” to the marketing guys, or analytics just gets ignored completely.  I happen to disagree with [...]

Merapi and AIR in a production environment

Written by Nate on 19.12.2008 | AIR, Java

I have been using Merapi for about six months now and so far I have been very pleased. However, in the project I have been working on there were two issues that we needed to solve that were not really addressed by Merapi or other members of the community.  They were:

Installing Java and AIR with one [...]

AMFDateConverter – Convert PHP AMF to Flex Date Class

Written by Nate on 28.11.2008 | Flex

One of the frustrating things about AMF is that there is no mapping to the Flex Date class from PHP. Unlike converting to an ArrayCollection which utilizes the flex.messaging.io.ArrayCollection class in PHP to automatically map everything for you, there appears to be no support for Date serialization.  So, a few months back, I figured out [...]

Actionscript implementation of Java.util.Map

Written by Nate on 26.11.2008 | Flex

I have recently been working on a project where I have needed to place objects into an associative array and then sort the keys to ensure that all the objects are in the correct order. I accomplished this by using a keys Array where I kept all of my associative array keys and then I [...]

Solving relative DataGrid column width problems with ScalableDataGrid!

Written by Nate on 22.10.2008 | Flex

Well, since I did a post on the Nested DataGrid last week, I figured that it was time to address another frustrating issue with the DataGrid. If you try to set a percentage width on a DataGridColumn, the MXML compiler throws an error because that functionality is not built into the DataGrid or the DataGridColumn.
Like [...]

Nested Data Grid

Written by Nate on 11.10.2008 | Flex

If you have ever used the DataGrid before, you may have found yourself frustrated with DataGridColumn and the fact that dataField does not support nested properties (like dataField=”object.property” or dataField=”objectList[2].property).

Enable Remote Desktop for Vista Home Premium

Written by Nate on 01.10.2008 | Windows Vista

Today I decided to start using Remote Desktop with my new desktop running Vista Home Premium.  Unfortunately, I found out that although the Remote Desktop client is supported on all version of Vista, Remote Desktop hosting is only supported on Ultimate and Business versions of Vista.  Bummer!
Just when I thought I was out of luck, [...]