That doesn't make sense.  

 

When you get a runtime exception always use a debug build and post the
entire stacktrace.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bryancostanich
Sent: Monday, August 18, 2008 2:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Component: Instantiation attempted on a
non-constructor.

 

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
<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