Hi all, i've created an empty class that extends the Slider control.
it compiles fine, but when i run it, i get the following error: Error
#1007: Instantiation attempted on a non-constructor.

this is how i'm calling it:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
xmlns:tix="com.tixsmart.flex.controls.*" >
<tix:SeekBar x="91" y="223" width="424" height="11"/> 

here's my code:
package com.tixsmart.flex.controls
{
        import mx.controls.sliderClasses.Slider;

        public class SeekBar extends Slider
        {
                protected var _trackWidth:Number = 1;
                
                public function SeekBar()
                {
                        //TODO: implement function
                        super();
                }
        }
}

Reply via email to