Yes Josh it is protected read-only .... why would the flex developers intentionally cripple the functionality like this? Rhetorical question I guess :-(
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > If it's a protected read-only, you won't be able to expose it without > monkey-patching the original file, as _renderData is almost certainly going > to be private, so you can never set it. > > -Josh > > On Fri, Aug 1, 2008 at 8:37 AM, Amy <[EMAIL PROTECTED]> wrote: > > > --- In flexcoders@yahoogroups.com, "chigwell23" <chigwell23@> > > wrote: > > > > > > Again thanks for all the help so far ... turns out that > > > > > > LineSeries.RenderData is a protected property > > > > > > renderData property > > > renderData:Object [read-only] > > > > > > Stores the information necessary to render this series. > > > > > > Implementation > > > protected function get renderData():Object > > > > > > ... so I presume I have to subclass LineSeries to make it publicly > > > available which gives errors on both attempts: > > > > > > package > > > { > > > import mx.charts.series.LineSeries; > > > > > > public class myLineSeries extends LineSeries > > > { > > > > > > // overriding a function not marked for override > > > // incompatible override > > > public function get renderData():Object{ > > > return super.renderData; > > > } > > > > > > // incompatible override > > > override public function get renderData():Object { > > return > > > super.renderData; } > > > > > > > > > } > > > } > > > > try > > > > override protected function get... > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] >