Possible gotcha with the XML class, but I’d like to get this confirmed if anyone has a second to try this out.

It seems that the XML class is converting " to its literal ASCII representation (i.e. the quote mark ) when converting a String into a new XML object. I’m sending this data over XML-RPC and I cannot have quotes being sent as plain-text, they need to be XML/HTML encoded.

Here’s a quick test that shows it:

var str:String = "<string>Here is some text, with an image...
&lt;img src=&quot;http://www.google.co.uk/intl/en_uk/images/
logo.gif&quot; /&gt;</string>";

var xml:XML = new XML( str );
trace( xml );

At this point I’d be sending the xml object over the wire with HTTPService. The problem is that trace()/Charles/Fiddler etc is showing that the " is being converted to a real quote (literal) and that can cause a problem with the server which wants encoded copy, and being XMLRPC, I cannot use CDATA in this case. This is not the same behaviour as appears in Flash 8, it also appears that it differs when compiling with the Flex SDK and the Flash CS3 IDE in terms of whether it also turns the < and > entities to their literal representations.

Does anyone know a workaround for this? Can it be expected behaviour? I think I’ll have to be sending things as a string internally to avoid the problem for now but it would be good to hear other opinions.

Here’s a fantastic execution of an idea for mobile, using Flash Lite. For those up and coming Asian businessmen without a PA of their own, BreakDesign (makers of Dawn of the Fly) have created a digital PA that has a calendar, finds bars, taxis and other information.

I’m a big fan of giving a consumer something useful and then branding it. As opposed to giving a consumer something that does something associated with the brand (brand self-love I think they call it). In this case they hit the old golden “sweet spot” and did both. Some brands lend themselves to this naturally, such as Nike with Nike+, sometimes its harder to create something of real value.

Check out the video walkthrough of the application. (available for download soon)

We were lucky enough to have Luciana Haill from IVBA (Interactive Brainwave Visual Analyser) come in to work the other day and demonstrate the bluetooth enabled brainwave monitoring hardware and software on offer. To summarise what it is, this device monitors in realtime the frequency and range of brainwaves in the pre-frontal cortex and pumps that data wirelessly to a computer for many uses.

Here’s a video that shows the data it captures being rendered in 3D:

I must admit I was pleasantly suprised. I had no idea of the level of detail this device can get out of three electrodes placed on the forehead. What’s even better is that the device comes in a kit that includes software for Mac that supports general MIDI as well as AppleScripts. The first thing we were shown was a 3D realtime “EEG” showing peaks and troughs in the various bandwidths produced by left and right hemispheres of the brain, alpha, beta, gamma etc. We also saw some demonstrations that used Quartz Composer.

As a side-note, Quartz Composer comes with OS X and enables you to visually construct visualisations, applications and screensavers and forms the basis of several “VJ” apps. It has building blocks for inputs such as the built in mic, light and tilt sensors, RSS, and of course the brainwave kit over bluetooth. Then there are processes to manipulate the data and visuals you chain up, incorporating text, shapes, animation, 3d and special effects, and you can even customise your flow using JavaScript.

We were also informed there is a Macromedia Director Xtra to grab those inputs and I would say it wouldn’t take very long at all to write something to have Flash 9 communicating with it over sockets.

The kit itself is not too expensive at all, £1000 GBP, which puts it in the reach of the home experimenter or artist. It includes the sensors, the bluetooth enabled box that does some of the hard work and the software to make sense of it all.

You could use this for a variety of things, including music, art, therapy and understanding other psychological processes such as what happens to the brain during hypnosis. One such example is Brainball, a game played by two people trying to “clear their minds” in order to force a ball toward the other to score a goal.

Check out the website here.

I’ve had access to Buzzword for a while now, so I think it’s just about time for a review. First of all thanks to the guys at Virtual Ubiquity for the invite and the permission to post this.

Disclaimer: This post speaks only of the preview version of Buzzword, so things may have already been added that might be considered missing at present and it doesn’t reflect the final product.

I think the easiest way to do this is to break things down into some topics to see how it measures up and also what I like about it. But first, a screenshot (click to view fullsize).



So the obvious comparisons are Word/OpenOffice and Google Docs. For most people Word has several thousand features that they don’t use, so it’s not about having to imitate all of Word’s features in order to serve a purpose. Having said that the feature set is ample for a lot of document editing tasks and I didn’t find it lacking, although polishing some existing features would be good here to allow greater control over how the document looks. We are still giving feedback on little things that would make it better, such as H1, H2 buttons and other more semantic additions, but overall the application is solid and doesn’t limit you in what you are trying to document.

