[LEFT][COLOR=#333333][FONT=arial]I have a dynamic text “Home_btn” with content “Home”, “Preview_btn” content “Preview” and so on…
I have another dynamic text "title_txt"and i need to get the txt content of the buttons to change the “Title_txt” when the button was clicked.
my code…
function clickBtn(evtObj:MouseEvent) {
title_txt.text=evtObj.target.name;
}
I try too, title_txt.text=Object.target.name; but doesn’t works…
but this, get the target name of event.
Someone can help me?
[/FONT][/COLOR][/LEFT]