lundi 6 juillet 2009

NuggViewer(V2.0) released

NuggViewer(V2.0): Adobe AIR tool made by myself that allows you to view Nugg files



More information on my web site: http://www.pierre-godart.be

mercredi 25 février 2009

SDN NUGG file available !!

The missing file related to the article I wrote on SDN is available on my web site (page download)!!

Own web site is running in beta version...

... and this is the occasion to put the "Nugg viewer (V1.2) " available in the dowload page !!!
So my Web site is locate here: click me to get there!

mercredi 7 janvier 2009

Flex DataGrid cannot handle complex XML

I have an XML like:

...and it seems that you cannot bind the node PhoneNumbers/PhoneNumber in the datagrid using something like:
< mx:datagridcolumn datafield="PhoneNumbers.PhoneNumber.@id"
So, to archieve it, you can use the "labelFunction" to get access to the nested structure...but I prefer to re-build a flat XML from the original one!
So, the solution I found: I use a getter/setter for my bindable XMLListCollection property, and in the setter, I create the "flat copy"
Not clear?

Here is the code:



Last minute: a *VERY* interesting article that explains how to deal with nested XML structures: link.