使用函数更改状态 - Flex

Ada*_*dam 2 apache-flex

我只是想知道是否可以通过flex中的函数来改变状态?

我该怎么做呢?

谢谢!

Tan*_*may 5

如果它在同一个组件中,this.currentState ='NewState'怎么样?