halfasleeps
04-24-2008, 03:12 PM
I keep getting this error:
1046: Type was not found or weas not a compile-time contanst: ComboBox.
1172: Definition fl.controls.ComboBox could not be found.
but I am importing the class
here is my class:
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*
import fl.controls.ComboBox;
public class BandInterface extends MovieClip {
private var _preview:RingLoader;
private var _colorBox:ComboBox;
private var _fitBox:ComboBox;
private var _typeBox:ComboBox;
private var _thickBox:ComboBox;
private var _bmpFolder:String;
public function BandInterface (color:String, fit:String, type:String, thicks:Array) {
_bmpFolder = "BandBmps";
_preview = new RingLoader(color, fit, type, "4mm", _bmpFolder);
addChild(_preview);
}
}
}
Any suggestions?
THANKS!
1046: Type was not found or weas not a compile-time contanst: ComboBox.
1172: Definition fl.controls.ComboBox could not be found.
but I am importing the class
here is my class:
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*
import fl.controls.ComboBox;
public class BandInterface extends MovieClip {
private var _preview:RingLoader;
private var _colorBox:ComboBox;
private var _fitBox:ComboBox;
private var _typeBox:ComboBox;
private var _thickBox:ComboBox;
private var _bmpFolder:String;
public function BandInterface (color:String, fit:String, type:String, thicks:Array) {
_bmpFolder = "BandBmps";
_preview = new RingLoader(color, fit, type, "4mm", _bmpFolder);
addChild(_preview);
}
}
}
Any suggestions?
THANKS!