Inheritance?

Hi,

I’m having trouble referencing a components value.

My main document class creates a slider control. This is fine.

public class PCMAudioLibraryDemo extends Sprite {
public var aSlider:Slider = new Slider();
slider.width = 200;
slider.snapInterval = 10;
slider.tickInterval = 10;
slider.maximum = 100;
slider.value = 100;
slider.move(120, 330);
          
addChild(slider);

Ok so fine I have a slider control.

In this main document class I am creating an instance of another class

var dP:IAudioDataProvider=new SSWPr();//create a data source[\as]

As a quick test, in my new class named "dp" I try to trace the value of the slider I've made but it dosnt know the slider exsists and I get errors.

How can I get the values from the slider into the new class?? Or reference the slider in the new class. This new class cant extend Sprite because it is already extending another class

public class SSW extends AudioDataProvider [\as]

And due to this I cant make the slider in this class because addChild method wont work

Could somebody help me solve this convoluted puzzle?
Thanks
Dub