I guess I have a newbie question, but I couldn’t work it out yet…
package components {
public class templateSelection extends VBox {
static public var tempSelectionBag:Dictionary;
public function templateSelection() {
super();
}
}
}
I want to have a custom class tempSelection with a Dictionary as a public accessable property of that class. If I use this code, the compiler tells me:
1046: Typ wurde nicht gefunden oder
war keine
Kompilierungszeit-Konstante:Dictionary
Which translates to:
Type was not found or was not a compile-time constant:
Dictionary
Any help is appreciated!
Markus
The error message in English:
To fix it, import the
Dictionaryclass into your program: