Set the text label of a component dynamic?

Hi all,

Trying to set the text label parameter of a component dynamicly.

Name of my component "btnApply

Tried with this code so far


lang = "EN";

if(_root.lang == "EN") {
btnApply.label = "Submit";
btnApply.label.text = "Submit 2";
}

But this doesn’t work.

Any ideas