hey mikhail, thanks for the direction, it works great. have a nice day :)
--- In flexcoders@yahoogroups.com, "Mikhail Shevchuk" <[EMAIL PROTECTED]> wrote: > > Hello > > Set itemClick listener for your PieChart instance like this > > private function onClick(e:ChartItemEvent):void > { > trace(e.hitData.item.url); // also, check out > e.hitData.chartItem object for details > } > > 2007/11/5, flexawesome <[EMAIL PROTECTED]>: > > > > any suggestions? thanks > > > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > > "flexawesome" <flexawesome@> wrote: > > > > > > Hey there, > > > > > > I am working on pie chart( loads data from xml file), is there a way > > > to click a piece of Pie chart to open a new window? > > > > > > I can show the following data in pie chart by using flex charting > > > components. but I would like to allow user to click any piece to load > > > the site in a new window. > > > > > > Does anybody know how to detect which piece of pie be clicked? if so I > > > can use urlrequest to open the site. > > > > > > Thanks > > > > > > =========== xml file ========= > > > > > > <sites> > > > > > > <site> > > > <name>yahoo.com</name> > > > <data>120</description> > > > <url>www.yahoo.com</url> > > > </site> > > > > > > > > > <site> > > > <name>google.com</name> > > > <data>90</description> > > > <url>www.google.com</url> > > > </site> > > > > > > <site> > > > <name>msn.com</name> > > > <data>150</description> > > > <url>www.msn.com</url> > > > </site> > > > > > > </sites> > > > > > > > > > ============================== > > > > > > > > > > > > > -- > A vivid and creative mind characterizes you. >