标签: flex actionscript flex3 hbox alignment
有没有办法从Action Script设置horizontalAlign而不是mxml?
答案 0 :(得分:8)
试试这个:
setStyle("horizontalAlign", "center");