Archive | September, 2008

ActionScript 2 – XML CDATA returns undefined, or htmlText doesn’t work!

The problem:

Your XML file is fine, it validates as XML.  The file encoding and the xml declaration encoding match.  You can parse the XML, but when you try and put html inside a CDATA element, and then populate a dynamic textbox with it, either your formatting doesn’t work (the text still has <b> tags in) or it returns ‘undefined’.

The solution:

This could actually be a twofold problem, and is not helped along by Flash’s quirks.  Its most likely that you’re either;

  • Accessing the XMLNode incorrectly,

Or

  • Being tripped up by the Flash players’ slightly dodgy XML parsing.

Accessing CDATA correctly

Now, the way that you should be accessing Read More…

Google Analytics — Unveiled.

Google have released the google analytics on their google code service – which basically means they’re opening up the API & stuff like that in a similar way to the way google maps works, and allows you to configure and customise it.

http://analytics.blogspot.com/2008/09/decoding-google-analytics.html

I wonder what Nicolas Lierman (the guy who spent months reverse engineering the API to build an AIR Application version of Google Analytics) feels about them just making it open… (Gutted, I bet)

Also: Ever wondered what the difference is between Google Analytics and Urchin software? http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55536

Google Chrome is kinda awesome…

If you’ve been living under a rock for the past week – or maybe just been on holiday – you might not’ve heard about Google’s new web browser called Google Chrome.  Chrome is a direct competitior to other browsers such as Internet Explorer, Firefox or Safari.

Read More…