Google Docs on the other hand is a lot more basic than Buzzword, however I have still used it a lot in cases where I didn’t care about the look of a document, I just wanted to have it backed up offsite and be able to share it with others for editing. Buzzword has a share option, hopefully in the future that will allow for multiple simultaneous editors as this would make it an easy choice for me to use that instead. One thing Google Docs does have is a suite of tools to open spreadsheets etc. I imagine that might be in Virtual Ubiquity’s plans for the future, but rightly so they’ve targeted the most common “office” task for their immediate plans, and Buzzword does support tables, so presenting data in a tabular structure is still possible if that is what you want to do.


I’ve seen a great many Flex applications that just have me hitting the back button as fast as possible because they are managing to kill my dual-core 2.4ghz. Thankfully Buzzword is fast enough for it not to give you that sluggish feeling. I think that’s more to do with the designers keeping things simple and not using a myriad of controls on screen at all times. I hope they keep on in this way because it makes for a good user experience which is something a lot of online apps seem to have low down in their list of priorities. The document portion of the UI is obviously very custom and as a result it reacts very responsively, I’m guessing they decided not to try and hack and extend existing components, and that really pays off, it will keep up with your typing and selecting as fast as you would normally want to work.


This is probably one area that is low on the list of priorities for now but will come later. I’d like to be able to export to PDF for manual sharing of documents (you can share via email and have them come straight to the app, but I might want to create a version, customise it and send it off as a PDF). Another must have would be Word and ODF import/export. This has been mentioned so I don’t think I need to say any more on the topic.


For me there is one thing that trumps almost all features they could add, and that is to keep it easy to access. It is already easy to use, but what I’m talking about here is how you go about your daily work. If you have to perform several steps to open the application and start a new document you’re onto a loser. You need to make it easy for people to come back and start where they left off. This can be done in many ways, for example the reason I think Facebook is going to overtake MySpace this year is the way it makes you keep coming back by using meaningful and purposeful emails. I’d suggest using OpenID for this reason, Word doesn’t ask me to login after I’ve already logged into my computer once (if at all) so I don’t expect my online document editor to do that either. Perhaps it’s just because I’m someone that regularly clears my cache, but it might be a good option to use Flash cookies to store the username and password, and then using Buzzword would be as simple as hitting a bookmark.

One thing Buzzword does very well in this category is auto-save. Something that in my opinion is even more essential in an application that runs in a browser tab. It’s far too easy to close a browser tab or have something crash the browser elsewhere. In fact this happened to me today. But I restarted Firefox with the “restore session” option and Buzzword had already saved my doc so I lose nothing.

Buzzword is one of those applications that screams to be made into an AIR/Apollo application, so fingers crossed that is taking place. The reason for this is offline document storage. If you can’t access your documents you may as well have not made one. I’m thinking the online version could use Google Gears, the desktop version use AIR/Apollo and have the Buzzword server auto-sync between the two whenever they go online.


I’d recommend you give it a good try as soon as it is available, there really isn’t a learning curve if you are using word processing apps already. I’m looking forward to seeing how Buzzword develops. If they nail those integration tasks then it will definitely become part of my bookmarks toolbar for creating and editing documents for myself or to share with colleagues.

There appears to be a bug with ExternalInterface when your Flash movie is inside a FORM tag, which is what ASP.NET does by default.

You will get a “null has no properties” type error because the JavaScript that ExternalInterface generates at runtime is unable to reference the Flash movie.

It appears to be due to IE not putting the form in the same place as other browsers’ DOMs (specifically the window object).

Either way, the workaround is to take it out of the form, or if not possible you can try several other things such as this SWFObject fix. Worst case scenario is to reference the Flash movie using document.forms[0].moviename.

There are many solutions and some discussion in the livedocs.

I have another ExternalInterface bug listed here in a previous post.

Thanks to Jesse over at ActionScript.org, another review has been posted of our book Foundation Flash for Mobile Devices (Friends of ED). Great review thanks indeed to the author, Nathan Daniel.

Read the review here.

This doesn’t usually happen. The AIR derby is open to people all over the world. So if you are a fellow Brit, or European, have a good look at the prizes.

Just about perfect if you ask me, the perfect developer setup, headed up by the insane 8 Core Mac Pro (you can’t even break these things into a sweat), as well as a $100,000 travel certificate, I could really use that with all the holiday time I’ve accumulated working too hard ;)

Head over to Labs to check out the details.

Science doesn’t progress smoothly, it makes huge ugly leaps and bounds. But recently a couple of articles really sparked my attention.

The first was that they have managed to create a life form artificially. That is, creating life where previously there was none… not just allowing bacteria to enter a given environment as it naturally does. This is a huge step for us all I think; luckily I am not a religious person because I would hate to have to deal with the personal and community-wide ramifications of that “little feat”, it might just open up a lot of questions for someone that may have previously been content in their views. We are already seeing articles with sensational titles such as “Does God have competition?” springing up all over. But this is not a bad thing, the ability to question something you have been told by people you trust is an admirable skill, whether they turn out to be right or wrong. On the negative side, they are trying to patent it which has the potential to raise a bigger moral question on the world stage.

