2 Replies Latest reply on Oct 15, 2008 10:39 AM by Haleh2

    Protected function not accessible from subclass!

    Haleh2
      Hi,

      So I extended the Slider component (from HSlider) and am really needing to make a call to Slider's protected function setValueAt. But when I called it from my subclass, the compiler tells me "Attempted access of inaccessible method setValueAt through a reference with static type mx.controls:HSlider". What is going on?? According to livedocs, protected items are accessible to subclasses. And the subclass doesn't have to be in the same class as it's parent to access those methods/properties either. Has anyone run into this issue before or have any workarounds?

      Thanks, Haleh