hello
in adobe "tour de flex" i saw some kap lab treemap examples
i would like to use the code snippet
KapTreeMap.dataProvider = DataParser.getInstance().createHierarchy(dataXML,["continent","region"]);
in the example "multimedia renderer" to realize the hierarchy of the treemap
unfortunately i get an error in adobe flex builder, that "DataParser" is an undefined attribute
do i need a special swc file?
thx you so much for your help
best regards
ines
Comments (2)
Mar 08
Fadi Mansour says:
Hello Ines, DataParser is a class that we used in the demo to create a hierarch...Hello Ines,
DataParser is a class that we used in the demo to create a hierarchy from the data source.
The filterPath property available in TreeMap allows you doing the same thing as the DataParser class.
Please refer to the developer guide for more information.
Regards,
Fadi Mansour
Mar 08
Ines Schwaighofer says:
hello fadi, i'm already using filterPath in my project the problem is, when i'...hello fadi,
i'm already using filterPath in my project
the problem is, when i'm using filterPath, i'm not able to get the values of my xml attributes with event.item.attributename anymore (see my last forum topic from 4th of March 2010: get xml attribute values)
is there any possibility to get the values when using filterPath? (for example to show the values in a textfield, when i rollover the treemap)
thank you so much for your help
best regards
ines