I have this script which inputs text on the click of a button but when u click it again it doesnt put another text in why not. What do i need to change in my code thankyou:
on (release) {
if (font == “”) {
_root.extras.textpopup._visible = true ;
} else if (font == “Arial”) {
tellTarget ("_root.extras."+[“textmovie”+count]){
gotoAndStop(1);
dtext.text = _global.text;
dtext.border = false;
dtext.background = false;
dtext.backgroundColor = 0xFFFFFF;
dtext.borderColor = 0x000000;
dtext.multiline = false;
dtext.wordWrap = false;
dtext.autoSize = “Left”;
dtext.autoSize = “Right”;
}
} else if (font == “Times”) {
tellTarget ("_root.extras."+[“textmovie”+count]){
gotoAndStop(2);
dtext.text = _global.text;
dtext.border = false;
dtext.background = false;
dtext.backgroundColor = 0xFFFFFF;
dtext.borderColor = 0x000000;
dtext.multiline = false;
dtext.wordWrap = false;
dtext.autoSize = “Left”;
dtext.autoSize = “Right”;
}
} else if (font == “Brush”) {
tellTarget ("_root.extras."+[“textmovie”+count]){
gotoAndStop(3);
dtext.text = _global.text;
dtext.border = false;
dtext.background = false;
dtext.backgroundColor = 0xFFFFFF;
dtext.borderColor = 0x000000;
dtext.multiline = false;
dtext.wordWrap = false;
dtext.autoSize = “Left”;
dtext.autoSize = “Right”;
}
} else if (font == “Comic Sans”) {
tellTarget ("_root.extras."+[“textmovie”+count]){
gotoAndStop(4);
dtext.text = _global.text;
dtext.border = false;
dtext.background = false;
dtext.backgroundColor = 0xFFFFFF;
dtext.borderColor = 0x000000;
dtext.multiline = false;
dtext.wordWrap = false;
dtext.autoSize = “Left”;
dtext.autoSize = “Right”;
}
}
//}
}