The other particularly interesting article is about a group of Israeli researchers who have actually managed to store data in a live neuron. You might think of that as “creating memories”, however temporary the result is at present, it appears to me as something straight out of “Total Recall” (“We Can Remember It For You Wholesale” – Philip K. Dick).

Actually I’m a big fan of Philip K. Dick (PKD). If you haven’t read anything by him I’d recommend it, he was a fairly prolific sci-fi writer of the last century. Some films that have been made from his novels and short stories include: Blade Runner, Next, Total Recall and A Scanner Darkly (the last only works in print IMHO). PKD was one of the few people that could really reach out well beyond his generation and treat things like the above cutting edge research as common daily occurences in his mind, an incredible skill considering the level of science and computing back in the 50′s and 60′s where some of his best work was done.

I’ve also gotten into writing fiction recently, just as a creative outlet. No doubt it will not see the light of day for quite some time if at all, but it’s a very enjoyable thing to do. I can thoroughly recommend a program for OS X called Scrivener. It has many features for writing short stories or novels, including storyboarding, character database, fullscreen view and easy ways to group copy and annotate it. There’s also a free gold version available for download.

No one can really doubt the success of MTV up until now. People like music videos. But I’m left confused when I look at music videos being sold for download on mobile devices such as phones and iPods, and sold at a premium.

Watching music videos on TV is something I only do if I’m doing something else at the same time and just want some background (I don’t say background “noise” because I think it’s safe enough to say many people now look for background sound and video at the same time, strange as it may sound). As for actually spending money and downloading a music video to my phone or iPod, with those tiny little screens and in the case of mobile phones, horrible sound quality- is surely the worst possible way you could watch a music video?

iPod Video

It makes sense for content providers to pick music videos to test the waters of mobile download services because even though what you are getting might be considered pretty cheap and nasty, you get around that because the band itself adds value to the proposition through association. The content itself is not really all that much better (and often not as practical) as an mp3, after all, pretty much all of these music videos have had the visuals made for the music, not the other way around. This is all subjective of course.

How popular are the sales of these things? Are they just a stop-gap until some (dare I say) “real” content is available. Many products are showing that there is a market for a variety of quality commercial/free content when the downloads are both paid and free (iTunes in the U.S. has movies and TV shows and Joost has free content everywhere, to name two such entities). In particular I’m enjoying the “iTunes U” offerings, which include free university lectures in video format. I’m of the opinion that music videos will see a serious plummet in popularity as these other types of content become more accessible, but as always, I could be proven wrong; but the way things are heading, having to pay to see them will certainly disappear as with almost all downloaded content, with movies being the last to topple. iTunes claimed back in Q3 of 2006 that it had seen 35 million music video downloads… are you one of these people?… did you feel a little bit ripped off or satisfied?

I haven’t even touched on the cross-over areas of content here, namely trailers and user generated content. I think both of these have more merit and monetary value when it comes to paid downloads. Trailers serve the dual purpose of entertaining and also letting you know if you want to spend more money (and more importantly, time) on going to see a movie, and user generated content is often perfectly designed to entertain for those few seconds. They are also pretty well suited to share with others in social situations.

So what’s the deal with download content for mobile devices? Have we just been testing the water and the purse-strings of those early adopters, or is there a future in music video downloads?

Please feel free to leave votes for or against music videos on mobile devices, and any comments you have on the topic.

I use Google Reader along with the Firefox notifier plugin extensively. It’s one of the best RSS aggregators I’ve ever used, not because it is the slickest in terms of the UI, but because it does its job pretty well and fits in nicely with how I browse the web (unobtrusive, integrates well with Firefox and so on).

I clicked on the Firefox notifier for it today and when the page opened I was presented with the soon to be familiar request to use Google Gears for offline storage.

Gears Warning

So far it’s pretty obvious, but I think there’s going to be some new challenges making sure you let users know how they might use offline storage, and why. Google Reader did a good job of this by pointing me at a little green arrow and letting me know I can store my news articles for offline viewing by clicking it.

Gears Warning

Upon clicking this you can see it begins downloading the information and storing it in the SQLite database. The process isn’t as quick as it could be, no doubt because it is using XML, but it’s not too slow on a decent connection.

To try to throw it off I disconnected half-way and was presented with another message.

Gears Warning

I’m not sure how much of this is built in, but I presume this would be another area in which web developers will need to consider user messaging for these extra scenarios; not a problem for most RIA guys who are well used to the asynchroncity afforded by Flash and AJAX (and soon doubly-so through the rise of parallel computing ;)).

All in all, a good experience and it definitely adds value to news aggregation, I’d say mostly beneficial to those who travel a lot. Looking forward to seeing this implemented in Google Maps if at all possible (binhex those images?), the number of times I’d like to cache a few portions of map before beginning my journey is rising.