Flex 2 growing pains

As I continue to poke my way around with Flex2 in the few hours I get a week, once in a while I keep hitting walls that I dont really expect. And with any new technology, my skills with google search yield few results to ease the pain. Take today for example…

So there I was trying to write this real easy app that would take this not too convoluted XML file and render it in a list with the node-names as the entries. Nothing simpler, you say?…not quite. For the longest time after putzing with the HTTPService class, I was still not able to read the stupid document. I looked at some of the examples couldnt quite find out what I was doing wrong…..until 5 minutes ago.

Turns out HTTPService returns the data as an object by default. To get an XML document back make sure you have resultFormat=”xml” in the HTTPService.

Oh, and remember to keep XML.ignoreWhitespace = “true”.

…source code coming soon.

Contextual aggregated pages on Google

This is interesting. After seeing a trailer for the movie “Lady in the Water” I was intrigued enough to do a google search for it. The first result I was taken to was an aggregated page of all online reviews for the movie, its avarage rating and google search pages to top words used in the movie. There was also a textfield on the original result page to search for tickets for the movie by entering my zip code. [link]

I had seen such pages for music artists [link]already on google but this was the first time I saw anything for movies.

Demo login on FlexAmp busted

Just a quick note to all who may want to check FlexAmp out. The demo login is no longer working but if you create your own login on box.net and use that to login, it should be fine. If you still havent played with FlexAmp, you can check it out here.

Photos:

1) Main interface
2) Music visualization via Flex Charting Components
3) Getting deeper into related media
4) Getting more info via Amazon
5) Browsing user’s history.

Disaster Recovery

If you are a pretty extensively used service, few things can be as bad as having your site go down. Of late a lot of the services I use seem to keep having outages and since most of them proudly display the “beta” badge, the worst you can do is frown a bit and carry on. Its nice , however, when on rare occasions people do add some personality to the otherwise annoying “Service Down” or 404 page. When I went to flickr a few moments back, I saw this page taking another jab at Ted Stevans’ remarks on net neutrality (made infamous by John Stewart. ).

Flickr Down

I love sites with personality.