You can use an index expression to get the value of the enum:
enum Foo {
A = "A",
B = "BB"
}
var foo : Foo = Foo["A"];
var fooB : Foo = Foo["B"];
Note that the key will be the name of the member not the value.
You could also use a type assertion, but you will not get errors if you assign a wrong value:
var foo : Foo = "A" as Foo;
var foo : Foo = "D" as Foo; // No error