drxav
asked on
1046: Type was not found or was not a compile-time constant: AdvComboBox.
I am having a really off day... :(
the error i am getting is: 1046: Type was not found or was not a compile-time constant: AdvComboBox. on the first line of test.fla
cant figure out why something as basic as this is playing up on me... any help?
(both the files are in the same directory)
content of test.fla:
var fontComboBox:AdvComboBox = new AdvComboBox();
addChild(fontComboBox);
content of AdvComboBox.as
package{
import fl.controls.*;
class AdvComboBox extends ComboBox{
}
}
the error i am getting is: 1046: Type was not found or was not a compile-time constant: AdvComboBox. on the first line of test.fla
cant figure out why something as basic as this is playing up on me... any help?
(both the files are in the same directory)
content of test.fla:
var fontComboBox:AdvComboBox = new AdvComboBox();
addChild(fontComboBox);
content of AdvComboBox.as
package{
import fl.controls.*;
class AdvComboBox extends ComboBox{
}
}
ASKER
Nope, not needed cause their in the same folder, tried it anyway tho just incase, didnt work ;)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
import advComboBox;
or something like it as the first line of the .fla?
Regards,
D