Posts

Showing posts from August, 2008

Using html links in flex with xml data

So I'm not sure why this took me so long to figure out since it's actually quite simple... I have a flex application that is pulling all its data from an xml file. I wanted to add links to certain pieces of text. I finally figured out a way to make it work... if this is the best way or not, I do not know, but it works! (This is why I'm not a programmer... haha). Use a combination of xml file with node wrapped in the ![CDATA[ tag, Text component, and the htmlText property. Example: MXML snip: <mx:HTTPService id="contentService" url="assets/xml/content.xml" resultFormat="e4x" result="contentResultHandler(event)" fault="contentFaultHandler(event)"/ > ActionScript: iText = new Text(); iText.htmlText = xmlListColl.getItemAt(n).writeup; XML snip: <section> <title>my writeup </title > <writeup> <![CDATA[Here is a <font style="color:'#0000FF';"> <a href="'http://ww...

the almighty Google looses a round?

Over the past month or so I have been working with an IA and some developers to create a proof of concept desktop widget. After the IA did some research and we decided on some wireframes, I did the visual and interaction design, sent the developers my mock ups and assets and let them go. The point of the exercise was to mainly get a sales tool, but also to discover the limitations between platforms. The three that have been created so far have been a Google Gadget, a Yahoo Widget, and an Adobe Air application. According to the developer working on the Google Gadget it is a nightmare. It came out looking the least like my mock ups that's for sure. The Yahoo one looks pretty nice, but it doesn't do any of the cool transitions and stuff I asked for. The Air, well, I guess I'm an Adobe lover anyway, but it came out the best by far. I think that maybe what we were trying to create may have been a bit beyond Google and even Yahoo’s capabilities. I wish I could show you, but yeah....