(AS2):
I have created an function to quickly change the text inside a textbox, but the results are a bit strange
The textboxes are inside of movieclips, like you can see in the function.
I cant even change the text without the funktion and there is nothing, that could interfere with the menu
Do i have to clear the cache or something?
but the cache of what? web browser or something else?
function:
setMenuText = function(btn1:String, btn2:String, btn3:String, btn4:String){
btn_1.btn_text.text = btn1;
btn_2.btn_text.text = btn2;
btn_3.btn_text.text = btn3;
btn_4.btn_text.text = btn4;
}
call:
setMenuText("Start Game","Coop Game","Options","Website");
result is shown in the attachment.