Syntax Error Expecting Colon After Dot?

Red line error is shown on the dot in between TextFieldType and Dynamic.
Same goes for TextFieldType and Input.

I can’t figure this out… :upset:


        public var test:Object =
        {
            TextFieldType.DYNAMIC: "Dynamiking",
            TextFieldType.INPUT: "Inputing"
        };